mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-10 02:55:41 +00:00
70a2b3ca9a
* Add disclaimer modal to footer * Remove duplicate code & unnecessary styles * Fix formatting noise * remove un-used css style * Fix tslint error & add media query for modals * Nest Media Query * Update Jest & Enzyme, Add snapshot tests * Fix tslint errors in /spec, Update mock localstorage * Update types in tests, Fix tslint error * Specify module versions for browser * Update sendTransaction snapshot
23 lines
813 B
JSON
23 lines
813 B
JSON
{
|
|
"rootDir": "../",
|
|
"transform": {
|
|
"^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
|
|
},
|
|
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
|
|
"moduleDirectories": ["node_modules", "common"],
|
|
"moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json"],
|
|
"moduleNameMapper": {
|
|
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$":
|
|
"<rootDir>/jest_config/__mocks__/fileMock.ts",
|
|
"\\.(css|scss|less)$": "<rootDir>/jest_config/__mocks__/styleMock.ts"
|
|
},
|
|
"testPathIgnorePatterns": ["<rootDir>/common/config"],
|
|
"setupFiles": [
|
|
"<rootDir>/jest_config/setupJest.js",
|
|
"<rootDir>/jest_config/__mocks__/localStorage.ts"
|
|
],
|
|
"automock": false,
|
|
"snapshotSerializers": ["enzyme-to-json/serializer"],
|
|
"browser": true
|
|
}
|