Skip to content

Commit

Permalink
Fix node 6 placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
mattphillips committed May 29, 2018
1 parent 6836ad4 commit dd3f9fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/jest-each/src/__tests__/array.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
);
});
Expand Down

0 comments on commit dd3f9fc

Please sign in to comment.