We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad7193e commit 44f769fCopy full SHA for 44f769f
tests/barline_tests.ts
@@ -5,6 +5,7 @@
5
6
import { TestOptions, VexFlowTests } from './vexflow_test_helpers';
7
8
+import { Renderer } from '../src';
9
import { Barline, BarlineType } from '../src/stavebarline';
10
11
const BarlineTests = {
@@ -44,9 +45,11 @@ function simple(options: TestOptions): void {
44
45
f.Formatter().joinVoices([voice]).formatToStave([voice], stave);
46
f.draw();
47
- notes.forEach((note) => {
48
- options.assert.notEqual(note.getSVGElement(), undefined);
49
- });
+ if (options.backend === Renderer.Backends.SVG) {
+ notes.forEach((note) => {
50
+ options.assert.notEqual(note.getSVGElement(), undefined);
51
+ });
52
+ }
53
54
options.assert.ok(true, 'Simple Test');
55
}
0 commit comments