Skip to content

Commit dd3f9fc

Browse files
committed
Fix node 6 placeholders
1 parent 6836ad4 commit dd3f9fc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/jest-each/src/__tests__/array.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,20 +101,20 @@ describe('jest-each', () => {
101101
],
102102
]);
103103
const testFunction = get(eachObject, keyPath);
104-
testFunction('expected string: %s %i %o %o %f %j %O %j %d %d', noop);
104+
testFunction('expected string: %s %d %s %s %d %j %s %j %d %d', noop);
105105

106106
const globalMock = get(globalTestMocks, keyPath);
107107
expect(globalMock).toHaveBeenCalledTimes(2);
108108
expect(globalMock).toHaveBeenCalledWith(
109109
`expected string: hello 1 null undefined 1.2 ${JSON.stringify({
110110
foo: 'bar',
111-
})} [Function] [] Infinity NaN`,
111+
})} () => {} [] Infinity NaN`,
112112
expectFunction,
113113
);
114114
expect(globalMock).toHaveBeenCalledWith(
115115
`expected string: world 1 null undefined 1.2 ${JSON.stringify({
116116
baz: 'qux',
117-
})} [Function] [] Infinity NaN`,
117+
})} () => {} [] Infinity NaN`,
118118
expectFunction,
119119
);
120120
});

0 commit comments

Comments
 (0)