mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 00:21:07 +08:00
fix types
This commit is contained in:
parent
07867c8d4e
commit
a972797db5
@ -87,7 +87,7 @@ beforeEach(() => {
|
||||
provider.serverChannel = mockChannel();
|
||||
mockGetEntries.mockReset().mockReturnValue(mockEntries);
|
||||
|
||||
(global.fetch as ReturnType<typeof jest.fn<typeof global.fetch>>).mockReset().mockReturnValue(
|
||||
(global.fetch as jest.Mock<ReturnType<typeof global.fetch>>).mockReset().mockReturnValue(
|
||||
Promise.resolve({
|
||||
status: 200,
|
||||
ok: true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user