jest-expo 44.0.0 → 44.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/package.json +2 -3
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ A [Jest](https://facebook.github.io/jest/) preset to painlessly test your Expo /
|
|
|
4
4
|
|
|
5
5
|
### Installation
|
|
6
6
|
|
|
7
|
-
- To install the compatible version of `jest-expo` for your project, run: `expo install jest-expo
|
|
7
|
+
- To install the compatible version of `jest-expo` and `jest` for your project, run: `expo install jest-expo jest`.
|
|
8
8
|
- Add the following config to `package.json`:
|
|
9
9
|
|
|
10
10
|
```json
|
|
@@ -27,6 +27,8 @@ A [Jest](https://facebook.github.io/jest/) preset to painlessly test your Expo /
|
|
|
27
27
|
|
|
28
28
|
- Run `npm test` and it should pass
|
|
29
29
|
|
|
30
|
+
> You can use a different version of `jest` than the one that is installed with `expo install`, but keep in mind that the SDK and `jest-expo` are built against that version.
|
|
31
|
+
|
|
30
32
|
## Platforms
|
|
31
33
|
|
|
32
34
|
You can use `jest-expo` to test any Expo supported platform. For legacy purposes `jest-expo` runs your tests in the standard React Native environment (iOS).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jest-expo",
|
|
3
|
-
"version": "44.0.
|
|
3
|
+
"version": "44.0.1",
|
|
4
4
|
"description": "A Jest preset to painlessly test your Expo / React Native apps.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "src",
|
|
@@ -35,7 +35,6 @@
|
|
|
35
35
|
"@jest/create-cache-key-function": "^26.6.2",
|
|
36
36
|
"babel-jest": "^26.6.3",
|
|
37
37
|
"find-up": "^5.0.0",
|
|
38
|
-
"jest": "^26.6.3",
|
|
39
38
|
"jest-watch-select-projects": "^2.0.0",
|
|
40
39
|
"jest-watch-typeahead": "0.6.4",
|
|
41
40
|
"json5": "^2.1.0",
|
|
@@ -46,5 +45,5 @@
|
|
|
46
45
|
"url": "https://github.com/expo/expo/issues"
|
|
47
46
|
},
|
|
48
47
|
"homepage": "https://github.com/expo/expo/tree/master/packages/jest-expo",
|
|
49
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "2c6354c1b6ef276bf8e1a8afae086f648d4fdf5c"
|
|
50
49
|
}
|