(result: string)
| 35 | } |
| 36 | |
| 37 | private getStatus(result: string): string { |
| 38 | let status |
| 39 | switch (result) { |
| 40 | case 'MISSING': { |
| 41 | status = chalk.yellow( |
| 42 | String.fromCodePoint(0x26a0) // warning symbol |
| 43 | ) |
| 44 | break |
| 45 | } |
| 46 | case 'FAIL': { |
| 47 | status = chalk.red( |
| 48 | String.fromCodePoint(0x1f6ab) // failure symbol |
| 49 | ) |
| 50 | break |
| 51 | } |
| 52 | default: { |
| 53 | status = chalk.green(String.fromCodePoint(0x2714)) // checkmark symbol |
| 54 | } |
| 55 | } |
| 56 | return status |
| 57 | } |
| 58 | |
| 59 | print(): void { |
| 60 | if (!isEmpty(this.tables)) { |