mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-21 02:55:16 +00:00
test: tighten msteams feedback absence assertion
This commit is contained in:
parent
880c094407
commit
b9bd578d7c
1 changed files with 1 additions and 1 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue