diff --git a/packages/compiler-cli/ngcc/test/packages/configuration_spec.ts b/packages/compiler-cli/ngcc/test/packages/configuration_spec.ts index edf2a718cc..3be81f0fd8 100644 --- a/packages/compiler-cli/ngcc/test/packages/configuration_spec.ts +++ b/packages/compiler-cli/ngcc/test/packages/configuration_spec.ts @@ -157,32 +157,6 @@ runInEachFileSystem(() => { }); describe('at the project level', () => { - it('should return configuration for a package found in a project level file', () => { - loadTestFiles([{ - name: _Abs('/project-1/ngcc.config.js'), - contents: ` - module.exports = { - packages: { - 'package-1': { - entryPoints: { - './entry-point-1': {} - }, - }, - }, - };` - }]); - const readFileSpy = spyOn(fs, 'readFile').and.callThrough(); - const configuration = new NgccConfiguration(fs, _Abs('/project-1')); - expect(readFileSpy).toHaveBeenCalledWith(_Abs('/project-1/ngcc.config.js')); - - const config = - configuration.getConfig(_Abs('/project-1/node_modules/package-1'), '1.0.0'); - expect(config).toEqual({ - versionRange: '*', - entryPoints: {[_Abs('/project-1/node_modules/package-1/entry-point-1')]: {}} - }); - }); - it('should return configuration for a package found in a project level file', () => { loadTestFiles([{ name: _Abs('/project-1/ngcc.config.js'),