Skip to content

Commit

Permalink
fix the note in the test case to be middle C
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronDavidNewman committed Dec 10, 2023
1 parent 7d9bb0d commit b35952b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/keysignature_tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -382,16 +382,16 @@ function clefKeySignature(options: TestOptions): void {
.setStrict(false)
.addTickables([
f.KeySigNote({ key: 'Bb' }),
f.StaveNote({ keys: ['c/4'], duration: '1' }),
f.StaveNote({ keys: ['c/4'], duration: '1', clef: 'bass' }),
f.BarNote(),
f.KeySigNote({ key: 'D', cancelKey: 'Bb' }),
f.StaveNote({ keys: ['c/4'], duration: '1' }),
f.StaveNote({ keys: ['c/4'], duration: '1', clef: 'bass' }),
f.BarNote(),
f.KeySigNote({ key: 'Bb' }),
f.StaveNote({ keys: ['c/4'], duration: '1' }),
f.StaveNote({ keys: ['c/4'], duration: '1', clef: 'bass' }),
f.BarNote(),
f.KeySigNote({ key: 'D', alterKey: ['b', 'n'] }), // TODO: alterKey needs to be a string[]
f.StaveNote({ keys: ['c/4'], duration: '1' }),
f.StaveNote({ keys: ['c/4'], duration: '1', clef: 'bass' }),
]);

f.Formatter().joinVoices([voice]).formatToStave([voice], stave);
Expand Down

0 comments on commit b35952b

Please sign in to comment.