Replaced jasmine dependency with jest

This commit is contained in:
Alexander Cerutti
2023-04-02 18:31:16 +02:00
parent 11cfe99ccc
commit d54c61334f
2 changed files with 5820 additions and 35 deletions

View File

@@ -9,7 +9,7 @@
"build:src": "rimraf lib && npx tsc -p tsconfig.dist.json",
"build:spec": "rimraf \"./spec/*.!(ts)\" && npx tsc -p tsconfig.spec.json",
"prepublishOnly": "npm run build",
"test": "npm run build:spec && npx jasmine"
"test": "NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\" jest -c jest.config.mjs --silent"
},
"author": "Alexander Patrick Cerutti",
"license": "MIT",
@@ -32,10 +32,10 @@
},
"devDependencies": {
"@types/do-not-zip": "^1.0.0",
"@types/jasmine": "^3.10.4",
"@types/node": "^16.11.26",
"@types/node-forge": "^1.0.1",
"jasmine": "^4.0.2",
"jest": "^29.5.0",
"jest-environment-node": "^29.5.0",
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
"typescript": "^4.6.3"