Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
97652c8
Update Emotion dependencies
tsullivan Jan 15, 2026
dd40898
debug the serializer
tsullivan Jan 15, 2026
9247292
remove comments from enzyme emotion serializer
tsullivan Jan 15, 2026
77a4fdc
set EMOTION_RUNTIME_AUTO_LABEL to true for dev runtime
tsullivan Jan 15, 2026
86675df
Enable Emotion runtime labeling in Jest to reduce snapshot failures
tsullivan Jan 16, 2026
5914b9f
Merge branch 'main' into renovate/main-emotion-dependencies
tsullivan Jan 20, 2026
fe5404c
switch to Babel's compile-time labeling
tsullivan Jan 20, 2026
519f136
update snapshots
tsullivan Jan 21, 2026
506f94e
Merge branch 'main' into renovate/main-emotion-dependencies
tsullivan Jan 21, 2026
c9a3d73
update more snapshots
tsullivan Jan 21, 2026
3d7267d
Merge branch 'main' into renovate/main-emotion-dependencies
tsullivan Jan 22, 2026
48fd633
component test setup
tsullivan Jan 22, 2026
982dfb6
fix(test): replace broken simulateError with mock approach
tsullivan Jan 22, 2026
7d5b631
Merge branch 'main' into renovate/main-emotion-dependencies
tsullivan Jan 22, 2026
c658cfd
Changes from node scripts/eslint_all_files --no-cache --fix
kibanamachine Jan 22, 2026
c6af5af
Merge branch 'main' into renovate/main-emotion-dependencies
tsullivan Jan 26, 2026
d9280ae
fix lint
tsullivan Jan 26, 2026
2995ee1
revert serializer change
tsullivan Jan 26, 2026
8f1c6e2
Merge branch 'main' into renovate/main-emotion-dependencies
tsullivan Jan 27, 2026
2f045a1
Merge branch 'main' into renovate/main-emotion-dependencies
tsullivan Jan 29, 2026
5c9c66e
Merge branch 'main' into renovate/main-emotion-dependencies
tsullivan Feb 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,11 @@
"@elastic/search-ui": "1.24.1",
"@elastic/search-ui-app-search-connector": "1.24.1",
"@elastic/search-ui-engines-connector": "1.24.1",
"@emotion/cache": "11.11.0",
"@emotion/css": "11.11.0",
"@emotion/react": "11.11.1",
"@emotion/serialize": "1.1.2",
"@emotion/styled": "11.11.0",
"@emotion/cache": "11.14.0",
"@emotion/css": "11.13.5",
"@emotion/react": "11.14.0",
"@emotion/serialize": "1.3.3",
"@emotion/styled": "11.14.1",
"@faker-js/faker": "9.7.0",
"@formatjs/icu-messageformat-parser": "2.11.1",
"@formatjs/intl": "2.10.2",
Expand Down

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.

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
Expand Up @@ -43,7 +43,7 @@ describe('BannersList', () => {
</Wrapper>
);
expect(container.innerHTML).toMatchInlineSnapshot(
`"<div class=\\"kbnGlobalBannerList\\"><div data-test-priority=\\"0\\" data-test-subj=\\"global-banner-item\\" class=\\"css-rhtlbg-BannerItem\\"><h1>Hello!</h1></div></div>"`
`"<div class=\\"kbnGlobalBannerList\\"><div data-test-priority=\\"0\\" data-test-subj=\\"global-banner-item\\" class=\\"css-1y3glo5\\"><h1>Hello!</h1></div></div>"`
);
});

Expand Down Expand Up @@ -92,7 +92,7 @@ describe('BannersList', () => {

// Two new banners should be rendered
expect(container.innerHTML).toMatchInlineSnapshot(
`"<div class=\\"kbnGlobalBannerList\\"><div data-test-priority=\\"1\\" data-test-subj=\\"global-banner-item\\" class=\\"css-rhtlbg-BannerItem\\"><h1>First Banner!</h1></div><div data-test-priority=\\"0\\" data-test-subj=\\"global-banner-item\\" class=\\"css-rhtlbg-BannerItem\\"><h1>Second banner!</h1></div></div>"`
`"<div class=\\"kbnGlobalBannerList\\"><div data-test-priority=\\"1\\" data-test-subj=\\"global-banner-item\\" class=\\"css-1y3glo5\\"><h1>First Banner!</h1></div><div data-test-priority=\\"0\\" data-test-subj=\\"global-banner-item\\" class=\\"css-1y3glo5\\"><h1>Second banner!</h1></div></div>"`
);
// Original banner should be unmounted
expect(unmount).toHaveBeenCalled();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/

import { useMemo } from 'react';
import type { CSSInterpolation } from '@emotion/css';
import type { CSSInterpolation } from '@emotion/serialize';
import type { UseEuiTheme } from '@elastic/eui';
import { useEuiTheme } from '@elastic/eui';

Expand Down
1 change: 1 addition & 0 deletions src/platform/packages/shared/kbn-test/jest-preset.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ module.exports = {
snapshotSerializers: [
'<rootDir>/src/platform/packages/shared/react/kibana_mount/test_helpers/react_mount_serializer.ts',
'enzyme-to-json/serializer',
'<rootDir>/src/platform/packages/shared/kbn-test/src/jest/setup/enzyme_emotion_serializer.js',
'<rootDir>/src/platform/packages/shared/kbn-test/src/jest/setup/emotion.js',
],

Expand Down
Loading