aboutsummaryrefslogtreecommitdiff
path: root/jest.config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'jest.config.ts')
-rw-r--r--jest.config.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/jest.config.ts b/jest.config.ts
index c52075f..b477474 100644
--- a/jest.config.ts
+++ b/jest.config.ts
@@ -1,3 +1,9 @@
+// Configures Jest, the testing engine
+// -- Sets test environment, module resolution, and TS integration via ts-jest.
+// -- Must align with tsconfig.json and sometimes vite.config.mts.
+// -- Must match paths and module resolution from tsconfig.json.
+// -- Uses ts-jest to compile TS like Vite does.
+
export default {
preset: 'ts-jest',
testEnvironment: 'jsdom',