Skip to content

Commit ad7193e

Browse files
committed
assert getSVGElement is not undefined
1 parent 198b802 commit ad7193e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/barline_tests.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ function simple(options: TestOptions): void {
4444
f.Formatter().joinVoices([voice]).formatToStave([voice], stave);
4545
f.draw();
4646

47+
notes.forEach((note) => {
48+
options.assert.notEqual(note.getSVGElement(), undefined);
49+
});
50+
4751
options.assert.ok(true, 'Simple Test');
4852
}
4953

0 commit comments

Comments
 (0)