Skip to content

Commit

Permalink
Update ava.config.js so that npx ava only runs backend tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrabbitt committed Sep 26, 2024
1 parent eb746b9 commit 1ca1c1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ava.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
timeout: "90s",
files: ["src/**/*.test.ts"],
files: ["src/backend/**/*.test.ts"],
extensions: ["ts"],
require: ["@esbuild-kit/cjs-loader"],
ignoredByWatcher: ["**/.next/**"],
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"type-css:watch": "npx tcm src --watch",
"type-css:check": "npx tcm src --listDifferent",
"test": "npm run test:backend && npm run test:frontend",
"test:backend": "ava src/backend/",
"test:backend:watch": "ava --watch src/backend/",
"test:backend": "ava",
"test:backend:watch": "ava --watch",
"test:frontend": "jest",
"db:migrate": "npx tsx src/backend/scripts/migrate-database.ts",
"db:reset": "npx tsx src/backend/scripts/reset-database.ts",
Expand Down

0 comments on commit 1ca1c1c

Please sign in to comment.