Skip to content

Commit 9c678aa

Browse files
committed
enable the "node" environment when testing
avoids the need to spin up JSDOM for each test
1 parent c85ce4a commit 9c678aa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
"transformIgnorePatterns": [
5656
"node_modules/(?!(jest-)?react-native|glamorous-native)"
5757
],
58+
"testEnvironment": "node",
5859
"preset": "react-native"
5960
},
6061
"prettier": {

0 commit comments

Comments
 (0)