You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-07 21:23:00 +03:00
Optimise Jest run in CI (#9542)
This commit is contained in:
committed by
GitHub
parent
28ecdc0cb4
commit
04bc8fb71c
@@ -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));
|
||||
}
|
||||
|
Reference in New Issue
Block a user