-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Upgrade EUI to v99.4.0 #212974
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade EUI to v99.4.0 #212974
Changes from all commits
ccc4179
b403c8b
24153f5
8c6fa4a
22a78d0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -667,12 +667,11 @@ describe('<ControlGeneralViewSelector />', () => { | |
| const selector = getByTestId('cloud-defend-selector'); | ||
|
|
||
| // should start as closed. | ||
| // there are two mock selectors, and the last one will auto open | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was incorrect. The old length of |
||
| expect( | ||
| await within(selector).findAllByRole('button', { | ||
| expanded: false, | ||
| }) | ||
| ).toHaveLength(2); | ||
| ).toHaveLength(1); | ||
| expect( | ||
| within(selector).queryByRole('button', { | ||
| expanded: true, | ||
|
|
@@ -696,7 +695,7 @@ describe('<ControlGeneralViewSelector />', () => { | |
| await within(selector).findAllByRole('button', { | ||
| expanded: true, | ||
| }) | ||
| ).toHaveLength(2); | ||
| ).toHaveLength(1); | ||
|
|
||
| expect(queryByTestId('cloud-defend-conditions-count')).not.toBeInTheDocument(); | ||
| }); | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With the updated types in https://github.com/elastic/eui/pull/8332/files#diff-86282e52a76bc99796d93869317a478caec87064dc42551ac89ca2fc2950a2d5 TS has a hard time getting the right type here resulting in
propsbeing of typeneverafter theisEuiCollapsibleNavItemPropscheck.We'll be reassessing EUI's more complex types to get rid of this and similar issues.