diff --git a/src/__tests__/ReactTestRendererAsync-test.js b/src/__tests__/ReactTestRendererAsync-test.js index c420130..461490b 100644 --- a/src/__tests__/ReactTestRendererAsync-test.js +++ b/src/__tests__/ReactTestRendererAsync-test.js @@ -160,7 +160,7 @@ describe('ReactTestRendererAsync', () => { expect(() => expect(Scheduler).toFlushAndYieldThrough(['foo', 'baz']), - ).toThrow('Expected value to equal:'); + ).toThrow('// deep equality'); }); it('toFlushAndYield', () => { @@ -181,7 +181,7 @@ describe('ReactTestRendererAsync', () => { ); expect(() => expect(Scheduler).toFlushWithoutYielding()).toThrowError( - 'Expected value to equal:', + '// deep equality', ); renderer.update( @@ -193,7 +193,7 @@ describe('ReactTestRendererAsync', () => { ); expect(() => expect(Scheduler).toFlushAndYield(['foo', 'baz'])).toThrow( - 'Expected value to equal:', + '// deep equality', ); }); @@ -254,7 +254,7 @@ describe('ReactTestRendererAsync', () => { ReactTestRenderer.create(); expect(() => expect(Scheduler).toHaveYielded(['A', 'B'])).toThrow( - 'Expected value to equal:', + '// deep equality', ); });