mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 11:13:43 +03:00
15 lines
420 B
JavaScript
15 lines
420 B
JavaScript
module.exports = {
|
|
testMatch: [
|
|
"**/__tests__/**/*.[jt]s?(x)",
|
|
"**/__tests__/**/*.m[jt]s?(x)",
|
|
"**/?(*.)+(spec|test).[jt]s?(x)",
|
|
],
|
|
transform: {},
|
|
// transform: {
|
|
// "^.+\\.jsx?$": "babel-jest",
|
|
// "^.+\\.mjs$": "babel-jest",
|
|
// },
|
|
testPathIgnorePatterns: ["<rootDir>/build/", "<rootDir>/node_modules/"],
|
|
moduleFileExtensions: ["js", "jsx", "mjs"],
|
|
};
|