Update test expectations
This commit is contained in:
parent
437fc8c1cc
commit
746acd4158
|
|
@ -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);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue