Update test expectations

This commit is contained in:
Yury Semikhatsky 2024-07-16 15:27:02 -07:00
parent 437fc8c1cc
commit 746acd4158

View file

@ -99,8 +99,8 @@ test(`testInfo.attach errors`, async ({ runInlineTest }) => {
const text = result.output.replace(/\\/g, '/');
expect(text).toMatch(/Error: ENOENT: no such file or directory, copyfile '.*foo.txt.*'/);
expect(text).toContain(`Exactly one of "path" and "body" must be specified`);
expect(result.passed).toBe(0);
expect(result.failed).toBe(3);
expect(result.passed).toBe(1);
expect(result.failed).toBe(2);
expect(result.exitCode).toBe(1);
});