>>> @rawcmd/text npx nyc npx hayspec test tests/index.test.ts exposed content ⚑ ⚑ ⚑ ⚑ ⚑ ⚑ ⚑ ⚑ ⚑ ⚑ ⚑ ⚑ tests/helpers/align-text.test.ts passes through on invalid parameters ⚑ ⚑ ⚑ ⚑ ⚑ aligns to left ⚑ ⚑ ⚑ aligns to center ⚑ ⚑ ⚑ aligns to right ⚑ ⚑ ⚑ tests/helpers/find-ansi-pairs.test.ts returns ANSI character pairs ⚑ ⚑ ⚑ ⚑ ⚑ tests/helpers/has-ansi.test.ts matches ANSI characters ⚑ ⚑ ⚑ ⚑ ⚑ tests/helpers/repair-ansi.test.ts adds missing characters ⚑ tests/helpers/size-text.test.ts calculates text size ⚑ ⚑ ⚑ ⚑ ⚑ tests/helpers/split-ansi.test.ts passes through on invalid parameters ⚑ ⚑ splits string on ANSI characters ⚑ tests/helpers/strip-ansi.test.ts passes through on invalid parameters ⚑ ⚑ removes ANSI characters from a string ⚑ tests/helpers/truncate-text.test.ts passes through on invalid parameters ⚑ ⚑ ⚑ shortens to allowed string length ⚑ ⚑ ⚑ tests/helpers/wrap-text.test.ts passes through on invalid parameters ⚑ ⚑ ⚑ ⚑ ⚑ splits string into multiple strings ⚑ ⚑ 17 passing ---------------------|----------|----------|----------|----------|-------------------| File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s | ---------------------|----------|----------|----------|----------|-------------------| All files | 98.84 | 87.06 | 100 | 98.81 | | src | 100 | 100 | 100 | 100 | | constants.ts | 100 | 100 | 100 | 100 | | index.ts | 100 | 100 | 100 | 100 | | types.ts | 100 | 100 | 100 | 100 | | src/helpers | 98.43 | 85.71 | 100 | 98.39 | | align-text.ts | 100 | 92.31 | 100 | 100 | 24 | find-ansi-pairs.ts | 100 | 100 | 100 | 100 | | has-ansi.ts | 100 | 100 | 100 | 100 | | repair-ansi.ts | 100 | 78.57 | 100 | 100 | 27,30,41 | size-text.ts | 100 | 75 | 100 | 100 | 17 | split-ansi.ts | 95 | 70 | 100 | 94.74 | 27 | strip-ansi.ts | 100 | 100 | 100 | 100 | | truncate-text.ts | 96 | 88.89 | 100 | 96 | 19 | wrap-text.ts | 100 | 92.86 | 100 | 100 | 33 | ---------------------|----------|----------|----------|----------|-------------------|