refactor(core): remove deprecated OpaqueToken (#18971)

BREAKING CHANGE: `OpaqueToken` has been removed as it was deprecated since v4. Use `InjectionToken` instead.
PR Close #18971
This commit is contained in:
Olivier Combe
2017-08-31 10:56:26 +02:00
committed by Miško Hevery
parent 36d37cc6ae
commit 3c4eef8a86
10 changed files with 19 additions and 65 deletions

View File

@ -37,8 +37,7 @@ describe('template codegen output', () => {
});
it('should write .ngfactory.js for .d.ts inputs', () => {
const factoryOutput =
path.join('node_modules', '@angular2-material', 'button', 'button.ngfactory.js');
const factoryOutput = path.join('node_modules', '@angular', 'common', 'index.ngfactory.js');
expect(fs.existsSync(factoryOutput)).toBeTruthy();
});