mirror of
https://github.com/strapi/strapi.git
synced 2025-09-23 07:22:51 +00:00
useEditFolder: Fix tests
This commit is contained in:
parent
a86a3bc2bb
commit
d413735a6b
@ -25,7 +25,7 @@ console.error = jest.fn().mockImplementation();
|
||||
jest.mock('../../utils', () => ({
|
||||
...jest.requireActual('../../utils'),
|
||||
axiosInstance: {
|
||||
get: jest.fn().mockResolvedValue(),
|
||||
put: jest.fn().mockResolvedValue({ name: 'folder-created' }),
|
||||
post: jest.fn().mockResolvedValue({ name: 'folder-created' }),
|
||||
},
|
||||
}));
|
||||
|
Loading…
x
Reference in New Issue
Block a user