diff options
Diffstat (limited to 'packages/cli/src/ui/hooks/useHistoryManager.test.ts')
| -rw-r--r-- | packages/cli/src/ui/hooks/useHistoryManager.test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/cli/src/ui/hooks/useHistoryManager.test.ts b/packages/cli/src/ui/hooks/useHistoryManager.test.ts index c7f925e2..b3245eb0 100644 --- a/packages/cli/src/ui/hooks/useHistoryManager.test.ts +++ b/packages/cli/src/ui/hooks/useHistoryManager.test.ts @@ -92,7 +92,7 @@ describe('useHistoryManager', () => { }); }); - it('should not change history if updateHistoryItem is called with a non-existent ID', () => { + it('should not change history if updateHistoryItem is called with a nonexistent ID', () => { const { result } = renderHook(() => useHistory()); const timestamp = Date.now(); const itemData: Omit<HistoryItem, 'id'> = { @@ -107,7 +107,7 @@ describe('useHistoryManager', () => { const originalHistory = [...result.current.history]; // Clone before update attempt act(() => { - result.current.updateItem(99999, { text: 'Should not apply' }); // Non-existent ID + result.current.updateItem(99999, { text: 'Should not apply' }); // Nonexistent ID }); expect(result.current.history).toEqual(originalHistory); |
