Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonelizabeth committed Jun 9, 2020
1 parent 5ddb122 commit 8d2222e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ describe('<ComponentTemplateList />', () => {
const { tableCellsValues } = table.getMetaData('componentTemplatesTable');
tableCellsValues.forEach((row, i) => {
const { name, usedBy } = componentTemplates[i];
const usedByText = usedBy.length === 0 ? 'Not in use' : `${usedBy.length} index template`;
const usedByText = usedBy.length === 0 ? 'Not in use' : usedBy.length.toString();

expect(row).toEqual(['', name, usedByText, '', '', '', '']);
});
Expand Down

0 comments on commit 8d2222e

Please sign in to comment.