mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 16:11:33 +08:00
Fix lint errors
This commit is contained in:
parent
36a99faa8a
commit
c8a26a2c1f
@ -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);
|
||||
};
|
||||
|
@ -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);
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user