Skip to content

Commit

Permalink
assert getSVGElement is not undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
judocode committed Apr 19, 2024
1 parent 198b802 commit ad7193e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/barline_tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ function simple(options: TestOptions): void {
f.Formatter().joinVoices([voice]).formatToStave([voice], stave);
f.draw();

notes.forEach((note) => {
options.assert.notEqual(note.getSVGElement(), undefined);
});

options.assert.ok(true, 'Simple Test');
}

Expand Down

0 comments on commit ad7193e

Please sign in to comment.