mirror of
https://github.com/usatiuk/photos.git
synced 2025-10-28 23:37:48 +01:00
fix jest tests
This commit is contained in:
@@ -8,9 +8,6 @@ module.exports = {
|
|||||||
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$":
|
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$":
|
||||||
"<rootDir>/src/fileMock.ts",
|
"<rootDir>/src/fileMock.ts",
|
||||||
"\\.(css|less|scss)$": "<rootDir>/src/styleMock.ts",
|
"\\.(css|less|scss)$": "<rootDir>/src/styleMock.ts",
|
||||||
...pathsToModuleNameMapper(compilerOptions.paths, {
|
|
||||||
prefix: "<rootDir>/src/",
|
|
||||||
}),
|
|
||||||
"react-spring/renderprops":
|
"react-spring/renderprops":
|
||||||
"<rootDir>/node_modules/react-spring/renderprops.cjs",
|
"<rootDir>/node_modules/react-spring/renderprops.cjs",
|
||||||
"react-spring": "<rootDir>/node_modules/react-spring/web.cjs",
|
"react-spring": "<rootDir>/node_modules/react-spring/web.cjs",
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
"strictFunctionTypes": true,
|
"strictFunctionTypes": true,
|
||||||
"strictNullChecks": true,
|
"strictNullChecks": true,
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"isolatedModules": true,
|
"isolatedModules": true
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
"./src/**/*.ts",
|
"./src/**/*.ts",
|
||||||
|
|||||||
Reference in New Issue
Block a user