mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-12 09:36:27 +00:00
yarn lint
rules seem to have changed a bit after upgrading packages
This commit is contained in:
@@ -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}>
|
||||
|
||||
Reference in New Issue
Block a user