perf: Variety of small type and performance fixes (#2367)

This commit is contained in:
Dermot Duffy
2026-02-22 15:02:14 -08:00
committed by GitHub
parent 0f8c758d38
commit 497e6e88a0
10 changed files with 82 additions and 53 deletions
@@ -22,7 +22,7 @@ describe('OverlayMessageManager', () => {
it('should set and get message', () => {
const manager = new OverlayMessageManager(api);
const message = { message: 'foo' };
const message = { text: 'foo' };
manager.setMessage(message);
expect(manager.getMessage()).toBe(message);
@@ -32,7 +32,7 @@ describe('OverlayMessageManager', () => {
it('should reset message', () => {
const manager = new OverlayMessageManager(api);
manager.setMessage({ message: 'foo' });
manager.setMessage({ text: 'foo' });
vi.clearAllMocks();
manager.reset();