| 66 | let dispatchCalls; |
| 67 | |
| 68 | const _dispatch = evt => { |
| 69 | // verify that dispatch is sending errors to the devtools, |
| 70 | // and record the message sent |
| 71 | expect(evt.type).to.equal('ON_ERROR'); |
| 72 | dispatchCalls.push(evt.payload.error.message); |
| 73 | }; |
| 74 | |
| 75 | beforeEach(() => { |
| 76 | window.my_components = { |