mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 19:10:42 +00:00
test: tighten msteams feedback absence assertion
This commit is contained in:
@@ -130,7 +130,7 @@ function createFeedbackInvokeContext(params: {
|
||||
}
|
||||
|
||||
async function expectFileMissing(filePath: string) {
|
||||
await expect(access(filePath)).rejects.toThrow();
|
||||
await expect(access(filePath)).rejects.toMatchObject({ code: "ENOENT" });
|
||||
}
|
||||
|
||||
async function withFeedbackHandler(params: {
|
||||
|
||||
Reference in New Issue
Block a user