refactor: infer type for it() assertion functions (#19904)

PR Close #19904
This commit is contained in:
George Kalpakas
2018-07-05 18:10:09 +03:00
committed by Miško Hevery
parent 809e8f742e
commit e01b539ee5
12 changed files with 74 additions and 74 deletions

View File

@ -11,7 +11,7 @@ import {MockFilesystem} from '../testing/mock';
{
describe('Generator', () => {
it('generates a correct config', (done: DoneFn) => {
it('generates a correct config', done => {
const fs = new MockFilesystem({
'/index.html': 'This is a test',
'/test.txt': 'Another test',
@ -112,7 +112,7 @@ import {MockFilesystem} from '../testing/mock';
.catch(err => done.fail(err));
});
it('uses default `navigationUrls` if not provided', (done: DoneFn) => {
it('uses default `navigationUrls` if not provided', done => {
const fs = new MockFilesystem({
'/index.html': 'This is a test',
});