Skip to content

Commit

Permalink
ASL-4149 - Update Mocha configuration for new version
Browse files Browse the repository at this point in the history
  • Loading branch information
gaz1634 committed Nov 18, 2022
1 parent 1bae069 commit 1172c06
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
extends:
- "homeoffice/config/default"
- lennym

env:
es6: true
Expand Down
7 changes: 7 additions & 0 deletions .mocharc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
forbidOnly: !!process.env.CI,
exit: true,
recursive: true,
timeout: 5000,
require: 'dotenv/config'
};
7 changes: 5 additions & 2 deletions test/.eslintrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
extends:
- '../.eslintrc'
- 'homeoffice/config/testing'
- ../.eslintrc

env:
es6: true
mocha: true

globals:
assert: true

rules:
implicit-dependencies/no-implicit: [2, { dev: true }]
7 changes: 0 additions & 7 deletions test/common.js

This file was deleted.

4 changes: 0 additions & 4 deletions test/mocha.opts

This file was deleted.

0 comments on commit 1172c06

Please sign in to comment.