1 | ;
|
2 |
|
3 | module.exports = {
|
4 | tests: ["**/*.{test,spec,stories}.*", "**/test{s,}/**"],
|
5 | tooling: [
|
6 | "config/**",
|
7 | "script{,s}/**", // contains usually npm scripts
|
8 | "tool{,s}/**", // often used for other scripts
|
9 | ],
|
10 | withSideEffects: [
|
11 | "**/*.css",
|
12 | "**/*.less",
|
13 | "**/*.scss",
|
14 | "**/*.sass",
|
15 | "**/*register",
|
16 | "**/*extend", // mostly because of @testing-library/jest-dom/extend-expect
|
17 | ],
|
18 | typescript: ["*.ts", "*.tsx"],
|
19 | react: ["*.jsx", "*.tsx"],
|
20 | };
|