mirror of
https://github.com/callstack/react-native-testing-library.git
synced 2026-09-18 23:09:04 +08:00
feat: expose custom Jest preset restoring global Promise (#695)
* feat: expose custom Jest preset restoring global Promise * typo
This commit is contained in:
committed by
GitHub
parent
2ccec3c3a3
commit
62ccd08e13
+2
-1
@@ -20,6 +20,7 @@
|
||||
],
|
||||
"files": [
|
||||
"build/",
|
||||
"jest-preset/",
|
||||
"typings/index.d.ts",
|
||||
"pure.js",
|
||||
"dont-cleanup-after-each.js"
|
||||
@@ -70,7 +71,7 @@
|
||||
"build": "rm -rf build; babel src --out-dir build --ignore 'src/__tests__/*'"
|
||||
},
|
||||
"jest": {
|
||||
"preset": "../jest/preset.js",
|
||||
"preset": "../jest-preset",
|
||||
"moduleFileExtensions": [
|
||||
"js",
|
||||
"json"
|
||||
|
||||
Reference in New Issue
Block a user