mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-05-16 06:49:09 +02:00
add tests
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha --reporter spec",
|
||||
"coverage": "c8 --all --reporter=text --reporter=html --include='src/core/**/*.ts' --include='src/server/routes/**/*.ts' --include='src/config.ts' --exclude='src/**/*.d.ts' --exclude='src/core/model/**' npm test",
|
||||
"coverage:lcov": "c8 --all --reporter=lcov --include='src/core/**/*.ts' --include='src/server/routes/**/*.ts' --include='src/config.ts' --exclude='src/**/*.d.ts' --exclude='src/core/model/**' npm test",
|
||||
"lint": "eslint .",
|
||||
"start": "node --inspect=5858 -r ts-node/register ./src/server/index.ts",
|
||||
"dev": "nodemon --transpile-only ./src/server/index.ts",
|
||||
@@ -85,6 +87,7 @@
|
||||
"@types/passport-github2": "^1.2.9",
|
||||
"@types/sanitize-html": "^2.16.1",
|
||||
"@types/unzip-stream": "^0.3.4",
|
||||
"c8": "^10.1.3",
|
||||
"chai": "^4.5.0",
|
||||
"eslint": "^10.2.0",
|
||||
"gulp": "^5.0.0",
|
||||
|
||||
Reference in New Issue
Block a user