mirror of
https://github.com/deepseek-ai/deepseek-harness
synced 2026-08-15 21:04:50 +00:00
fix(invariants): finish current-master ownership migration
This commit is contained in:
@@ -110,16 +110,6 @@ describe('config validation', () => {
|
||||
await expect(setup({ maxInlineBytes: 1.5 })).rejects.toThrow(/non-negative integer/)
|
||||
})
|
||||
|
||||
it('rejects a configured policy that omits its post-execute listener', async () => {
|
||||
const ctx = new Context()
|
||||
await ctx.plugin(SystemPrompt)
|
||||
await ctx.plugin(ToolRegistry)
|
||||
await expect(ctx.plugin({
|
||||
name: 'spill-policy',
|
||||
inject: ['tools'],
|
||||
apply(_child: Context, _config: { maxInlineBytes?: number }) {},
|
||||
}, { maxInlineBytes: 10 })).rejects.toThrow(/listener must exist exactly when maxInlineBytes is configured/)
|
||||
})
|
||||
})
|
||||
|
||||
describe('oversized plain-text replacement', () => {
|
||||
|
||||
Reference in New Issue
Block a user