chore: migrate monorepo to jest 28#26958
Merged
Hotell merged 4 commits intomicrosoft:masterfrom Feb 28, 2023
Merged
Conversation
3 tasks
c6cf9f9 to
79ce5ce
Compare
Collaborator
📊 Bundle size reportUnchanged fixtures
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: d0ed2a639c67c59beba2225f7894376718f4c167 (build) |
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 0368cfa:
|
Collaborator
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 1326 | 1307 | 5000 | |
| Button | mount | 934 | 949 | 5000 | |
| Field | mount | 2090 | 2005 | 5000 | |
| FluentProvider | mount | 1603 | 1637 | 5000 | |
| FluentProviderWithTheme | mount | 623 | 639 | 10 | |
| FluentProviderWithTheme | virtual-rerender | 604 | 597 | 10 | |
| FluentProviderWithTheme | virtual-rerender-with-unmount | 617 | 630 | 10 | |
| InfoButton | mount | 564 | 568 | 5000 | |
| MakeStyles | mount | 1936 | 1928 | 50000 | |
| Persona | mount | 3049 | 3012 | 5000 | |
| SpinButton | mount | 2414 | 2469 | 5000 |
Collaborator
Perf Analysis (
|
Collaborator
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| BaseButton | mount | 1183 | 1195 | 5000 | |
| Breadcrumb | mount | 2948 | 2946 | 1000 | |
| Checkbox | mount | 2632 | 2657 | 5000 | |
| CheckboxBase | mount | 2338 | 2360 | 5000 | |
| ChoiceGroup | mount | 4405 | 4459 | 5000 | |
| ComboBox | mount | 1249 | 1235 | 1000 | |
| CommandBar | mount | 9450 | 9501 | 1000 | |
| ContextualMenu | mount | 13526 | 13515 | 1000 | |
| DefaultButton | mount | 1374 | 1402 | 5000 | |
| DetailsRow | mount | 3423 | 3448 | 5000 | |
| DetailsRowFast | mount | 3507 | 3450 | 5000 | |
| DetailsRowNoStyles | mount | 3330 | 3277 | 5000 | |
| Dialog | mount | 3072 | 3101 | 1000 | |
| DocumentCardTitle | mount | 574 | 579 | 1000 | |
| Dropdown | mount | 3204 | 3212 | 5000 | |
| FocusTrapZone | mount | 1961 | 1966 | 5000 | |
| FocusZone | mount | 1956 | 1954 | 5000 | |
| GroupedList | mount | 50944 | 57691 | 2 | |
| GroupedList | virtual-rerender | 23737 | 24198 | 2 | |
| GroupedList | virtual-rerender-with-unmount | 92112 | 92841 | 2 | |
| GroupedListV2 | mount | 549 | 567 | 2 | |
| GroupedListV2 | virtual-rerender | 550 | 530 | 2 | |
| GroupedListV2 | virtual-rerender-with-unmount | 547 | 556 | 2 | |
| IconButton | mount | 1882 | 1891 | 5000 | |
| Label | mount | 722 | 724 | 5000 | |
| Layer | mount | 4275 | 4331 | 5000 | |
| Link | mount | 837 | 853 | 5000 | |
| MenuButton | mount | 1689 | 1697 | 5000 | |
| MessageBar | mount | 2270 | 2261 | 5000 | |
| Nav | mount | 3226 | 3253 | 1000 | |
| OverflowSet | mount | 1375 | 1363 | 5000 | |
| Panel | mount | 2542 | 2543 | 1000 | |
| Persona | mount | 1319 | 1297 | 1000 | |
| Pivot | mount | 1637 | 1621 | 1000 | |
| PrimaryButton | mount | 1519 | 1528 | 5000 | |
| Rating | mount | 6918 | 6904 | 5000 | |
| SearchBox | mount | 1545 | 1517 | 5000 | |
| Shimmer | mount | 2854 | 2894 | 5000 | |
| Slider | mount | 2107 | 2072 | 5000 | |
| SpinButton | mount | 4611 | 4607 | 5000 | |
| Spinner | mount | 790 | 780 | 5000 | |
| SplitButton | mount | 3059 | 3094 | 5000 | |
| Stack | mount | 819 | 820 | 5000 | |
| StackWithIntrinsicChildren | mount | 2279 | 2319 | 5000 | |
| StackWithTextChildren | mount | 4772 | 4728 | 5000 | |
| SwatchColorPicker | mount | 10234 | 10252 | 5000 | |
| TagPicker | mount | 2621 | 2565 | 5000 | |
| TeachingBubble | mount | 82308 | 82197 | 5000 | |
| Text | mount | 786 | 792 | 5000 | |
| TextField | mount | 1586 | 1597 | 5000 | |
| ThemeProvider | mount | 1491 | 1535 | 5000 | |
| ThemeProvider | virtual-rerender | 1073 | 1090 | 5000 | |
| ThemeProvider | virtual-rerender-with-unmount | 2147 | 2134 | 5000 | |
| Toggle | mount | 1090 | 1117 | 5000 | |
| buttonNative | mount | 547 | 529 | 5000 |
Collaborator
🕵 fluentuiv9 No visual regressions between this PR and main |
khmakoto
approved these changes
Feb 24, 2023
layershifter
approved these changes
Feb 27, 2023
TristanWatanabe
approved these changes
Feb 27, 2023
ccbe0b1 to
0368cfa
Compare
Collaborator
🕵 fluentuiv8 No visual regressions between this PR and main |
fabricteam
reviewed
Feb 28, 2023
ling1726
approved these changes
Feb 28, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Previous Behavior
New Behavior
we now follow CDA 100% regarding jest support 🫡
jest 28 announcement https://jestjs.io/blog/2022/04/25/jest-28
migration notes https://jestjs.io/docs/28.x/upgrading-to-jest28
some v8 packages
tsconfig.jsonnow haveES2015.Collectionas part of theirlib. This is necessary because we don't use solution configs besides v9 and jest 28 types contain ES2015++ types. Without this build will failreact/utilities/test-utilities - refactor to properly expose public API and follow standards for imports. This issue was exposed thanks to jest 28 and export maps support 🙌
Related Issue(s)