Skip to content

Commit 73eac95

Browse files
author
Mopar
committed
Fixing broken unit test
1 parent ec4c59b commit 73eac95

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/app/app.component.spec.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
import { TestBed } from "@angular/core/testing";
22

33
import { AppComponent } from "./app.component";
4+
import { CUSTOM_ELEMENTS_SCHEMA } from "@angular/core";
45

56
describe("AppComponent", () => {
67

78
beforeEach(() => {
89
TestBed.configureTestingModule({
10+
schemas: [
11+
CUSTOM_ELEMENTS_SCHEMA
12+
],
913
declarations: [
1014
AppComponent
1115
]

0 commit comments

Comments
 (0)