Skip to content

Commit

Permalink
fix tests; they rely on the built assets (oops)
Browse files Browse the repository at this point in the history
  • Loading branch information
echo-bravo-yahoo committed Nov 21, 2024
1 parent 510b8f2 commit 119bf68
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,10 @@
"repository": "fauna/fauna-shell",
"scripts": {
"lint": "eslint . --fix",
"test": "mocha --recursive ./test --require ./test/mocha-root-hooks.mjs --reporter mocha-multi-reporters --reporter-options configFile=./test/config/reporter.json",
"test": "npm run test:local",
"test:local": "mocha --recursive ./test --require ./test/mocha-root-hooks.mjs --reporter mocha-multi-reporters --reporter-options configFile=./test/config/reporter.json",
"pretest:ci": "npm run build:app",
"test:ci": "mocha --recursive ./test --require ./test/mocha-root-hooks.mjs --reporter mocha-multi-reporters --reporter-options configFile=./test/config/reporter.json",
"build": "npm run build:app && npm run build:sea",
"build:app": "esbuild --bundle ./src/user-entrypoint.mjs --platform=node --outfile=./dist/cli.cjs --format=cjs --inject:./sea/import-meta-url.js --define:import.meta.url=importMetaUrl",
"postbuild:app": "sed -i '' '1s/.*/#!\\/usr\\/bin\\/env NODE_NO_WARNINGS=1 node/' ./dist/cli.cjs",
Expand Down

0 comments on commit 119bf68

Please sign in to comment.