Przeglądaj źródła

test(workspace-context): cover unsized dynamic probe

_Kerman 2 miesięcy temu
rodzic
commit
5d10074839

+ 1 - 0
packages/context/workspace-context/tests/workspace-context.spec.ts

@@ -2115,6 +2115,7 @@ describe('dynamic nested workspace context injection', () => {
       const instructionPath = join(root, 'pkg/AGENTS.md')
       fs.entries.set(join(root, '.git'), { type: 'directory' })
       fs.entries.set(instructionPath, { type: 'file', content: 'nested package rule' })
+      fs.omitSizes.add(instructionPath)
       fs.entries.set(join(root, 'pkg/file.txt'), { type: 'file', content: 'hello' })
       await ctx.plugin(ToolFs)
       await ctx.plugin(workspaceContext, { dshHome: home, maxBytes: 65536 })