Intermediate still contains errors, but an attempt to solve filtering as per .gitignore
This commit is contained in:
19
jest.config.js
Normal file
19
jest.config.js
Normal 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'
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user