Skip to content

Commit 3a71869

Browse files
committed
fix(components): use CUSTOM_ELEMENTS_SCHEMA instead of NO_ERRORS...
1 parent 33a4fef commit 3a71869

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/app/components/nested.component.spec.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Component, NO_ERRORS_SCHEMA } from '@angular/core';
1+
import { Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
22
/* tslint:disable:no-unused-variable */
33
import { ComponentFixture, TestBed, async } from '@angular/core/testing';
44

@@ -45,8 +45,8 @@ describe('NestedComponentTesting', () => {
4545
beforeEach(async(() => {
4646
TestBed.configureTestingModule({
4747
declarations: [NestedComponentTesting],
48-
schemas: [NO_ERRORS_SCHEMA]
49-
}).compileComponents();
48+
schemas: [CUSTOM_ELEMENTS_SCHEMA]
49+
});
5050
}));
5151

5252
beforeEach(() => {

0 commit comments

Comments
 (0)