Fix typo and change startup load hash behavior

This commit is contained in:
Jack Kingsman
2026-02-20 17:33:02 -08:00
parent a8a8f6e08b
commit 2321411ef0
3 changed files with 32 additions and 17 deletions
@@ -224,6 +224,7 @@ describe('App startup hash resolution', () => {
expect(node).toHaveTextContent(`channel:${chatChannel.key}:${chatChannel.name}`);
}
});
expect(window.location.hash).toBe('');
});
it('uses Public channel when hash is empty and reopen preference is disabled', async () => {
@@ -253,5 +254,6 @@ describe('App startup hash resolution', () => {
expect(node).toHaveTextContent(`channel:${publicChannel.key}:Public`);
}
});
expect(window.location.hash).toBe('');
});
});