Skip to content

Commit 7115eb5

Browse files
committed
use development condiiton by default in tests
1 parent aab9f35 commit 7115eb5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

jest.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
module.exports = {
22
testEnvironment: 'jsdom',
3+
testEnvironmentOptions: {
4+
customExportConditions: ['browser', 'development']
5+
},
36
transform: {
47
'^.+\\.(tsx|ts|js)?$': 'babel-jest'
58
},

0 commit comments

Comments
 (0)