Commit 14ef5d96 authored by nanahira's avatar nanahira

jest

parent cc0a1833
Pipeline #9745 passed with stages
in 1 minute and 3 seconds
......@@ -25,5 +25,22 @@
"bugs": {
"url": "https://code.mycard.moe/3rdeye/koishi-plugin-myplugin/issues"
},
"homepage": "https://code.mycard.moe/3rdeye/koishi-plugin-myplugin"
"homepage": "https://code.mycard.moe/3rdeye/koishi-plugin-myplugin",
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "tests",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment