(bytes: Uint8Array, length = 4)
| 3 | import { loadStaticFontFixture } from './font-fixture'; |
| 4 | |
| 5 | const getHeader = (bytes: Uint8Array, length = 4): string => |
| 6 | Array.from(bytes.slice(0, length)) |
| 7 | .map((byte) => byte.toString(16).padStart(2, '0')) |
| 8 | .join(''); |
| 9 | |
| 10 | describe('convertFont smoke tests', () => { |
| 11 | it('converts a TTF fixture into multiple output formats', async () => { |
no test coverage detected