yarn lint

rules seem to have changed a bit after upgrading packages
This commit is contained in:
David Lechner
2021-05-11 12:45:43 -05:00
parent efb86b5a5c
commit ec6753c314
13 changed files with 212 additions and 156 deletions
+4 -4
View File
@@ -15,11 +15,11 @@ import { Store } from 'redux';
import AboutDialog from './AboutDialog';
it('should close when the button is clicked', () => {
const store = ({
const store = {
getState: jest.fn(() => ({ licenses: { list: null } })),
dispatch: jest.fn(),
subscribe: jest.fn(),
} as unknown) as Store;
} as unknown as Store;
const i18n = new I18nManager({ locale: 'en' });
const close = jest.fn();
render(
@@ -36,11 +36,11 @@ it('should close when the button is clicked', () => {
});
it('should manage license dialog open/close', async () => {
const store = ({
const store = {
getState: jest.fn(() => ({ licenses: { list: null } })),
dispatch: jest.fn(),
subscribe: jest.fn(),
} as unknown) as Store;
} as unknown as Store;
const i18n = new I18nManager({ locale: 'en' });
render(
<Provider store={store}>