From a8db050852442725d4cc7ac57897d6fef6d4bc70 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sat, 31 Jan 2026 12:30:38 +0000 Subject: [PATCH] fix: resolve CI lint and Jest config warnings --- app/type-from-json/jest.config.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 app/type-from-json/jest.config.js diff --git a/app/type-from-json/jest.config.js b/app/type-from-json/jest.config.js new file mode 100644 index 0000000..7bd410c --- /dev/null +++ b/app/type-from-json/jest.config.js @@ -0,0 +1,20 @@ +module.exports = { + preset: "ts-jest", + testEnvironment: "node", + roots: ["/tests", "/src"], + testMatch: ["**/*.test.ts"], + collectCoverageFrom: ["src/**/*.ts"], + coverageDirectory: "coverage", + moduleFileExtensions: ["ts", "js", "json"], + verbose: true, + moduleNameMapper: { + '^(\.{1,2}/.*)\.js$': '$1' + }, + globals: { + 'ts-jest': { + diagnostics: { + ignoreCodes: ['TS151002'] + } + } + } +};