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', () => {
|
||||
// #docregion async-before-each
|
||||
beforeEach(async () => {
|
||||
TestBed
|
||||
.configureTestingModule({
|
||||
await TestBed.configureTestingModule({
|
||||
declarations: [ BannerComponent ],
|
||||
})
|
||||
.compileComponents(); // compile template and css
|
||||
}).compileComponents(); // compile template and css
|
||||
});
|
||||
// #enddocregion async-before-each
|
||||
|
||||
|
|
Loading…
Reference in New Issue