feat: expose custom Jest preset restoring global Promise (#695)

* feat: expose custom Jest preset restoring global Promise

* typo
This commit is contained in:
Michał Pierzchała
2021-03-02 14:24:56 +01:00
committed by GitHub
parent 2ccec3c3a3
commit 62ccd08e13
5 changed files with 20 additions and 1 deletions
+2 -1
View File
@@ -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"