diff --git a/packages/jest-snapshot/src/index.js b/packages/jest-snapshot/src/index.js index 15863996e8ef..96ebc3b2597c 100644 --- a/packages/jest-snapshot/src/index.js +++ b/packages/jest-snapshot/src/index.js @@ -82,7 +82,9 @@ const toMatchSnapshot = function(received: any, testName?: string) { `New snapshot was ${RECEIVED_COLOR('not written')}. The update flag ` + `must be explicitly passed to write a new snapshot.\n\n` + `This is likely because this test is run in a continuous integration ` + - `(CI) environment in which snapshots are not written by default.`; + `(CI) environment in which snapshots are not written by default.\n\n` + + `${RECEIVED_COLOR('Received value')}` + + `${actual}`; } else { expected = (expected || '').trim(); actual = (actual || '').trim();