Skip to content

Commit

Permalink
test: imporve coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
姚元璋 committed Sep 26, 2023
1 parent aa7d630 commit 450777e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ function getMdJson(header: string[], rows: string[][]): MdJson {
* transform Table Json data to Markdown string
*/
function transformJson(data: unknown[]): string {
/* istanbul ignore if -- @preserve */
if (!Array.isArray(data)) {
return '';
}
Expand Down

0 comments on commit 450777e

Please sign in to comment.