fix(deps): update dependency @digdir/design-system-react to v0.37.0 #8871
frontend-unit-tests.yml
on: push
CodeQL
2m 51s
Typechecking and linting
1m 54s
Testing
6m 27s
Building
2m 35s
Annotations
3 errors
ProfileMenu › should match snapshot:
frontend/packages/shared/src/navigation/main-header/ProfileMenu/ProfileMenu.test.tsx#L31
expect(received).toMatchSnapshot()
Snapshot name: `ProfileMenu should match snapshot 1`
- Snapshot - 1
+ Received + 1
@@ -1,8 +1,8 @@
<button
aria-haspopup="true"
- class="Button-module_button__oVUcI utility-module_focusable__y1VLB Button-module_medium__mNn-w Button-module_tertiary__eJ-qG Button-module_inverted__bikfA"
+ class="fds-button-button fds-utility-focusable fds-button-medium fds-button-tertiary fds-button-inverted"
data-testid="profileButton"
type="button"
>
<span />
<img
at Object.toMatchSnapshot (packages/shared/src/navigation/main-header/ProfileMenu/ProfileMenu.test.tsx:31:34)
|
ProfileMenu › should match snapshot with logout text:
frontend/packages/shared/src/navigation/main-header/ProfileMenu/ProfileMenu.test.tsx#L37
expect(received).toMatchSnapshot()
Snapshot name: `ProfileMenu should match snapshot with logout text 1`
- Snapshot - 1
+ Received + 1
@@ -1,8 +1,8 @@
<button
aria-haspopup="true"
- class="Button-module_button__oVUcI utility-module_focusable__y1VLB Button-module_medium__mNn-w Button-module_tertiary__eJ-qG Button-module_inverted__bikfA"
+ class="fds-button-button fds-utility-focusable fds-button-medium fds-button-tertiary fds-button-inverted"
data-testid="profileButton"
type="button"
>
<span />
<img
at Object.toMatchSnapshot (packages/shared/src/navigation/main-header/ProfileMenu/ProfileMenu.test.tsx:37:34)
|
Testing
Process completed with exit code 1.
|