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

MM-17555 Finish upgrading react-intl #4615

Merged
merged 16 commits into from
Jan 16, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Merge branch 'master' into mm17555-final
  • Loading branch information
hmhealey committed Jan 13, 2020
commit 4bd5bd9fadea827a4f46f25a63337cf202bd8ba6
12 changes: 9 additions & 3 deletions components/widgets/admin_console/admin_panel.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ describe('components/widgets/admin_console/AdminPanel', () => {
values={Object {}}
/>
</h3>
<span>
<div
className="margin-top"
>
<injectIntl(FormattedMarkdownMessage)
defaultMessage="test-subtitle-default"
id="test-subtitle-id"
Expand Down Expand Up @@ -78,7 +80,9 @@ describe('components/widgets/admin_console/AdminPanel', () => {
values={Object {}}
/>
</h3>
<span>
<div
className="margin-top"
>
<injectIntl(FormattedMarkdownMessage)
defaultMessage="test-subtitle-default"
id="test-subtitle-id"
Expand Down Expand Up @@ -129,7 +133,9 @@ describe('components/widgets/admin_console/AdminPanel', () => {
values={Object {}}
/>
</h3>
<span>
<div
className="margin-top"
>
<injectIntl(FormattedMarkdownMessage)
defaultMessage="test-subtitle-default"
id="test-subtitle-id"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,23 @@ describe('components/MenuItemToggleModalRedux', () => {
);

expect(wrapper).toMatchInlineSnapshot(`
<Connect(injectIntl(ModalToggleButtonRedux))
accessibilityLabel="Whatever"
dialogProps={
Object {
"test": "test",
}
}
dialogType={[MockFunction]}
modalId="test"
>
Whatever
</Connect(injectIntl(ModalToggleButtonRedux))>
`);
<Connect(injectIntl(ModalToggleButtonRedux))
accessibilityLabel="Whatever"
dialogProps={
Object {
"test": "test",
}
}
dialogType={[MockFunction]}
modalId="test"
>
<span
className="MenuItem__primary-text"
>
Whatever
</span>
</Connect(injectIntl(ModalToggleButtonRedux))>
`);
});

test('should match snapshot with extra text', () => {
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.