Fix tests.

This commit is contained in:
Artem Sapegin 2016-02-04 17:22:36 +01:00
parent 6ab87322e1
commit 30718acd8e

View File

@ -169,7 +169,7 @@ describe('instrument', () => {
expect(computedStates[3].error).toMatch(
/Interrupted by an error up the chain/
);
expect(spy.calls[0].arguments[0]).toMatch(
expect(spy.calls[0].arguments[0].toString()).toMatch(
/ReferenceError/
);