Skip to content
Discussion options

You must be logged in to vote

for react-native you will need to stub window object. This will be part of the FAQ in the new doc

beforeAll(() => { global.window = {} })
afterAll(() => { global.window = undefined} })

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@mdbiscan
Comment options

@mdbiscan
Comment options

@bluebill1049
Comment options

@mdbiscan
Comment options

@keiya01
Comment options

keiya01 Jun 26, 2020
Collaborator

Answer selected by mdbiscan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants