diff --git a/modules/@angular/core/test/linker/integration_spec.ts b/modules/@angular/core/test/linker/integration_spec.ts index 04be3a6f80..84e434c0c0 100644 --- a/modules/@angular/core/test/linker/integration_spec.ts +++ b/modules/@angular/core/test/linker/integration_spec.ts @@ -1751,59 +1751,6 @@ function declareTests(isJit: boolean) { })); }); - // Disabled until a solution is found, refs: - // - https://github.com/angular/angular/issues/776 - // - https://github.com/angular/angular/commit/81f3f32 - xdescribe('Missing directive checks', () => { - function expectCompileError(tcb, inlineTpl, errMessage, done) { - tcb = tcb.overrideView(MyComp, new ViewMetadata({template: inlineTpl})); - PromiseWrapper.then( - tcb.createAsync(MyComp), - (value) => { - throw new BaseException( - "Test failure: should not have come here as an exception was expected"); - }, - (err) => { - expect(err.message).toEqual(errMessage); - done(); - }); - } - - if (assertionsEnabled()) { - it('should raise an error if no directive is registered for a template with template bindings', - inject([TestComponentBuilder, AsyncTestCompleter], (tcb: TestComponentBuilder, - async) => { - expectCompileError(tcb, '