mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-04-21 14:06:19 +00:00
Removed no longer needed eslint disable comments
This commit is contained in:
@@ -78,7 +78,7 @@ describe('<ImportServersBtn />', () => {
|
||||
const wrapper = createWrapper();
|
||||
const file = wrapper.find('.import-servers-btn__csv-select');
|
||||
|
||||
await file.simulate('change', { target: { files: [''] } }); // eslint-disable-line @typescript-eslint/await-thenable
|
||||
await file.simulate('change', { target: { files: [''] } });
|
||||
|
||||
expect(importServersFromFile).toHaveBeenCalledTimes(1);
|
||||
});
|
||||
|
||||
@@ -35,7 +35,7 @@ describe('ServersExporter', () => {
|
||||
beforeEach(() => {
|
||||
originalConsole = global.console;
|
||||
global.console = Mock.of<Console>({ error });
|
||||
(global as any).Blob = class Blob {}; // eslint-disable-line @typescript-eslint/no-extraneous-class
|
||||
(global as any).Blob = class Blob {};
|
||||
(global as any).URL = { createObjectURL: () => '' };
|
||||
});
|
||||
afterEach(() => {
|
||||
|
||||
Reference in New Issue
Block a user