Introduce basic js unit tests

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2020-12-02 11:19:39 +01:00
parent 88cba1629d
commit 2f25fa0ca6
23 changed files with 2345 additions and 185 deletions

View File

@@ -0,0 +1,15 @@
module.exports = {
env: {
mocha: true,
},
globals: {
expect: true,
sinon: true,
},
rules: {
"import/no-extraneous-dependencies": [
"error",
{ devDependencies: ["**/*.test.js", "**/*.spec.js"] },
],
},
};