Skip to content

Commit

Permalink
Sync
Browse files Browse the repository at this point in the history
  • Loading branch information
mskelton committed Aug 9, 2024
1 parent a0b799b commit d63f298
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 3 additions & 3 deletions instrumentation.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { client } from "lib/db"

export async function register() {
// if (process.env.NODE_ENV !== "test") {
// await client.sync()
// }
if (!process.env.CI) {
await client.sync()
}
}
3 changes: 0 additions & 3 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ export default defineConfig({
},
webServer: {
command: "pnpm dev",
env: {
NODE_ENV: "test",
},
reuseExistingServer: !process.env.CI,
stderr: "pipe",
stdout: "ignore",
Expand Down

0 comments on commit d63f298

Please sign in to comment.