Skip to content

Pr/membership

Pr/membership #400

Triggered via pull request November 13, 2024 23:27
Status Failure
Total duration 3m 6s
Artifacts

node.js.yml

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

Annotations

5 errors and 2 warnings
src/components/surface/__tests__/CdrSurface.spec.js > CdrSurface > snapshot test > renders correctly: src/components/surface/__tests__/CdrSurface.spec.js#L17
Error: Snapshot `CdrSurface > snapshot test > renders correctly 1` mismatched - Expected + Received <div - class="cdr-surface cdr-surface--modifier-default cdr-surface--background-primary cdr-surface--radius-sharp cdr-surface--shadow-flat" + class="cdr-surface cdr-surface--modifier-default cdr-surface--background-primary cdr-surface--radius-sharp cdr-surface--shadow-flat palette-default" + data-palette="default" > <!-- @slot Where all default content should be placed. --> </div> ❯ src/components/surface/__tests__/CdrSurface.spec.js:17:31
src/components/surface/__tests__/CdrSurface.spec.js > CdrSurface > component unit tests > default component with no configuration > renders correctly: src/components/surface/__tests__/CdrSurface.spec.js#L29
Error: Snapshot `CdrSurface > component unit tests > default component with no configuration > renders correctly 1` mismatched - Expected + Received <div - class="cdr-surface cdr-surface--modifier-default cdr-surface--background-primary cdr-surface--radius-sharp cdr-surface--shadow-flat" + class="cdr-surface cdr-surface--modifier-default cdr-surface--background-primary cdr-surface--radius-sharp cdr-surface--shadow-flat palette-default" + data-palette="default" > <!-- @slot Where all default content should be placed. --> </div> ❯ src/components/surface/__tests__/CdrSurface.spec.js:29:33
src/components/surface/__tests__/CdrSurface.spec.js > CdrSurface > component unit tests > default component with no configuration > default class added: src/components/surface/__tests__/CdrSurface.spec.js#L35
AssertionError: expected [ 'cdr-surface', …(5) ] to deeply equal [ 'cdr-surface', …(4) ] - Expected + Received Array [ "cdr-surface", "cdr-surface--modifier-default", "cdr-surface--background-primary", "cdr-surface--radius-sharp", "cdr-surface--shadow-flat", + "palette-default", ] ❯ src/components/surface/__tests__/CdrSurface.spec.js:35:35
src/components/surface/__tests__/CdrSurface.spec.js > CdrSurface > component unit tests > when "tag" is set to "a" > renders correctly: src/components/surface/__tests__/CdrSurface.spec.js#L50
Error: Snapshot `CdrSurface > component unit tests > when "tag" is set to "a" > renders correctly 1` mismatched - Expected + Received <a - class="cdr-surface cdr-surface--modifier-default cdr-surface--background-primary cdr-surface--radius-sharp cdr-surface--shadow-flat" + class="cdr-surface cdr-surface--modifier-default cdr-surface--background-primary cdr-surface--radius-sharp cdr-surface--shadow-flat palette-default" + data-palette="default" > <!-- @slot Where all default content should be placed. --> </a> ❯ src/components/surface/__tests__/CdrSurface.spec.js:50:33
build (20.x)
Process completed with exit code 1.
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@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (20.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/