mirror of
https://github.com/nioc/xmpp-bot.git
synced 2024-12-04 22:23:36 +01:00
Add test coverage
This commit is contained in:
parent
34fc742abb
commit
100d6bf643
3 changed files with 866 additions and 2 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,3 +1,5 @@
|
||||||
/node_modules/
|
/node_modules/
|
||||||
/config.json
|
/config.json
|
||||||
/*.log
|
/*.log
|
||||||
|
/.nyc_output/
|
||||||
|
/coverage/
|
||||||
|
|
860
package-lock.json
generated
860
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -7,7 +7,8 @@
|
||||||
"dev": "nodemon server.js",
|
"dev": "nodemon server.js",
|
||||||
"start": "NODE_ENV=production node server.js",
|
"start": "NODE_ENV=production node server.js",
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
"test": "mocha"
|
"test": "mocha",
|
||||||
|
"cover": "nyc --reporter=html --reporter=text mocha"
|
||||||
},
|
},
|
||||||
"author": "nioc <dev@nioc.eu>",
|
"author": "nioc <dev@nioc.eu>",
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
|
@ -36,6 +37,7 @@
|
||||||
"eslint-plugin-promise": "^4.2.1",
|
"eslint-plugin-promise": "^4.2.1",
|
||||||
"eslint-plugin-standard": "^4.0.1",
|
"eslint-plugin-standard": "^4.0.1",
|
||||||
"mocha": "^6.2.1",
|
"mocha": "^6.2.1",
|
||||||
"nodemon": "^1.19.3"
|
"nodemon": "^1.19.3",
|
||||||
|
"nyc": "^14.1.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue