mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-27 19:25:11 +08:00
remove disableAutomock from jest tests (new default) @bypass-lint
Reviewed By: cpojer Differential Revision: D5237192 fbshipit-source-id: dccca52a91259d7fea27931f92bca94184a82d4a
This commit is contained in:
committed by
Facebook Github Bot
parent
7707905550
commit
51c0e81557
@@ -9,8 +9,6 @@
|
||||
|
||||
'use strict';
|
||||
|
||||
jest.disableAutomock();
|
||||
|
||||
const FormData = require('FormData');
|
||||
|
||||
describe('FormData', function() {
|
||||
|
||||
@@ -20,7 +20,6 @@ function setRequestId(id){
|
||||
}
|
||||
|
||||
jest
|
||||
.disableAutomock()
|
||||
.dontMock('event-target-shim')
|
||||
.setMock('NativeModules', {
|
||||
Networking: {
|
||||
|
||||
Reference in New Issue
Block a user