Skip to content

Commit 3c8a9c0

Browse files
committed
Add options to always approve write and execute operations
1 parent 4658e5c commit 3c8a9c0

File tree

11 files changed

+3648
-483
lines changed

11 files changed

+3648
-483
lines changed

jest.config.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/** @type {import('ts-jest').JestConfigWithTsJest} */
2+
module.exports = {
3+
preset: 'ts-jest',
4+
testEnvironment: 'node',
5+
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
6+
transform: {
7+
'^.+\\.tsx?$': ['ts-jest', {
8+
tsconfig: 'tsconfig.json'
9+
}]
10+
},
11+
testMatch: ['**/__tests__/**/*.test.ts'],
12+
moduleNameMapper: {
13+
'^vscode$': '<rootDir>/node_modules/@types/vscode/index.d.ts'
14+
},
15+
setupFiles: [],
16+
globals: {
17+
'ts-jest': {
18+
diagnostics: false
19+
}
20+
}
21+
};

0 commit comments

Comments
 (0)