react-native.test.js
This file
Path
test/react-native.test.js
9 lines · 208 bytes · JavaScript
Last changed by
Not known.
History of this fileTake it
12345678910global.navigator = { product: 'ReactNative'}
it('tells to use non-secure generator on old browsers', () => { expect(() => { require('../index.browser') }).toThrow(/React Native does not have/)})