aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2021-09-26 14:09:04 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2021-09-26 16:12:58 +0900
commit02b1ab045fdb1b768722e2e305017cda6293ebe4 (patch)
tree830c85bbfa93d8a07459a840d44b481fde2b5efe
parentd3c3294b4984c6cd37bb7345d55ea614c8b9edc3 (diff)
Configure jest
-rw-r--r--jest.config.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/jest.config.ts b/jest.config.ts
new file mode 100644
index 0000000..e058adf
--- /dev/null
+++ b/jest.config.ts
@@ -0,0 +1,11 @@
+import type { Config } from "@jest/types";
+
+const config: Config.InitialOptions = {
+ verbose: true,
+ testMatch: ["**/test/**/*.test.+(ts|tsx|js|jsx)"],
+ transform: {
+ "^.+\\.(ts|tsx)$": "ts-jest",
+ },
+ setupFiles: ["./test/main.ts"],
+};
+export default config;