This commit is contained in:
MapleLeaf
2022-01-10 23:45:53 -06:00
parent 01f245c2e2
commit d0c940c693

View File

@@ -7,3 +7,5 @@ const app = execa("pnpm", ["start"], { stdio: "inherit", detached: true })
await waitOn({ resources: ["http-get://localhost:3000"] })
await cypress.run()
process.kill(app.pid!, "SIGKILL")
// eslint-disable-next-line unicorn/no-process-exit
process.exit(0)