Skip to content

Commit

Permalink
fix mocha test
Browse files Browse the repository at this point in the history
  • Loading branch information
cometkim committed Feb 7, 2023
1 parent c2fa749 commit 075edb7
Show file tree
Hide file tree
Showing 3 changed files with 488 additions and 276 deletions.
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-typescript": "^6.1.0",
"@types/chai": "^4.2.11",
"@types/chai-as-promised": "^7.1.2",
"@types/chai": "^4.3.4",
"@types/chai-as-promised": "^7.1.5",
"@types/lodash": "^4.14.179",
"@types/mocha": "^7.0.2",
"@types/mocha": "^10.0.1",
"@types/node": "^18.13.0",
"@typescript-eslint/eslint-plugin": "^5.43.0",
"@typescript-eslint/parser": "^5.43.0",
Expand All @@ -53,18 +53,19 @@
"eslint-plugin-react": "^7.21.5",
"get-stream": "^5.1.0",
"lodash": "^4.17.21",
"mocha": "^8.0.1",
"mocha": "^10.2.0",
"rollup": "^2.79.0",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-multi-input": "^1.3.3",
"ts-node": "^8.10.2",
"ts-mocha": "^10.0.0",
"ts-node": "^10.9.1",
"tslib": "^2.0.0",
"typescript": "^4.9.5"
},
"scripts": {
"prepack": "rm -rf lib && rollup -c",
"postpack": "rm -rf lib",
"test": "FORCE_COLOR=1 mocha --require ts-node/register --extension ts tests/specs",
"test": "FORCE_COLOR=1 ts-mocha tests/specs/**/*.ts",
"lint": "eslint --max-warnings 0 .",
"demo": "node --require ts-node/register demos/advanced.ts"
},
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"DOM",
"ES2018"
],
"module": "esnext",
"module": "commonjs",
"moduleResolution": "nodenext",
"noEmit": true,
"skipLibCheck": true,
Expand Down
Loading

0 comments on commit 075edb7

Please sign in to comment.