Skip to content

Commit

Permalink
tests: downgrade chai to v 4
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilan Kushnir committed Nov 24, 2024
1 parent db5aa9a commit 0d68b2f
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 34 deletions.
1 change: 0 additions & 1 deletion .mocharc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ module.exports = {
require: [
'ts-node/register', // required for running tests with TypeScript
],
extension: ['ts'],
recursive: true,
exit: true,
timeout: 2000
Expand Down
89 changes: 60 additions & 29 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"scripts": {
"prepare": "husky install",
"prepack": "rm -rf dist; tsc -p tsconfig.json",
"test": "npx mocha tests/**/*.test.ts tests/unit/**/**/*.test.ts --config .mocharc.js",
"test:coverage": "npx nyc npm run test",
"test": "mocha tests/**/*.test.ts tests/unit/**/**/*.test.ts",
"test:coverage": "nyc npm run test",
"test:coveralls": "npm run test:coverage && cat ./coverage/lcov.info",
"lint": "npx eslint . --ext .ts"
"lint": "eslint . --ext .ts"
},
"repository": {
"type": "git",
Expand All @@ -30,7 +30,7 @@
"@typescript-eslint/eslint-plugin": "^6.7.5",
"@typescript-eslint/parser": "^6.7.5",
"@zxcvbn-ts/core": "^3.0.4",
"chai": "^5.1.2",
"chai": "^4.5.0",
"depcheck": "^1.4.3",
"eslint": "^8.18.0",
"eslint-config-prettier": "^9.0.0",
Expand Down

0 comments on commit 0d68b2f

Please sign in to comment.