Permalink
Cannot retrieve contributors at this time
27 lines (27 sloc)
545 Bytes
module.exports = { | |
roots: [ | |
'<rootDir>/packages', | |
], | |
testMatch: [ | |
'**/__tests__/**/*.+(ts|tsx|js)', | |
'**/?(*.)+(spec|test).+(ts|tsx|js)', | |
], | |
transform: { | |
'^.+\\.(ts|tsx)$': 'ts-jest', | |
}, | |
testPathIgnorePatterns: [ | |
'/node_modules/', | |
'/dist/', | |
], | |
modulePathIgnorePatterns: [ | |
'/dist/', | |
], | |
setupFiles: [ | |
'<rootDir>/packages/.test/test.setup.js', | |
], | |
moduleNameMapper: { | |
'^@vueuse/(.*)$': '<rootDir>/packages/$1/index.ts', | |
}, | |
testURL: 'https://vueuse.org', | |
testEnvironment: 'jsdom', | |
} |