feat(ivy): ngcc - turn on CommonJS support (#30200)

PR Close #30200
This commit is contained in:
Pete Bacon Darwin
2019-04-29 18:51:52 +01:00
committed by Jason Aden
parent c7a9987067
commit e20b92ba37
6 changed files with 51 additions and 24 deletions

View File

@ -23,7 +23,7 @@ describe('findEntryPoints()', () => {
beforeEach(() => {
const fs = createMockFileSystem();
resolver = new DependencyResolver(
new MockLogger(), {esm2015: new EsmDependencyHost(fs, new ModuleResolver(fs))});
fs, new MockLogger(), {esm2015: new EsmDependencyHost(fs, new ModuleResolver(fs))});
spyOn(resolver, 'sortEntryPointsByDependency').and.callFake((entryPoints: EntryPoint[]) => {
return {entryPoints, ignoredEntryPoints: [], ignoredDependencies: []};
});