@samitouri / QOS-React-2 / commits / a530f1c379

reactComponentExpect expects itself

This was a bug when reactComponentExpectInternal was separated from the normal reactComponentExpect flow.

Sebastian Markbage committed Nov 24, 2014 at 18:48 UTC a530f1c379c3b04f2c89bb5e385eb2fd4a983577
1 file changed +1 -1
src/test/reactComponentExpect.js
+1 -1
@@ -18,7 +18,7 @@ var ReactTestUtils = require('ReactTestUtils');
18 var assign = require('Object.assign');
19
20 function reactComponentExpect(instance) {
21 - if (instance instanceof reactComponentExpect) {
21 + if (instance instanceof reactComponentExpectInternal) {
22 return instance;
23 }
24