()
| 7 | import { TestPlatform } from 'test/TestPlatform'; |
| 8 | describe('LyricsTests', () => { |
| 9 | async function loadLyricsTemplateFile(): Promise<Score> { |
| 10 | const path: string = 'test-data/lyrics/template.gpx'; |
| 11 | const data = await TestPlatform.loadFile(path); |
| 12 | const buffer: ByteBuffer = ByteBuffer.fromBuffer(data); |
| 13 | const importer: GpxImporter = new GpxImporter(); |
| 14 | importer.init(buffer, new Settings()); |
| 15 | return importer.readScore(); |
| 16 | } |
| 17 | |
| 18 | function testLyrics(text: string, chunks: string[]): void { |
| 19 | const lyrics: Lyrics = new Lyrics(); |
no test coverage detected