🐛(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(
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
import fs from 'fs';
|
||||
import path from 'path';
|
||||
|
||||
import { hideBin } from 'yargs/helpers';
|
||||
import yargs from 'yargs/yargs';
|
||||
import yargs from 'yargs';
|
||||
|
||||
// Get our args
|
||||
const argv = yargs(hideBin(process.argv)).argv;
|
||||
const argv = yargs(process.argv).argv;
|
||||
const { app, output } = argv;
|
||||
|
||||
const folderPath = './locales/' + app;
|
||||
|
||||
Reference in New Issue
Block a user