test(core): expect CLAUDE.md fallbacks in the Windows drive-letter test (#64530)

Co-authored-by: James Long <james@anoma.ly>
This commit is contained in:
opencode-agent[bot]
2026-11-17 17:31:33 -05:00
committed by GitHub
Unverified
parent ea79f69bcf
commit b0cecfa496
@@ -622,7 +622,9 @@ describe("ConfigInstructionPlugin.Plugin", () => {
const watcher = yield* Watcher.Test
expect(yield* watcher.subscriptions()).toEqual([
{ path: path.join(global, "AGENTS.md"), type: "file" },
{ path: path.join(home, ".claude", "CLAUDE.md"), type: "file" },
{ path: path.join(directory, "AGENTS.md"), type: "file" },
{ path: path.join(directory, "CLAUDE.md"), type: "file" },
])
expect((yield* readInitial(yield* discovery.load())).text).toBe(
`Instructions from: ${path.join(directory, "AGENTS.md")}\nproject`,