The Wayback Machine - https://web.archive.org/web/20210706191020/https://github.com/vueuse/vueuse/blob/main/jest.config.js
Skip to content
Permalink
main
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
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',
}