Optimise Jest run in CI (#9542)
This commit is contained in:
parent
28ecdc0cb4
commit
04bc8fb71c
55 changed files with 1388 additions and 1305 deletions
|
@ -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";
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue