formatting
This commit is contained in:
parent
4ac8787ea0
commit
0c8b994a14
|
|
@ -28,11 +28,6 @@ Call log.
|
|||
|
||||
Error message. Set when [Error] (or its subclass) has been thrown.
|
||||
|
||||
## property: TestError.message
|
||||
* since: v1.10
|
||||
- type: ?<[string]>
|
||||
|
||||
Error message. Set when [Error] (or its subclass) has been thrown.
|
||||
## property: TestError.shortMessage
|
||||
* since: v1.49
|
||||
- type: ?<[string]>
|
||||
|
|
|
|||
1
packages/playwright/types/testReporter.d.ts
vendored
1
packages/playwright/types/testReporter.d.ts
vendored
|
|
@ -287,6 +287,7 @@ export interface JSONReportTest {
|
|||
export interface JSONReportError {
|
||||
message: string;
|
||||
location?: Location;
|
||||
|
||||
actual?: any;
|
||||
expected?: any;
|
||||
log?: Array<string>;
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ test('should report matcherResults for generic matchers', async ({ runInlineTest
|
|||
expect(result.exitCode).toBe(1);
|
||||
|
||||
const { errors } = result.report.suites[0].specs[0].tests[0].results[0];
|
||||
expect( errors).toEqual([
|
||||
expect(errors).toEqual([
|
||||
{ expected: 2, actual: 1 },
|
||||
{ },
|
||||
{ },
|
||||
|
|
|
|||
Loading…
Reference in a new issue