Fix lint errors

This commit is contained in:
Kai Röder 2019-06-07 23:19:50 +02:00
parent 36a99faa8a
commit c8a26a2c1f
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ jest.mock('path', () => ({
resolve: () => 'tsconfig.json',
}));
const setupFiles = files => {
const setupFiles = (files: any) => {
// eslint-disable-next-line no-underscore-dangle, global-require
require('fs').__setMockFiles(files);
};

View File

@ -6,7 +6,7 @@ jest.mock('path', () => ({
resolve: () => 'tsconfig.json',
}));
const setupFiles = files => {
const setupFiles = (files: any) => {
// eslint-disable-next-line no-underscore-dangle, global-require
require('fs').__setMockFiles(files);
};