Skip to content

Commit

Permalink
Fix VF reference that breaks CI
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronDavidNewman committed Sep 6, 2021
1 parent 11d7610 commit dd1f745
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/textnote_tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import { Crescendo } from 'crescendo';
import { Flow } from 'flow';
import { Note } from 'note';
import { TextNote } from 'textnote';
import { Stave} from 'stave';

import { TestOptions, VexFlowTests } from './vexflow_test_helpers';

Expand Down Expand Up @@ -276,7 +277,7 @@ function textDynamics(options: TestOptions): void {
// const width = 250; //formatter.preCalculateMinTotalWidth([voice]);
const width = formatter.preCalculateMinTotalWidth([voice]);
formatter.format([voice]);
const stave = f.Stave({ y: 40, width: width + VF.Stave.defaultPadding });
const stave = f.Stave({ y: 40, width: width + Stave.defaultPadding });
stave.draw();
voice.draw(f.getContext(), stave);
ok(true);
Expand Down

0 comments on commit dd1f745

Please sign in to comment.