test: avoid Windows metadata-version collision

This commit is contained in:
creatixchu
2026-08-17 23:31:36 +08:00
parent 8d17e63558
commit a8a028e26f
@@ -3267,7 +3267,7 @@ describe('dynamic nested workspace context injection', () => {
try {
await mkdir(join(root, '.git'), { recursive: true })
await write(join(root, 'pkg/AGENTS.md'), 'canonical nested rule')
await write(join(root, 'pkg/CLAUDE.md'), 'divergent nested rule')
await write(join(root, 'pkg/CLAUDE.md'), 'distinct nested instruction')
await write(join(root, 'pkg/file.txt'), 'hello')
const ctx = new Context()
await mountFileToolsAndWorkspaceContext(ctx, { dshHome: home, maxBytes: 65536 })
@@ -3279,7 +3279,7 @@ describe('dynamic nested workspace context injection', () => {
})
const firstText = blocksText(((await syncedWorkspaceContext(ctx, agent))).content)
expect(firstText).toContain('canonical nested rule')
expect(firstText).toContain('divergent nested rule')
expect(firstText).toContain('distinct nested instruction')
await appendAdditionalContexts(ctx, agent)
await write(join(root, 'pkg/CLAUDE.md'), 'canonical nested rule')
await ctx.tools.execute({