Skip to content

Commit

Permalink
chore: adding mocha configuration file
Browse files Browse the repository at this point in the history
chore: adding missing require statement in test file
chore: renaming test files to include the .spec ext
chore: adding c8 to dev dependancies
chore: refactoring scripts section in package.json
  • Loading branch information
mcknasty committed Jan 16, 2024
1 parent bf3073b commit 78dce76
Show file tree
Hide file tree
Showing 7 changed files with 81 additions and 3,384 deletions.
16 changes: 16 additions & 0 deletions .mocharc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
process.env.TS_NODE_SKIP_PROJECT = true

const config = {
"diff": true,
"extension": ["*"],
"package": "./package.json",
"reporter": "spec",
"slow": 1000,
"timeout": 10000,
"ui": "bdd",
"watch-files": ["./test/*.spec.js"],
"node-option": ["max-old-space-size=5120"],
"jobs": 30
}

module.exports = config
Loading

0 comments on commit 78dce76

Please sign in to comment.