diff --git a/pkgs/client/project.json b/pkgs/client/project.json index a41e3ef85..445bf4a10 100644 --- a/pkgs/client/project.json +++ b/pkgs/client/project.json @@ -149,7 +149,7 @@ "commands": [ "../../scripts/supabase-start-locked.sh .", "psql 'postgresql://postgres:postgres@localhost:50522/postgres' -c 'SELECT pgflow_tests.reset_db()'", - "vitest run __tests__/integration/" + "vitest run __tests__/integration/ --poolOptions.threads.singleThread" ], "parallel": false } @@ -174,7 +174,7 @@ "commands": [ "../../scripts/supabase-start-locked.sh .", "psql 'postgresql://postgres:postgres@localhost:50522/postgres' -c 'SELECT pgflow_tests.reset_db()'", - "vitest run __tests__/" + "vitest run __tests__/ --poolOptions.threads.singleThread" ], "parallel": false } diff --git a/pkgs/edge-worker/project.json b/pkgs/edge-worker/project.json index 3bde35098..8f55e68d1 100644 --- a/pkgs/edge-worker/project.json +++ b/pkgs/edge-worker/project.json @@ -135,7 +135,7 @@ } }, "test:unit": { - "dependsOn": ["db:ensure", "^build"], + "dependsOn": ["^build"], "executor": "nx:run-commands", "local": true, "inputs": ["default", "^production"],