Skip to content

Commit

Permalink
fix: properly pass in isOpen in modal test (reactstrap#2745)
Browse files Browse the repository at this point in the history
  • Loading branch information
kolaczyn committed May 5, 2023
1 parent 0169e1a commit 8cb0515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/__tests__/Modal.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ describe('Modal', () => {

it('should not render modal when isOpen is false', () => {
render(
<Modal isOpenfalse toggle={toggle}>
<Modal isOpen={false} toggle={toggle}>
Yo!
</Modal>,
);
Expand Down

0 comments on commit 8cb0515

Please sign in to comment.