mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 15:31:16 +08:00
Fix lint errors
This commit is contained in:
parent
36a99faa8a
commit
c8a26a2c1f
@ -8,7 +8,7 @@ jest.mock('path', () => ({
|
|||||||
resolve: () => 'tsconfig.json',
|
resolve: () => 'tsconfig.json',
|
||||||
}));
|
}));
|
||||||
|
|
||||||
const setupFiles = files => {
|
const setupFiles = (files: any) => {
|
||||||
// eslint-disable-next-line no-underscore-dangle, global-require
|
// eslint-disable-next-line no-underscore-dangle, global-require
|
||||||
require('fs').__setMockFiles(files);
|
require('fs').__setMockFiles(files);
|
||||||
};
|
};
|
||||||
|
@ -6,7 +6,7 @@ jest.mock('path', () => ({
|
|||||||
resolve: () => 'tsconfig.json',
|
resolve: () => 'tsconfig.json',
|
||||||
}));
|
}));
|
||||||
|
|
||||||
const setupFiles = files => {
|
const setupFiles = (files: any) => {
|
||||||
// eslint-disable-next-line no-underscore-dangle, global-require
|
// eslint-disable-next-line no-underscore-dangle, global-require
|
||||||
require('fs').__setMockFiles(files);
|
require('fs').__setMockFiles(files);
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user