Skip to content

feat: display differentPixels, if available #738

feat: display differentPixels, if available

feat: display differentPixels, if available #738

Triggered via pull request March 4, 2024 03:11
Status Failure
Total duration 1m 27s
Artifacts

node.js.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 2 warnings
build (20.x): test/unit/lib/test-adapter/hermione.ts#L241
Type '{ currImg: { path: string; size: { width: number; height: number; }; }; diffClusters: never[]; diffOpts: any; message: string; name: "ImageDiffError"; refImg: { path: string; size: { width: number; height: number; }; }; stack: string; stateName: string; differentPixels: number; diffRatio: number; }' is not assignable to type 'AssertViewResult'.
build (20.x)
Process completed with exit code 2.
build (16.x)
The job was canceled because "_20_x" failed.
build (16.x): test/unit/lib/test-adapter/hermione.ts#L241
Type '{ currImg: { path: string; size: { width: number; height: number; }; }; diffClusters: never[]; diffOpts: any; message: string; name: "ImageDiffError"; refImg: { path: string; size: { width: number; height: number; }; }; stack: string; stateName: string; differentPixels: number; diffRatio: number; }' is not assignable to type 'AssertViewResult'.
build (16.x)
Process completed with exit code 2.
build (18.x)
The job was canceled because "_20_x" failed.
build (18.x)
The operation was canceled.
build (14.x)
The job was canceled because "_20_x" failed.
build (14.x)
The operation was canceled.
build (20.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (20.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/