All files / if-check/config strings.ts

66.66% Statements 4/6
100% Branches 0/0
60% Functions 3/5
66.66% Lines 4/6

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 203x                     1x   1x   1x        
export const STRINGS = {
  CHECKING: 'Checking...',
  IF_CHECK_FLAGS_MISSING:
    'Either the `--manifest` or `--directory` command should be provided with a path',
  DIRECTORY_NOT_FOUND: 'Directory not found.',
  DIRECTORY_YAML_FILES_NOT_FOUND:
    'The directory does not contain any YAML/YML files.\n',
  IF_CHECK_EXECUTING: (filename: string) => `Executing \`${filename}\``,
  IF_CHECK_VERIFICATION_FAILURES:
    '---------\nif-check verification failures:\n',
  IF_CHECK_FAILED: (filename: string) =>
    `āœ– if-check could not verify ${filename}. The re-executed file does not match the original.\n`,
  IF_CHECK_VERIFIED: (filename: string) =>
    `āœ” if-check successfully verified ${filename}\n`,
  IF_CHECK_SUMMARY_ERROR_MESSAGE: (filename: string, message: string) =>
    `Executing \`${filename}\`\nāœ– ${message}`,
  IF_CHECK_SUMMARY_LOG: (passedCount: number, totalCount: number) =>
    `---------\nCheck summary:\n${passedCount} of ${totalCount} files are passed.\n`,
};