Skip to content

Commit

Permalink
Update testing node script
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmz committed May 4, 2024
1 parent 2941e2b commit 3414eb6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,18 @@
"scripts": {
"start": "cross-env TZ=UTC yarn babel index.js",
"travis": "run-s -c typecheck test lint",
"test": "run-s typecheck reset-test-db test-rollback mocha",
"test": "run-s typecheck reset-test-db test-rollback mocha-p",
"coverage": "run-s reset-test-db nyc",
"lint": "run-s eslint ejslint",
"ejslint": "ejslint app",
"eslint": "eslint . --ext \".js,.jsx,.ts\"",
"babel": "node -r './esm/register.cjs'",
"typecheck": "tsc",
"reset-test-db": "run-s \"babel bin/reset_test_db.js\"",
"reset-test-db": "run-s \"babel bin/reset_test_db.js --schemas=4\"",
"test-rollback": "knex --env test migrate:rollback && knex --env test migrate:latest",
"test-just": "cross-env NODE_ENV=test FRFS_SECRET=test-secret mocha",
"mocha": "cross-env TZ=UTC run-s \"test-just -b test/unit test/integration test/functional test/cleanup.js\"",
"mocha-p": "cross-env TZ=UTC run-s \"test-just -b -p -j 4 test/unit test/integration test/functional test/cleanup.js\"",
"console": "yarn babel bin/console",
"nyc": "nyc yarn mocha",
"data_transfer": "yarn babel bin/data_transfer",
Expand Down

0 comments on commit 3414eb6

Please sign in to comment.