aboutsummaryrefslogtreecommitdiff
path: root/jest.config.ts
diff options
context:
space:
mode:
authorMax Nanis2025-06-23 17:20:31 +0700
committerMax Nanis2025-06-23 17:20:31 +0700
commit8138549f64403874eb7c7ddfbde1cc2cc2c03695 (patch)
treeff16ff5bf7b0a5454fd181d178a6f799b9141d64 /jest.config.ts
parent5e8b1b89bfffd0202bc6c5f64aac943053d79d32 (diff)
downloadpanel-ui-8138549f64403874eb7c7ddfbde1cc2cc2c03695.tar.gz
panel-ui-8138549f64403874eb7c7ddfbde1cc2cc2c03695.zip
Typescript validation finally passes.
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',