terminate curve after tests
This commit is contained in:
parent
f0e3f48dc6
commit
30fbb5377c
3 changed files with 5 additions and 2 deletions
1
zokrates_js/package-lock.json
generated
1
zokrates_js/package-lock.json
generated
|
@ -13,7 +13,6 @@
|
|||
"esm": "^3.2.25",
|
||||
"gulp": "^4.0.2",
|
||||
"gulp-cli": "^2.3.0",
|
||||
"logplease": "^1.2.15",
|
||||
"mocha": "^9.2.0",
|
||||
"rimraf": "^3.0.2",
|
||||
"serve": "^11.3.2",
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
"clean-node-pkg": "rimraf node/pkg/README.md node/pkg/.gitignore",
|
||||
"pretest": "npm run setup && npm run build:node:dev",
|
||||
"test": "npm run run-tests",
|
||||
"run-tests": "mocha --timeout 100000 --require esm --recursive tests --exit"
|
||||
"run-tests": "mocha --timeout 100000 --require esm --recursive tests"
|
||||
},
|
||||
"devDependencies": {
|
||||
"dree": "^2.6.1",
|
||||
|
|
|
@ -20,6 +20,10 @@ describe("tests", () => {
|
|||
});
|
||||
});
|
||||
|
||||
after(() => {
|
||||
globalThis.curve_bn128.terminate();
|
||||
})
|
||||
|
||||
describe("compilation", () => {
|
||||
it("should compile", () => {
|
||||
assert.doesNotThrow(() => {
|
||||
|
|
Loading…
Reference in a new issue