Skip to content

Commit

Permalink
fix: set testEnvironment to jsdom in react native example (#12581)
Browse files Browse the repository at this point in the history
* try to fix ci

* fix: set testEnvironment to jsdom in react native example
  • Loading branch information
F3n67u authored Mar 15, 2022
1 parent 54420eb commit 8c95952
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/react-native/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ const {resolve} = require('path');

module.exports = {
preset: 'react-native',
testEnvironment: 'jsdom',
transform: {
'\\.(js|ts|tsx)$': require.resolve('react-native/jest/preprocessor.js'),
},
Expand Down

0 comments on commit 8c95952

Please sign in to comment.