1
0
Fork 0
mirror of synced 2025-09-24 04:40:05 +00:00

terminate curve after tests

This commit is contained in:
schaeff 2022-06-28 10:39:21 +02:00
parent f0e3f48dc6
commit 30fbb5377c
3 changed files with 5 additions and 2 deletions

View file

@ -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",

View file

@ -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",

View file

@ -20,6 +20,10 @@ describe("tests", () => {
});
});
after(() => {
globalThis.curve_bn128.terminate();
})
describe("compilation", () => {
it("should compile", () => {
assert.doesNotThrow(() => {