mirror of
https://github.com/zhigang1992/nativewind.git
synced 2026-06-15 10:17:54 +08:00
21 lines
492 B
JavaScript
21 lines
492 B
JavaScript
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
|
|
module.exports = {
|
|
preset: "react-native",
|
|
globals: {
|
|
"ts-jest": {
|
|
tsconfig: "tsconfig.test.json",
|
|
},
|
|
},
|
|
transform: {
|
|
"^.+\\.jsx$": "babel-jest",
|
|
"^.+\\.tsx?$": "ts-jest",
|
|
},
|
|
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
|
|
testPathIgnorePatterns: [
|
|
"/node_modules/",
|
|
"/__tests__/visitor/",
|
|
"/__tests__/tailwindcss/runner/",
|
|
"/__tests__/types.d.ts",
|
|
],
|
|
};
|