Showing 27 of 79 total issues
Avoid too many return
statements within this function. Open
Open
return '';
Avoid too many return
statements within this function. Open
Open
return `${formatSnapshotSummary(text, 'obsolete', yellow)} ${darkGray(
'To remove them all, re-run jest with `JEST_RUNNER_UPDATE_SNAPSHOTS=true`.'
)}`;
Avoid too many return
statements within this function. Open
Open
return ` ↳ ${darkGray(`${testPath}/`)}${bold(testFilename)}`;
Avoid too many return
statements within this function. Open
Open
return '';
Avoid too many return
statements within this function. Open
Open
return formatSnapshotSummary(text, 'removed', green);
Avoid too many return
statements within this function. Open
Open
return `${formatSnapshotSummary(text, 'failed', red)} ${darkGray(
'Inspect your code changes or re-run jest with `JEST_RUNNER_UPDATE_SNAPSHOTS=true` to update them.'
)}`;
Avoid too many return
statements within this function. Open
Open
return {
parseError: 'Line could not be parsed: ' + line,
fileName: '',
line: 0,
column: 0,