Skip to content

Commit

Permalink
Get rid of ts-mocha
Browse files Browse the repository at this point in the history
  • Loading branch information
RoelVB committed Jul 2, 2023
1 parent acaf8ea commit 2f9b14a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 143 deletions.
142 changes: 7 additions & 135 deletions package-lock.json

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

12 changes: 5 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"dev": "webpack --mode \"development\"",
"build": "webpack --mode \"production\"",
"watch": "webpack --mode \"development\" -w",
"test": "ts-mocha",
"test:all": "ts-mocha --includeSites",
"test": "mocha",
"test:all": "mocha --includeSites",
"test:webserver": "ts-node --transpile-only ./test/runWebserver.ts"
},
"dependencies": {
Expand Down Expand Up @@ -43,17 +43,15 @@
"mock-keepasshttp": "github:RoelVB/Mock-KeePassHttp",
"puppeteer": "^19.8.0",
"ts-loader": "^9.4.2",
"ts-mocha": "^10.0.0",
"ts-node": "^10.9.1",
"typescript": "4.9",
"webpack": "^5.15.0",
"webpack-cli": "^4.4.0"
},
"overrides": {
"ts-node": ">=10"
},
"mocha": {
"spec": [
"test/test.ts"
]
],
"require": "ts-node/register"
}
}
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"test"
],
"ts-node": {
"skipIgnore": true
"skipIgnore": true,
"transpileOnly": true
}
}

0 comments on commit 2f9b14a

Please sign in to comment.