fix(hooks): remove dead delegate-task-english-directive hook
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
/// <reference types="bun-types" />
|
||||
|
||||
import { describe, expect, test } from "bun:test"
|
||||
import {
|
||||
AgentOverrideConfigSchema,
|
||||
@@ -405,6 +407,17 @@ describe("HookNameSchema", () => {
|
||||
//#then
|
||||
expect(result.success).toBe(false)
|
||||
})
|
||||
|
||||
test("rejects removed delegate-task-english-directive hook name", () => {
|
||||
//#given
|
||||
const input = "delegate-task-english-directive"
|
||||
|
||||
//#when
|
||||
const result = HookNameSchema.safeParse(input)
|
||||
|
||||
//#then
|
||||
expect(result.success).toBe(false)
|
||||
})
|
||||
})
|
||||
|
||||
describe("Sisyphus-Junior agent override", () => {
|
||||
|
||||
Reference in New Issue
Block a user