mirror of https://github.com/vuejs/vitepress
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
410 B
14 lines
410 B
module.exports = {
|
|
preset: 'ts-jest',
|
|
rootDir: __dirname,
|
|
moduleNameMapper: {
|
|
'^src/(.*)$': '<rootDir>/src/$1',
|
|
'^client/(.*)$': '<rootDir>/src/client/$1',
|
|
'^node/(.*)$': '<rootDir>/src/node/$1',
|
|
'^shared/(.*)$': '<rootDir>/src/shared/$1',
|
|
'^tests/(.*)$': '<rootDir>/__tests__/$1'
|
|
},
|
|
testMatch: ['<rootDir>/__tests__/**/*.spec.ts'],
|
|
testPathIgnorePatterns: ['/node_modules/']
|
|
}
|