Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Jest 29 upgrade #387

Merged
merged 2 commits into from
May 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6,191 changes: 4,763 additions & 1,428 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@babel/preset-react": "7",
"@cerner/browserslist-config-terra": "4",
"@cerner/eslint-config-terra": "5",
"@cerner/jest-config-terra": "2",
"@cerner/jest-config-terra": "3",
"@cerner/package-json-lint": "2",
"@cerner/package-json-lint-config-terra": "2",
"@cerner/stylelint-config-terra": "5",
Expand All @@ -66,7 +66,7 @@
"enzyme-to-json": "3",
"eslint": "7",
"gh-pages": "5",
"jest": "27",
"jest": "29",
"lerna": "6",
"postcss": "8",
"stylelint": "15",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
exports[`ActionMenuHeader should render with all props 1`] = `
<ActionMenuHeader
intl={
Object {
{
"$t": [Function],
"defaultFormats": Object {},
"defaultFormats": {},
"defaultLocale": "en",
"defaultRichTextElements": undefined,
"fallbackOnEmptyString": true,
Expand All @@ -22,8 +22,8 @@ exports[`ActionMenuHeader should render with all props 1`] = `
"formatRelativeTime": [Function],
"formatTime": [Function],
"formatTimeToParts": [Function],
"formats": Object {},
"formatters": Object {
"formats": {},
"formatters": {
"getDateTimeFormat": [Function],
"getDisplayNames": [Function],
"getListFormat": [Function],
Expand All @@ -49,9 +49,9 @@ exports[`ActionMenuHeader should render with all props 1`] = `
exports[`ActionMenuHeader should render with minimal props 1`] = `
<ActionMenuHeader
intl={
Object {
{
"$t": [Function],
"defaultFormats": Object {},
"defaultFormats": {},
"defaultLocale": "en",
"defaultRichTextElements": undefined,
"fallbackOnEmptyString": true,
Expand All @@ -68,8 +68,8 @@ exports[`ActionMenuHeader should render with minimal props 1`] = `
"formatRelativeTime": [Function],
"formatTime": [Function],
"formatTimeToParts": [Function],
"formats": Object {},
"formatters": Object {
"formats": {},
"formatters": {
"getDateTimeFormat": [Function],
"getDisplayNames": [Function],
"getListFormat": [Function],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ exports[`ApplicationErrorBoundary Snapshots should render error view when an err
<injectIntl(ApplicationErrorBoundary)>
<ApplicationErrorBoundary
intl={
Object {
{
"$t": [Function],
"defaultFormats": Object {},
"defaultFormats": {},
"defaultLocale": "en",
"defaultRichTextElements": undefined,
"fallbackOnEmptyString": true,
Expand All @@ -23,8 +23,8 @@ exports[`ApplicationErrorBoundary Snapshots should render error view when an err
"formatRelativeTime": [Function],
"formatTime": [Function],
"formatTimeToParts": [Function],
"formats": Object {},
"formatters": Object {
"formats": {},
"formatters": {
"getDateTimeFormat": [Function],
"getDisplayNames": [Function],
"getListFormat": [Function],
Expand Down Expand Up @@ -54,9 +54,9 @@ exports[`ApplicationErrorBoundary Snapshots should render error view when an err
<injectIntl(ApplicationErrorBoundary)>
<ApplicationErrorBoundary
intl={
Object {
{
"$t": [Function],
"defaultFormats": Object {},
"defaultFormats": {},
"defaultLocale": "en",
"defaultRichTextElements": undefined,
"fallbackOnEmptyString": true,
Expand All @@ -73,8 +73,8 @@ exports[`ApplicationErrorBoundary Snapshots should render error view when an err
"formatRelativeTime": [Function],
"formatTime": [Function],
"formatTimeToParts": [Function],
"formats": Object {},
"formatters": Object {
"formats": {},
"formatters": {
"getDateTimeFormat": [Function],
"getDisplayNames": [Function],
"getListFormat": [Function],
Expand All @@ -94,7 +94,7 @@ exports[`ApplicationErrorBoundary Snapshots should render error view when an err
}
>
<StatusView
buttonAttrs={Array []}
buttonAttrs={[]}
isAlignedTop={false}
isGlyphHidden={false}
message="terraApplication.errorBoundary.defaultErrorMessage"
Expand Down Expand Up @@ -156,9 +156,9 @@ exports[`ApplicationErrorBoundary Snapshots should render error view when an err
<injectIntl(ApplicationErrorBoundary)>
<ApplicationErrorBoundary
intl={
Object {
{
"$t": [Function],
"defaultFormats": Object {},
"defaultFormats": {},
"defaultLocale": "en",
"defaultRichTextElements": undefined,
"fallbackOnEmptyString": true,
Expand All @@ -175,8 +175,8 @@ exports[`ApplicationErrorBoundary Snapshots should render error view when an err
"formatRelativeTime": [Function],
"formatTime": [Function],
"formatTimeToParts": [Function],
"formats": Object {},
"formatters": Object {
"formats": {},
"formatters": {
"getDateTimeFormat": [Function],
"getDisplayNames": [Function],
"getListFormat": [Function],
Expand Down Expand Up @@ -205,9 +205,9 @@ exports[`ApplicationErrorBoundary Snapshots should render error view when an err
exports[`ApplicationErrorBoundary Snapshots should render with children 1`] = `
<ApplicationErrorBoundary
intl={
Object {
{
"$t": [Function],
"defaultFormats": Object {},
"defaultFormats": {},
"defaultLocale": "en",
"defaultRichTextElements": undefined,
"fallbackOnEmptyString": true,
Expand All @@ -224,8 +224,8 @@ exports[`ApplicationErrorBoundary Snapshots should render with children 1`] = `
"formatRelativeTime": [Function],
"formatTime": [Function],
"formatTimeToParts": [Function],
"formats": Object {},
"formatters": Object {
"formats": {},
"formatters": {
"getDateTimeFormat": [Function],
"getDisplayNames": [Function],
"getListFormat": [Function],
Expand Down Expand Up @@ -253,9 +253,9 @@ exports[`ApplicationErrorBoundary Snapshots should render with children 1`] = `
exports[`ApplicationErrorBoundary Snapshots should render with minimal props 1`] = `
<ApplicationErrorBoundary
intl={
Object {
{
"$t": [Function],
"defaultFormats": Object {},
"defaultFormats": {},
"defaultLocale": "en",
"defaultRichTextElements": undefined,
"fallbackOnEmptyString": true,
Expand All @@ -272,8 +272,8 @@ exports[`ApplicationErrorBoundary Snapshots should render with minimal props 1`]
"formatRelativeTime": [Function],
"formatTime": [Function],
"formatTimeToParts": [Function],
"formats": Object {},
"formatters": Object {
"formats": {},
"formatters": {
"getDateTimeFormat": [Function],
"getDisplayNames": [Function],
"getListFormat": [Function],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ exports[`ApplicationIntlProvider Snapshots should render an ApplicationIntlConte
<injectIntl(Component)>
<Component
intl={
Object {
{
"$t": [Function],
"defaultFormats": Object {},
"defaultFormats": {},
"defaultLocale": "en",
"defaultRichTextElements": undefined,
"fallbackOnEmptyString": true,
Expand All @@ -23,8 +23,8 @@ exports[`ApplicationIntlProvider Snapshots should render an ApplicationIntlConte
"formatRelativeTime": [Function],
"formatTime": [Function],
"formatTimeToParts": [Function],
"formats": Object {},
"formatters": Object {
"formats": {},
"formatters": {
"getDateTimeFormat": [Function],
"getDisplayNames": [Function],
"getListFormat": [Function],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ exports[`ApplicationLoadingOverlayProvider Snapshots should give render dark ove
>
<ContextProvider
value={
Object {
{
"hide": [Function],
"show": [Function],
}
Expand Down Expand Up @@ -50,7 +50,7 @@ exports[`ApplicationLoadingOverlayProvider Snapshots should give render light ov
>
<ContextProvider
value={
Object {
{
"hide": [Function],
"show": [Function],
}
Expand Down Expand Up @@ -82,7 +82,7 @@ exports[`ApplicationLoadingOverlayProvider Snapshots should render the loading o
>
<ContextProvider
value={
Object {
{
"hide": [Function],
"show": [Function],
}
Expand Down Expand Up @@ -114,7 +114,7 @@ exports[`ApplicationLoadingOverlayProvider Snapshots should render with custom p
>
<ContextProvider
value={
Object {
{
"hide": [Function],
"show": [Function],
}
Expand Down Expand Up @@ -142,7 +142,7 @@ exports[`ApplicationLoadingOverlayProvider Snapshots should render with minimal
>
<ContextProvider
value={
Object {
{
"hide": [Function],
"show": [Function],
}
Expand Down Expand Up @@ -171,7 +171,7 @@ exports[`ApplicationLoadingOverlayProvider Snapshots should render with optional
>
<ContextProvider
value={
Object {
{
"hide": [Function],
"show": [Function],
}
Expand Down Expand Up @@ -203,7 +203,7 @@ exports[`ApplicationLoadingOverlayProvider Snapshots should render without scrol
>
<ContextProvider
value={
Object {
{
"hide": [Function],
"show": [Function],
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
exports[`ApplicationNavigation should render default element 1`] = `
<ApplicationNavigation
id="test-application-id"
notifications={Object {}}
utilityItems={Array []}
notifications={{}}
utilityItems={[]}
>
<ApplicationLoadingOverlayProvider>
<ApplicationStatusOverlayProvider>
Expand All @@ -29,8 +29,8 @@ exports[`ApplicationNavigation should render with all props 1`] = `
<ApplicationNavigation
activeNavigationItemKey="my-test-key"
extensionItems={
Array [
Object {
[
{
"icon": <span>
my icon
</span>,
Expand All @@ -46,15 +46,15 @@ exports[`ApplicationNavigation should render with all props 1`] = `
}
id="test-application-id"
navigationItems={
Array [
Object {
[
{
"key": "my-test-key",
"text": "test-text",
},
]
}
notifications={
Object {
{
"my-test-key-1": 3,
}
}
Expand All @@ -66,27 +66,27 @@ exports[`ApplicationNavigation should render with all props 1`] = `
onSelectSettings={[MockFunction]}
onSelectUtilityItem={[MockFunction]}
titleConfig={
Object {
{
"title": "test-title",
}
}
userActionConfig={
Object {
{
"text": "Edit Photo",
"userActionCallback": [Function],
}
}
userConfig={
Object {
{
"detail": "user-detail",
"imageSrc": "user-src",
"initials": "user-initials",
"name": "user-name",
}
}
utilityItems={
Array [
Object {
[
{
"icon": <span>
my icon
</span>,
Expand Down
Loading
Loading