We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97c41f3 commit 875b7fbCopy full SHA for 875b7fb
packages/jest-each/src/table/template.ts
@@ -29,7 +29,7 @@ export default function template(
29
}
30
31
const convertRowToTable = (row: Global.Row, headings: Headings): Global.Table =>
32
- Array.from({length: row.length / headings.length}).map((_, index) =>
+ Array.from({length: row.length / headings.length}, (_, index) =>
33
row.slice(
34
index * headings.length,
35
index * headings.length + headings.length,
0 commit comments