Optimise Jest run in CI (#9542)
This commit is contained in:
parent
28ecdc0cb4
commit
04bc8fb71c
55 changed files with 1388 additions and 1305 deletions
|
@ -479,7 +479,5 @@ describe('<LocationShareMenu />', () => {
|
|||
|
||||
function enableSettings(settings: string[]) {
|
||||
mocked(SettingsStore).getValue.mockReturnValue(false);
|
||||
mocked(SettingsStore).getValue.mockImplementation(
|
||||
(settingName: string) => settings.includes(settingName),
|
||||
);
|
||||
mocked(SettingsStore).getValue.mockImplementation((settingName: string): any => settings.includes(settingName));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue