mirror of
https://github.com/privacy-scaling-explorations/zk-kit.git
synced 2026-04-22 03:00:15 -04:00
pretier and lerna build
This commit is contained in:
13
.editorconfig
Normal file
13
.editorconfig
Normal file
@@ -0,0 +1,13 @@
|
||||
#root = true
|
||||
|
||||
[*]
|
||||
indent_style = space
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
max_line_length = 120
|
||||
indent_size = 2
|
||||
|
||||
[*.md]
|
||||
trim_trailing_whitespace = false
|
||||
@@ -7,7 +7,13 @@
|
||||
"doc": "docs"
|
||||
},
|
||||
"scripts": {
|
||||
"install": "npm run bootstrap && npm run build",
|
||||
"bootstrap": "lerna bootstrap --no-ci",
|
||||
"build": "lerna run build",
|
||||
"build:watch": "lerna run --parallel build:watch -- -- --watch",
|
||||
"test": "jest --coverage",
|
||||
"test:watch": "jest --coverage --watch",
|
||||
"test:prod": "npm run lint && npm test",
|
||||
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
|
||||
"lint:fix": "eslint . --ext .js,.jsx,.ts,.tsx --fix"
|
||||
},
|
||||
|
||||
@@ -9,6 +9,8 @@ import { Semaphore } from "../src";
|
||||
const identityCommitments: Array<bigint> = [];
|
||||
|
||||
beforeAll(() => {
|
||||
jest.useFakeTimers('legacy')
|
||||
jest.setTimeout(90 * 1000);
|
||||
const leafIndex = 3;
|
||||
|
||||
for (let i=0; i<leafIndex;i++) {
|
||||
|
||||
Reference in New Issue
Block a user