test: fix useSnowfall tests

This commit is contained in:
mkorwel
2026-04-18 22:38:35 +00:00
parent e3911e0c95
commit 909911c9b8
@@ -53,6 +53,7 @@ describe('useSnowfall', () => {
() => useSnowfall(mockArt),
{
uiState: { history: [], historyRemountKey: 0 } as Partial<UIState>,
allowEmptyFrame: true,
},
);
@@ -67,6 +68,7 @@ describe('useSnowfall', () => {
() => useSnowfall(mockArt),
{
uiState: { history: [], historyRemountKey: 0 } as Partial<UIState>,
allowEmptyFrame: true,
},
);
@@ -88,6 +90,7 @@ describe('useSnowfall', () => {
() => useSnowfall(mockArt),
{
uiState: { history: [], historyRemountKey: 0 } as Partial<UIState>,
allowEmptyFrame: true,
},
);
@@ -103,6 +106,7 @@ describe('useSnowfall', () => {
() => useSnowfall(mockArt),
{
uiState: { history: [], historyRemountKey: 0 } as Partial<UIState>,
allowEmptyFrame: true,
},
);
@@ -118,6 +122,7 @@ describe('useSnowfall', () => {
history: [{ type: 'user', text: 'hello' }],
historyRemountKey: 0,
} as Partial<UIState>,
allowEmptyFrame: true,
},
);