summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/hooks/useHistoryManager.test.ts
diff options
context:
space:
mode:
authorJosh Soref <[email protected]>2025-07-21 17:54:44 -0400
committerGitHub <[email protected]>2025-07-21 21:54:44 +0000
commitdc2ac144b7059ec2d66f1e90316df40d3822c8b5 (patch)
tree63c9bece313ae92c841ab2808253c9cc6eaee755 /packages/cli/src/ui/hooks/useHistoryManager.test.ts
parent8be5f8038a50fb5b2010590c8a18a4558da1663c (diff)
Various spelling improvements (#3497)
Signed-off-by: Josh Soref <[email protected]> Co-authored-by: Sandy Tao <[email protected]>
Diffstat (limited to 'packages/cli/src/ui/hooks/useHistoryManager.test.ts')
-rw-r--r--packages/cli/src/ui/hooks/useHistoryManager.test.ts4
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);