test(ngcc): update dependency host test description (#34695)

The `describe` description did not match the name of the
method.

PR Close #34695
This commit is contained in:
Pete Bacon Darwin 2020-01-15 08:17:18 +00:00 committed by atscott
parent 85b5c365fc
commit 3d5bcd5883
3 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ runInEachFileSystem(() => {
host = new DtsDependencyHost(fs); host = new DtsDependencyHost(fs);
}); });
describe('getDependencies()', () => { describe('collectDependencies()', () => {
it('should not generate a TS AST if the source does not contain any imports or re-exports', it('should not generate a TS AST if the source does not contain any imports or re-exports',
() => { () => {
spyOn(ts, 'createSourceFile'); spyOn(ts, 'createSourceFile');

View File

@ -27,7 +27,7 @@ runInEachFileSystem(() => {
host = new EsmDependencyHost(fs, new ModuleResolver(fs)); host = new EsmDependencyHost(fs, new ModuleResolver(fs));
}); });
describe('getDependencies()', () => { describe('collectDependencies()', () => {
it('should not generate a TS AST if the source does not contain any imports or re-exports', it('should not generate a TS AST if the source does not contain any imports or re-exports',
() => { () => {
spyOn(ts, 'createSourceFile'); spyOn(ts, 'createSourceFile');

View File

@ -26,7 +26,7 @@ runInEachFileSystem(() => {
host = new UmdDependencyHost(fs, new ModuleResolver(fs)); host = new UmdDependencyHost(fs, new ModuleResolver(fs));
}); });
describe('getDependencies()', () => { describe('collectDependencies()', () => {
it('should not generate a TS AST if the source does not contain any require calls', () => { it('should not generate a TS AST if the source does not contain any require calls', () => {
spyOn(ts, 'createSourceFile'); spyOn(ts, 'createSourceFile');
host.collectDependencies(_('/no/imports/or/re-exports/index.js'), createDependencyInfo()); host.collectDependencies(_('/no/imports/or/re-exports/index.js'), createDependencyInfo());