Harden settings types (#33311)
* Harden settings types * Fix types * Update apps/web/src/emojipicker/recent.ts Co-authored-by: Will Hunt <2072976+Half-Shot@users.noreply.github.com> * Fix suggestion --------- Co-authored-by: Will Hunt <2072976+Half-Shot@users.noreply.github.com>
This commit is contained in:
co-authored by
Will Hunt
parent
4bee845010
commit
5ff302539e
@@ -557,7 +557,7 @@ describe("<MatrixChat />", () => {
|
||||
});
|
||||
|
||||
it("should not persist device language when not available", async () => {
|
||||
await SettingsStore.setValue("language", null, SettingLevel.DEVICE, undefined);
|
||||
await SettingsStore.setValue("language", null, SettingLevel.DEVICE, null);
|
||||
const languageBefore = SettingsStore.getValueAt(SettingLevel.DEVICE, "language", null, true, true);
|
||||
|
||||
jest.spyOn(Lifecycle, "attemptDelegatedAuthLogin");
|
||||
|
||||
Reference in New Issue
Block a user