formatting

This commit is contained in:
Yury Semikhatsky 2024-10-16 18:06:38 -07:00
parent 4ac8787ea0
commit 0c8b994a14
3 changed files with 2 additions and 6 deletions

View file

@ -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]>

View file

@ -287,6 +287,7 @@ export interface JSONReportTest {
export interface JSONReportError {
message: string;
location?: Location;
actual?: any;
expected?: any;
log?: Array<string>;

View file

@ -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 },
{ },
{ },