From dd3f9fcc8fc5f7fd86067592905a3e463c95a477 Mon Sep 17 00:00:00 2001 From: Matt Phillips Date: Tue, 29 May 2018 22:51:34 +0100 Subject: [PATCH] Fix node 6 placeholders --- packages/jest-each/src/__tests__/array.test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/jest-each/src/__tests__/array.test.js b/packages/jest-each/src/__tests__/array.test.js index 3ecea027e5db..e7adb255abe7 100644 --- a/packages/jest-each/src/__tests__/array.test.js +++ b/packages/jest-each/src/__tests__/array.test.js @@ -101,20 +101,20 @@ describe('jest-each', () => { ], ]); const testFunction = get(eachObject, keyPath); - testFunction('expected string: %s %i %o %o %f %j %O %j %d %d', noop); + testFunction('expected string: %s %d %s %s %d %j %s %j %d %d', noop); const globalMock = get(globalTestMocks, keyPath); expect(globalMock).toHaveBeenCalledTimes(2); expect(globalMock).toHaveBeenCalledWith( `expected string: hello 1 null undefined 1.2 ${JSON.stringify({ foo: 'bar', - })} [Function] [] Infinity NaN`, + })} () => {} [] Infinity NaN`, expectFunction, ); expect(globalMock).toHaveBeenCalledWith( `expected string: world 1 null undefined 1.2 ${JSON.stringify({ baz: 'qux', - })} [Function] [] Infinity NaN`, + })} () => {} [] Infinity NaN`, expectFunction, ); });