Skip to content

Commit

Permalink
added separate test:integration script
Browse files Browse the repository at this point in the history
  • Loading branch information
my-opencode committed Aug 16, 2024
1 parent e2ce7bc commit 6c09340
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions back/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "Back End for a product management demo",
"main": "server.js",
"scripts": {
"test:integration":"export LOG_LEVEL=verbose; npx tsx --test --test-concurrency=1 **/*.integration.test.ts || true",
"test:unit":"export LOG_LEVEL=verbose; npx tsx --test --test-concurrency=1 **/*.unit.test.ts || true",
"pretest": "echo 'Booting Database' && sudo docker-compose -f test-db.yaml --profile test up -d -V",
"test": "export LOG_LEVEL=verbose; npm run clearlogs && npx tsx --test --test-concurrency=1 || true",
Expand Down

0 comments on commit 6c09340

Please sign in to comment.