docs: add missing `await` to `BannerComponent` unit test (#42336)
PR Close #42336
This commit is contained in:
parent
caf15da651
commit
da1a868ec2
|
@ -28,11 +28,9 @@ describe('BannerComponent (external files)', () => {
|
||||||
describe('Two beforeEach', () => {
|
describe('Two beforeEach', () => {
|
||||||
// #docregion async-before-each
|
// #docregion async-before-each
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
TestBed
|
await TestBed.configureTestingModule({
|
||||||
.configureTestingModule({
|
declarations: [ BannerComponent ],
|
||||||
declarations: [ BannerComponent ],
|
}).compileComponents(); // compile template and css
|
||||||
})
|
|
||||||
.compileComponents(); // compile template and css
|
|
||||||
});
|
});
|
||||||
// #enddocregion async-before-each
|
// #enddocregion async-before-each
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue