mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-14 20:41:15 +08:00
18 lines
531 B
JavaScript
18 lines
531 B
JavaScript
/*
|
|
* @Date: 2024-05-10 14:19:56
|
|
* @LastEditors: maggieyyy
|
|
* @LastEditTime: 2024-05-10 15:55:29
|
|
* @FilePath: \frontend\jest.config.js
|
|
*/
|
|
|
|
module.exports = {
|
|
roots: ['<rootDir>/packages'],
|
|
testMatch: ['**/__tests__/**/*.+(ts|tsx|js)', '**/?(*.)+(spec|test).+(ts|tsx|js)'],
|
|
transform: {
|
|
'^.+\\.(ts|tsx)$': 'ts-jest',
|
|
},
|
|
testEnvironment: 'jsdom',
|
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json'],
|
|
testPathIgnorePatterns: ['/node_modules/', '/dist/'],
|
|
setupFilesAfterEnv: ['<rootDir>/jest.setup.js'],
|
|
}; |