mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
disable automock by default in as many places as possible @bypass-lint
Reviewed By: cpojer Differential Revision: D5190858 fbshipit-source-id: d3125cf81427dbbe3362ef1f958413394a6dc51d
This commit is contained in:
committed by
Facebook Github Bot
parent
ba2e486b33
commit
3360999431
@@ -8,7 +8,7 @@
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
jest
|
||||
jest.disableAutomock()
|
||||
.dontMock('../filterPlatformAssetScales')
|
||||
.dontMock('../assetPathUtils');
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
jest
|
||||
jest.disableAutomock()
|
||||
.dontMock('../getAssetDestPathAndroid')
|
||||
.dontMock('../assetPathUtils');
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
jest.dontMock('../getAssetDestPathIOS');
|
||||
jest.disableAutomock().dontMock('../getAssetDestPathIOS');
|
||||
|
||||
const getAssetDestPathIOS = require('../getAssetDestPathIOS');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user