Optimise Jest run in CI (#9542)
This commit is contained in:
@@ -25,7 +25,7 @@ import SettingsStore from '../src/settings/SettingsStore';
|
||||
jest.mock("../src/settings/SettingsStore");
|
||||
|
||||
const enableHtmlTopicFeature = () => {
|
||||
mocked(SettingsStore).getValue.mockImplementation((arg) => {
|
||||
mocked(SettingsStore).getValue.mockImplementation((arg): any => {
|
||||
return arg === "feature_html_topic";
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user