Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stil committed Sep 24, 2024
1 parent 69f3c93 commit 41e633c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exports[`EuiModal renders 1`] = `
<body>
<div />
<div
class="euiOverlayMask emotion-euiOverlayMask-aboveHeader"
class="euiOverlayMask css-5vqto6"
data-euiportal="true"
data-relative-to-header="above"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exports[`EuiOverlayMask props headerZindexLocation 1`] = `
<body>
<div />
<div
class="euiOverlayMask emotion-euiOverlayMask-belowHeader"
class="euiOverlayMask css-xdflgg"
data-euiportal="true"
data-relative-to-header="below"
>
Expand All @@ -18,7 +18,7 @@ exports[`EuiOverlayMask renders 1`] = `
<div />
<div
aria-label="aria-label"
class="euiOverlayMask emotion-euiOverlayMask-aboveHeader testClass1 testClass2 emotion-euiTestCss"
class="euiOverlayMask css-5vqto6 testClass1 testClass2 emotion-euiTestCss"
data-euiportal="true"
data-relative-to-header="above"
data-test-subj="test subject string"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ describe('EuiOverlayMask', () => {
baseElement.querySelector('.euiOverlayMask')!.className;

expect(getClassName()).toMatchInlineSnapshot(
`"euiOverlayMask css-1hzbeld-euiOverlayMask-aboveHeader hello"`
`"euiOverlayMask css-5vqto6 hello"`
);

rerender(
Expand All @@ -54,7 +54,7 @@ describe('EuiOverlayMask', () => {
</EuiOverlayMask>
);
expect(getClassName()).toMatchInlineSnapshot(
`"euiOverlayMask css-1j0pa91-euiOverlayMask-belowHeader world"`
`"euiOverlayMask css-xdflgg world"`
);
});

Expand Down

0 comments on commit 41e633c

Please sign in to comment.