Skip to content

Commit

Permalink
use mount instead fo shallow
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierM committed Apr 2, 2022
1 parent ab671cf commit 8e70a4b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ describe('rule_details', () => {
];

expect(
shallow(
mountWithIntl(
<RuleDetails
rule={rule}
ruleType={ruleType}
Expand Down Expand Up @@ -234,7 +234,7 @@ describe('rule_details', () => {
},
];

const details = shallow(
const details = mountWithIntl(
<RuleDetails rule={rule} ruleType={ruleType} actionTypes={actionTypes} {...mockRuleApis} />
);

Expand Down

0 comments on commit 8e70a4b

Please sign in to comment.