aboutsummaryrefslogtreecommitdiff
path: root/jest.config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'jest.config.ts')
-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;