From f5c6f65955b873cf6083e928a8f91ab2780bd8bf Mon Sep 17 00:00:00 2001 From: geoffsee <> Date: Thu, 6 Mar 2025 08:29:42 -0500 Subject: [PATCH] fix failing test --- test/core.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/core.test.ts b/test/core.test.ts index 1544bc5..4c4071d 100644 --- a/test/core.test.ts +++ b/test/core.test.ts @@ -372,7 +372,7 @@ const a = 1; const rootIgnore = await markdownGenerator.getRootIgnore(); expect(readFileSpy).toHaveBeenCalledWith(rootIgnorePath, 'utf-8'); - expect(writeFileSpy).toHaveBeenCalledWith(rootIgnorePath, ''); + expect(writeFileSpy).toHaveBeenCalledWith(rootIgnorePath, 'todo\nprompt.md'); expect(rootIgnore).toBe(''); // Restore the original implementations