Skip to content

Commit

Permalink
remove some dead test code
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronDavidNewman committed Jul 4, 2021
1 parent 713e368 commit e4c0fac
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions tests/formatter_tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,16 +130,11 @@ const FormatterTests = (function () {
formatter.format([voice1, voice2], width);
const stave1 = vf.Stave({
y: 50,
width: width + VF.Stave.leftPadding,
width: width + VF.Stave.defaultPadding,
});
const stave2 = vf.Stave({
y: 200,
width: width + VF.Stave.leftPadding,
});
vf.StaveConnector({
top_stave: stave1,
bottom_stave: stave2,
type: 'brace',
width: width + VF.Stave.defaultPadding,
});
stave1.draw();
stave2.draw();
Expand Down Expand Up @@ -167,13 +162,6 @@ const FormatterTests = (function () {
var stave11 = vf.Stave({ y: 20, width: width + VF.Stave.defaultPadding });
var stave21 = vf.Stave({ y: 130, width: width + VF.Stave.defaultPadding });
formatter.format([voice11, voice21], width);

vf.StaveConnector({
top_stave: stave11,
bottom_stave: stave21,
type: 'brace',
});

var ctx = vf.getContext();
stave11.setContext(ctx).draw();
stave21.setContext(ctx).draw();
Expand Down

0 comments on commit e4c0fac

Please sign in to comment.