mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
refactor: infer type for it() assertion functions (#19904)
PR Close #19904
This commit is contained in:
committed by
Miško Hevery
parent
809e8f742e
commit
e01b539ee5
@@ -595,7 +595,7 @@ describe('DocViewerComponent', () => {
|
||||
describe(`(.${NO_ANIMATIONS}: ${noAnimations})`, () => {
|
||||
beforeEach(() => docViewerEl.classList[noAnimations ? 'add' : 'remove'](NO_ANIMATIONS));
|
||||
|
||||
it('should return an observable', (done: DoneFn) => {
|
||||
it('should return an observable', done => {
|
||||
docViewer.swapViews().subscribe(done, done.fail);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user