Skip to content

Commit 8f90490

Browse files
committed
Merge pull request react-bootstrap#1026 from AlexKVal/fix-test
Fix test case
2 parents 569bc5a + 25c8efa commit 8f90490

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)