1 | module.exports = {
|
2 | testRunner: "jest-circus/runner",
|
3 | preset: "jest-puppeteer",
|
4 | globals: {
|
5 | BASE_URL:
|
6 | process.env.ENV === "dev"
|
7 | ? "http://localhost:4000"
|
8 | : "https://nextstrain.org/"
|
9 | },
|
10 | setupFilesAfterEnv: ["expect-puppeteer", "./puppeteer.setup.js"],
|
11 | testRegex: "(/__tests__/.*|(\\.|/)(test|spec))\\.(tsx?|jsx?)$",
|
12 | testPathIgnorePatterns: ["<rootDir>/node_modules/"]
|
13 | };
|