Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
jazz-soft committed Nov 26, 2023
1 parent 221882f commit 3fde7a3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"grunt": "^1.6.1",
"grunt-contrib-jshint": "^3.2.0",
"grunt-contrib-uglify": "^5.2.2",
"midi-test": "^1.2.7",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"web-audio-test": "^0.0.6",
Expand Down
2 changes: 1 addition & 1 deletion test/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -1033,7 +1033,7 @@ describe('UMP messages', function() {
});
it('umpNoteOff', function() {
var s = '41823d00 00000000 -- Note Off';
var msg = JZZ.UMP.umpNoteOff(1, 2, 'C#5kkkkkk');
var msg = JZZ.UMP.umpNoteOff(1, 2, 'C#5');
assert.equal(msg.isNoteOn(), false);
assert.equal(msg.isNoteOff(), true);
assert.equal(JZZ.UMP.umpNoteOff(1, 2, 61).toString(), s);
Expand Down
2 changes: 1 addition & 1 deletion test/engine1.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ global.navigator = {};

var JZZ = require('..');
var MT;
if (process.platform == 'darwin' || process.platform == 'linux') {
if (0 || process.platform == 'darwin' || process.platform == 'linux') {
try {
MT = require('midi-test');
}
Expand Down

0 comments on commit 3fde7a3

Please sign in to comment.