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:
James Burnett
2017-06-08 07:36:21 -07:00
committed by Facebook Github Bot
parent ba2e486b33
commit 3360999431
34 changed files with 39 additions and 45 deletions

View File

@@ -8,7 +8,7 @@
*/
'use strict';
jest
jest.disableAutomock()
.dontMock('../filterPlatformAssetScales')
.dontMock('../assetPathUtils');

View File

@@ -8,7 +8,7 @@
*/
'use strict';
jest
jest.disableAutomock()
.dontMock('../getAssetDestPathAndroid')
.dontMock('../assetPathUtils');

View File

@@ -8,7 +8,7 @@
*/
'use strict';
jest.dontMock('../getAssetDestPathIOS');
jest.disableAutomock().dontMock('../getAssetDestPathIOS');
const getAssetDestPathIOS = require('../getAssetDestPathIOS');