mirror of
https://github.com/mildeveloper/obsidian-date-range-expander.git
synced 2026-07-22 05:43:20 +00:00
11 lines
334 B
JavaScript
11 lines
334 B
JavaScript
|
|
module.exports = {
|
||
|
|
transform: {
|
||
|
|
'^.+\\.tsx?$': 'ts-jest',
|
||
|
|
},
|
||
|
|
testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.[jt]sx?$',
|
||
|
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
|
||
|
|
moduleNameMapper: {
|
||
|
|
'^obsidian$': '<rootDir>/tests/__mocks__/obsidian.ts'
|
||
|
|
},
|
||
|
|
testEnvironment: 'node'
|
||
|
|
};
|