mirror of https://github.com/status-im/metro.git
Fix lint warnings in the resolver
Reviewed By: martinbigio Differential Revision: D2803192 fb-gh-sync-id: 721821ed9ce8dd846f90ec09e7e1f36abf322b5a
This commit is contained in:
parent
3ee52f04ce
commit
b34845e4b0
|
@ -2424,7 +2424,7 @@ describe('DependencyGraph', function() {
|
|||
' * @providesModule wontWork',
|
||||
' */',
|
||||
'hi();',
|
||||
].join('\n')
|
||||
].join('\n'),
|
||||
},
|
||||
},
|
||||
// This part of the dep graph is meant to emulate internal facebook infra.
|
||||
|
@ -2442,7 +2442,7 @@ describe('DependencyGraph', function() {
|
|||
' */',
|
||||
'hiFromInternalPackage();',
|
||||
].join('\n'),
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
// we need to support multiple roots and using haste between them
|
||||
|
@ -2453,7 +2453,7 @@ describe('DependencyGraph', function() {
|
|||
' */',
|
||||
'wazup()',
|
||||
].join('\n'),
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
var dgraph = new DependencyGraph({
|
||||
|
@ -2472,7 +2472,7 @@ describe('DependencyGraph', function() {
|
|||
'wontWork',
|
||||
'ember',
|
||||
'internalVendoredPackage',
|
||||
'anotherIndex'
|
||||
'anotherIndex',
|
||||
],
|
||||
isAsset: false,
|
||||
isAsset_DEPRECATED: false,
|
||||
|
|
|
@ -26,7 +26,7 @@ class ModuleCache {
|
|||
moduleCache: this,
|
||||
cache: this._cache,
|
||||
extractor: this._extractRequires,
|
||||
depGraphHelpers: this._depGraphHelpers
|
||||
depGraphHelpers: this._depGraphHelpers,
|
||||
});
|
||||
}
|
||||
return this._moduleCache[filePath];
|
||||
|
|
|
@ -56,7 +56,7 @@ describe('Module', () => {
|
|||
fastfs,
|
||||
moduleCache: new ModuleCache(fastfs, cache),
|
||||
cache: cache,
|
||||
depGraphHelpers: new DependencyGraphHelpers()
|
||||
depGraphHelpers: new DependencyGraphHelpers(),
|
||||
});
|
||||
|
||||
return module.getAsyncDependencies().then(actual =>
|
||||
|
@ -130,7 +130,7 @@ describe('Module', () => {
|
|||
moduleCache: new ModuleCache(fastfs, cache),
|
||||
cache,
|
||||
extractor,
|
||||
depGraphHelpers: new DependencyGraphHelpers()
|
||||
depGraphHelpers: new DependencyGraphHelpers(),
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue