(width = 96, height = 1)
| 13 | } from './screen.js' |
| 14 | |
| 15 | function createTestScreen(width = 96, height = 1) { |
| 16 | const stylePool = new StylePool() |
| 17 | const charPool = new CharPool() |
| 18 | const hyperlinkPool = new HyperlinkPool() |
| 19 | return { |
| 20 | stylePool, |
| 21 | screen: createScreen(width, height, stylePool, charPool, hyperlinkPool), |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | function makeFrame( |
| 26 | screen: ReturnType<typeof createTestScreen>['screen'], |
no test coverage detected