Remove orphans
Test / test (push) Successful in 1m37s Details

This commit is contained in:
Jeff 2024-10-19 13:49:20 -04:00
parent 6f6a1bc2dc
commit 8aad5028ab
2 changed files with 8 additions and 3 deletions

View File

@ -50,7 +50,12 @@ describe("subscriptions", () => {
})
beforeEach(async () => {
await migrateToLatest()
try {
await migrateToLatest()
} catch (error) {
console.log("Something has exploded in migration")
fail(error)
}
})
// afterEach(async () => {

View File

@ -9,8 +9,8 @@
"lint": "eslint --ignore-path .gitignore --cache --cache-location ./node_modules/.cache/eslint .",
"start": "remix-serve ./build/server/index.js",
"typecheck": "tsc",
"watch": "export $(cat .env.test | xargs) && docker compose -f docker-compose-test.yaml up database -d && jest --watch --config=jest.config.ts",
"test": "export $(cat .env.test | xargs) && docker compose -f docker-compose-test.yaml up database -d && jest --config=jest.config.ts"
"watch": "export $(cat .env.test | xargs) && docker compose -f docker-compose-test.yaml up database -d --remove-orphans && jest --watch --config=jest.config.ts",
"test": "export $(cat .env.test | xargs) && docker compose -f docker-compose-test.yaml up database -d --remove-orphans && jest --config=jest.config.ts"
},
"dependencies": {
"@remix-pwa/sw": "^3.0.9",