2023-05-24 23:35:44 +00:00
|
|
|
import { defineConfig } from "vitest/config";
|
|
|
|
|
2023-09-06 19:23:53 +00:00
|
|
|
process.env.INTEGRATION_TEST_MODE = "true";
|
|
|
|
|
2023-10-10 04:16:04 +00:00
|
|
|
// We can't set it during tests because it is used as soon as _metadata.ts is imported which happens before tests start running
|
|
|
|
process.env.DAILY_API_KEY = "MOCK_DAILY_API_KEY";
|
|
|
|
|
2023-05-24 23:35:44 +00:00
|
|
|
export default defineConfig({
|
|
|
|
test: {
|
|
|
|
coverage: {
|
2023-09-06 19:23:53 +00:00
|
|
|
provider: "v8",
|
2023-05-24 23:35:44 +00:00
|
|
|
},
|
2023-09-06 19:23:53 +00:00
|
|
|
testTimeout: 500000,
|
2023-05-24 23:35:44 +00:00
|
|
|
},
|
|
|
|
});
|