Skip to content

Commit

Permalink
add run back in
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Shiel committed Nov 11, 2024
1 parent 30f53e5 commit 72eca3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"format": "prettier --write '**/*.{js,jsx,json,ts,tsx}'",
"lint:fix": "eslint src --ext ts --ext js --fix",
"start": "tsc --traceResolution && node dist/server.js",
"test": "export ENV=test && export NODE_ENV=test && npx mocha -r tsconfig-paths/register -r ts-node/register -r source-map-support/register 'test/*.{spec,test}.{js,ts}' 'test/**/*.{spec,test}.{js,ts}' --timeout 10000 --full-trace --recursive --reporter spec --exit",
"test": "export ENV=test && export NODE_ENV=test && npx mocha -r tsconfig-paths/register -r ts-node/register -r source-map-support/register 'test/*.{spec,test}.{js,ts}' 'test/**/*.{spec,test}.{js,ts}' --timeout 10000 --full-trace --recursive --reporter spec --delay --exit",
"test:integration": "ENV=test NODE_ENV=test npx mocha -r tsconfig-paths/register -r ts-node/register -r source-map-support/register 'test/integration/**/*.ispec.ts' --timeout 15000 --full-trace --recursive --reporter spec",
"test:all": "npm run test:format && npm run test:lint && npm run test:audit && npm run test:types && npm test",
"test:audit": "npm audit --audit-level=moderate --production",
Expand Down
2 changes: 1 addition & 1 deletion node/test/init.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ after(async () => {

mongoUnit.start().then((url) => {
process.env.MONGO_URI = url; // this const process.env.DATABASE_URL = will keep link to fake mongo
// run(); // this line start mocha tests
run(); // this line start mocha tests
});

0 comments on commit 72eca3d

Please sign in to comment.