🐛(tests) fix lint-front and test-front errors
fix dependency import error and failing e2e tests due to @tanstack upgrade
This commit is contained in:
committed by
BEY Quentin
parent
fa7d24545f
commit
490fdd2ed4
@@ -76,6 +76,7 @@ describe('useDeleteMailDomainAccess', () => {
|
||||
undefined,
|
||||
{ slug: 'example-slug', accessId: '1-1-1-1-1' },
|
||||
undefined,
|
||||
{ client: {}, meta: undefined, mutationKey: undefined },
|
||||
),
|
||||
);
|
||||
expect(fetchMock.lastUrl()).toContain(
|
||||
|
||||
@@ -104,7 +104,8 @@ describe('useUpdateMailDomainAccess', () => {
|
||||
expect(onSuccess).toHaveBeenCalledWith(
|
||||
mockResponse, // data
|
||||
{ slug: 'example-slug', accessId: '1-1-1-1-1', role: Role.VIEWER }, // variables
|
||||
undefined, // context
|
||||
undefined, // onMutateResult
|
||||
{ client: {}, meta: undefined, mutationKey: undefined }, // context
|
||||
),
|
||||
);
|
||||
expect(fetchMock.lastUrl()).toContain(
|
||||
|
||||
Reference in New Issue
Block a user