Intermediate still contains errors, but an attempt to solve filtering as per .gitignore

This commit is contained in:
2025-03-12 15:05:52 +00:00
parent c18e4dac10
commit 2df0dc666b
5 changed files with 629 additions and 345 deletions

19
jest.config.js Normal file
View File

@@ -0,0 +1,19 @@
/** @type {import('ts-jest').JestConfigWithTsJest} **/
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
transform: {
'^.+\.tsx?$': ['ts-jest', {}],
},
testMatch: ['**/test/**/*.ts'],
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
globals: {
'ts-jest': {
tsconfig: 'tsconfig.json',
},
},
// Mock the vscode module since it's not available during testing
moduleNameMapper: {
'^vscode$': '<rootDir>/src/test/vscode-mock.ts'
},
};