Angular 2 でテストするとき、いつ TestBedで async 関数を使用しますか?
これはいつ使うの?
beforeEach(() => {
TestBed.configureTestingModule({
declarations: [MyModule],
schemas: [NO_ERRORS_SCHEMA],
});
});
で、これいつ使うの?
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [MyModule],
schemas: [NO_ERRORS_SCHEMA],
});
}));
誰でもこれについて教えてもらえますか?