mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix test suite
This commit is contained in:
@@ -41,7 +41,7 @@ function _defineCheckVersionTests() {
|
||||
});
|
||||
|
||||
it('passes when all the versions are zero', () => {
|
||||
jest.dontMock('ReactNativeVersion');
|
||||
_mockJsVersion(0, 0, 0);
|
||||
_mockNativeVersion(0, 0, 0);
|
||||
|
||||
const ReactNativeVersion = require('ReactNativeVersion');
|
||||
|
||||
Reference in New Issue
Block a user