Skip to content

Commit

Permalink
Fix more linting
Browse files Browse the repository at this point in the history
  • Loading branch information
mattphillips committed Mar 1, 2019
1 parent cff2dfa commit 12947f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/jest-each/src/table/array.ts
Expand Up @@ -10,8 +10,8 @@ const INDEX_PLACEHOLDER = '%#';

export default (title: string, arrayTable: Global.ArrayTable): EachTests =>
normaliseTable(arrayTable).map((row, index) => ({
title: formatTitle(title, row, index),
arguments: row,
title: formatTitle(title, row, index),
}));

const normaliseTable = (table: Global.ArrayTable): Global.Table =>
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-each/src/table/template.ts
Expand Up @@ -15,8 +15,8 @@ export default (
const table = convertRowToTable(row, headings);
const templates = convertTableToTemplates(table, headings);
return templates.map(template => ({
title: interpolate(title, template),
arguments: [template],
title: interpolate(title, template),
}));
};

Expand Down

0 comments on commit 12947f9

Please sign in to comment.