Commit af0d2a86 authored by Dennis Willers's avatar Dennis Willers 🏀

Try fix Element not found bug - Second Try

parent ee25e4f7
Pipeline #372 failed with stages
in 3 minutes and 46 seconds
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from '@angular/core';
import { RulesComponent } from './rules.component';
......@@ -7,16 +7,10 @@ describe('RulesComponent', () => {
let component: RulesComponent;
let fixture: ComponentFixture<RulesComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ RulesComponent ],
schemas: [CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA]
}).compileComponents();
}));
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ RulesComponent ]
declarations: [ RulesComponent ],
schemas: [CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA]
})
.compileComponents();
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment