test/default_export.test.ts
import chordsheetjs from '../src';
describe('default export', () => {
[
'Chord',
'ChordProParser',
'ChordSheetParser',
'UltimateGuitarParser',
'TextFormatter',
'HtmlTableFormatter',
'HtmlDivFormatter',
'ChordProFormatter',
'ChordLyricsPair',
'Line',
'Song',
'Tag',
'Comment',
'Metadata',
'Paragraph',
'Ternary',
'Composite',
'Literal',
'ChordSheetSerializer',
'CHORUS',
'INDETERMINATE',
'VERSE',
'NONE',
].forEach((constantName) => {
it(`contains ${constantName}`, () => {
expect(typeof chordsheetjs[constantName]).not.toEqual('undefined');
});
});
});