test(hooks): remove unsafe test assertions
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -22,9 +22,9 @@ function createOutput(): HookOutput {
|
||||
}
|
||||
|
||||
function createHookContext(showToast: (input: unknown) => Promise<unknown>): PluginInput {
|
||||
return {
|
||||
return testCoerce<PluginInput>({
|
||||
client: { tui: { showToast } },
|
||||
} as unknown as PluginInput
|
||||
})
|
||||
}
|
||||
|
||||
describe("no-sisyphus-gpt hook", () => {
|
||||
|
||||
Reference in New Issue
Block a user