Skip to content

Commit 25c8efa

Browse files
committed
Fix test case
1 parent 569bc5a commit 25c8efa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/ModalSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ describe('Modal', function () {
5858

5959
let modal = ReactTestUtils.findRenderedComponentWithType(instance, Modal);
6060

61-
assert.ok(React.findDOMNode(instance).className.match(/\modal-open\b/));
61+
assert.ok(React.findDOMNode(instance).className.match(/\bmodal-open\b/));
6262

6363
let backdrop = React.findDOMNode(modal.refs.modal).getElementsByClassName('modal-backdrop')[0];
6464

0 commit comments

Comments
 (0)