docs: add missing `await` to `BannerComponent` unit test (#42336)

PR Close #42336
This commit is contained in:
Sam Severance 2021-05-26 08:31:14 -04:00 committed by Zach Arend
parent caf15da651
commit da1a868ec2
1 changed files with 3 additions and 5 deletions

View File

@ -28,11 +28,9 @@ describe('BannerComponent (external files)', () => {
describe('Two beforeEach', () => {
// #docregion async-before-each
beforeEach(async () => {
TestBed
.configureTestingModule({
declarations: [ BannerComponent ],
})
.compileComponents(); // compile template and css
await TestBed.configureTestingModule({
declarations: [ BannerComponent ],
}).compileComponents(); // compile template and css
});
// #enddocregion async-before-each