Skip to content

Commit

Permalink
Upgrade mocha ^3.2.0 -> ^10.0.0 (#492)
Browse files Browse the repository at this point in the history
  • Loading branch information
andygout authored Sep 28, 2022
1 parent 5b09fad commit 1910150
Show file tree
Hide file tree
Showing 3 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 @@ -51,7 +51,7 @@
"eslint": "^7.5.0",
"eslint-plugin-no-only-tests": "^2.4.0",
"lintspaces-cli": "^0.6.0",
"mocha": "^3.2.0",
"mocha": "^10.0.0",
"node-fetch": "^2.6.0",
"node-mocks-http": "^1.6.6",
"nodemon": "^1.11.0",
Expand Down
1 change: 1 addition & 0 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ process.on('SIGINT', shutDown);

// Export for end-to-end tests.
export default app;
export { shutDown };
7 changes: 7 additions & 0 deletions test-e2e/setup.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import createNeo4jConstraints from '../src/neo4j/create-constraints';
import createNeo4jIndexes from '../src/neo4j/create-indexes';
import { shutDown } from '../src/app';

before(async () => {

Expand All @@ -8,3 +9,9 @@ before(async () => {
await createNeo4jIndexes();

});

after(() => {

shutDown();

});

0 comments on commit 1910150

Please sign in to comment.