chore(cli): rename test files from .mts to .ts

This commit is contained in:
Mohamed Boudra
2026-01-28 23:34:22 +07:00
parent d51d70a6fd
commit d78c7d5e07
17 changed files with 264 additions and 94 deletions
+2 -2
View File
@@ -97,7 +97,7 @@ function renderRow<T>(
}
}
return padCell(cell, width, col.align ?? 'left')
return padCell(cell, width ?? 0, col.align ?? 'left')
})
.join(' ')
}
@@ -109,7 +109,7 @@ function renderHeader<T>(
options: OutputOptions
): string {
const headerRow = columns
.map((col, i) => padCell(col.header, widths[i], col.align ?? 'left'))
.map((col, i) => padCell(col.header, widths[i] ?? 0, col.align ?? 'left'))
.join(' ')
return options.noColor ? headerRow : chalk.bold(headerRow)