mirror of
https://github.com/rastapasta/mapscii.git
synced 2025-04-11 18:18:22 +02:00
11 lines
312 B
JavaScript
11 lines
312 B
JavaScript
import BrailleBuffer from './BrailleBuffer.js';
|
|
|
|
const termReset = '\x1B[39;49m';
|
|
|
|
describe('BrailleBuffer', () => {
|
|
test('starts a frame with term reset characters', async () => {
|
|
const brailleBuffer = new BrailleBuffer(1, 1);
|
|
expect(brailleBuffer.frame().startsWith(termReset)).toBe(true);
|
|
});
|
|
});
|