mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-19 00:03:13 +03:00
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:
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`,
|
||||
|
||||
Reference in New Issue
Block a user