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:
parent
85b5c365fc
commit
3d5bcd5883
|
@ -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');
|
||||||
|
|
|
@ -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');
|
||||||
|
|
|
@ -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());
|
||||||
|
|
Loading…
Reference in New Issue