From 9970036d203ba2d0a46b35ba6fad21d49441cdd4 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Sun, 27 Jul 2025 17:03:10 -0700 Subject: hai --- jest.config.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 jest.config.js (limited to 'jest.config.js') diff --git a/jest.config.js b/jest.config.js new file mode 100644 index 0000000..fea9d78 --- /dev/null +++ b/jest.config.js @@ -0,0 +1,14 @@ +export default { + preset: 'ts-jest/presets/default-esm', + testEnvironment: 'node', + extensionsToTreatAsEsm: ['.ts'], + moduleNameMapper: { + '^@emprespresso/pengueno$': '/lib/index.ts', + }, + transform: { + '^.+\\.ts$': ['ts-jest', { + useESM: true, + }], + }, + testMatch: ['**/tst/**/*.test.ts'], +}; -- cgit v1.2.3-70-g09d2