Skip to content

Commit

Permalink
Adding a config file
Browse files Browse the repository at this point in the history
  • Loading branch information
araujoarthur0 committed Feb 6, 2024
1 parent eb13b0c commit c0b66fe
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"start": "electron .",
"test": "npm-run-all test:*",
"test:jest": "jest --runInBand --verbose=false --detectOpenHandles --colors --transformIgnorePatterns 'node_modules/(?!astronomia)/' -- ",
"test:mocha": "c8 -o ./coverage_mocha mocha tests/*",
"test:mocha": "c8 -o ./coverage_mocha \"mocha --config tests/mocha.config.cjs tests/*\"",
"test:electron-mocha-main": "c8 electron-mocha --config __tests__/electron-mocha-main.config.cjs",
"setup:win": "node scripts/create_windows_installer.js"
},
Expand Down
8 changes: 8 additions & 0 deletions tests/mocha.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = {
checkLeaks: true,
color: true,
parallel: true,
require: [
'@babel/register'
]
};

0 comments on commit c0b66fe

Please sign in to comment.