Created
January 13, 2019 21:06
-
-
Save ryoldash/6e5dc852316d4bd8ba4670927726c7da to your computer and use it in GitHub Desktop.
How to use Mobx, Typescript, Native Base, mocking REST APIs with JSON Server and Faker.JS in React Native
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"jest": { | |
"preset": "react-native", | |
"moduleFileExtensions": [ | |
"ts", | |
"tsx", | |
"js" | |
], | |
"transform": { | |
"^.+\\.(js)$": "<rootDir>/node_modules/babel-jest", | |
"\\.(ts|tsx)$": "<rootDir>/node_modules/ts-jest/preprocessor.js" | |
}, | |
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$", | |
"testPathIgnorePatterns": [ | |
"\\.snap$", | |
"<rootDir>/node_modules/" | |
], | |
"cacheDirectory": ".jest/cache" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment