Skip to content

Commit f385ce9

Browse files
committed
Fix test
1 parent c98a8dd commit f385ce9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/modules/resources/useAgentLogs.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ describe("useAgentLogs", () => {
3333

3434
// Disable the hook
3535
rerender({ enabled: false });
36-
expect(result.current).toBeUndefined();
36+
expect(result.current).toHaveLength(0);
3737

3838
// Enable the hook again
3939
rerender({ enabled: true });

0 commit comments

Comments
 (0)