aboutsummaryrefslogtreecommitdiff
path: root/e2e/jest.config.ts
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2021-09-26 17:22:54 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2021-09-27 12:30:19 +0900
commit9a0c283ae2ebb7321b8f46a97178e5e284b02da4 (patch)
tree9beae544969d829d8a358d3a3602378ea4bd9513 /e2e/jest.config.ts
parente304581fb15eabb3a973d363a282ee7546561e01 (diff)
Move to jest on e2e test
Diffstat (limited to 'e2e/jest.config.ts')
-rw-r--r--e2e/jest.config.ts13
1 files changed, 13 insertions, 0 deletions
diff --git a/e2e/jest.config.ts b/e2e/jest.config.ts
new file mode 100644
index 0000000..ed197f5
--- /dev/null
+++ b/e2e/jest.config.ts
@@ -0,0 +1,13 @@
+import type { Config } from "@jest/types";
+
+const config: Config.InitialOptions = {
+ verbose: true,
+ testMatch: ["**/e2e/**/*.test.+(ts|tsx|js|jsx)"],
+ transform: {
+ "^.+\\.(ts|tsx)$": "ts-jest",
+ },
+ setupFiles: ["./main.ts"],
+ testTimeout: 20000,
+ maxConcurrency: 1,
+};
+export default config;