Merge pull request #10709 from nixocio/ui_fix_lint

Run prettier and lint
This commit is contained in:
Kersom
2021-07-21 17:15:48 -04:00
committed by GitHub

View File

@@ -38,15 +38,15 @@ global.console = {
},
};
const logNetworkRequestError = url => {
const logNetworkRequestError = (url) => {
networkRequestUrl = url || true;
return {
status: 200,
data: {},
};
};
jest.mock('axios', () => {
return {
jest.mock('axios', () => ({
create: () => ({
get: logNetworkRequestError,
post: logNetworkRequestError,
@@ -60,8 +60,7 @@ jest.mock('axios', () => {
},
},
}),
};
});
}));
afterEach(() => {
if (networkRequestUrl) {