Skip to content

Commit

Permalink
fix songcompiler test on safari
Browse files Browse the repository at this point in the history
  • Loading branch information
petersalomonsen committed Jan 3, 2024
1 parent e9a50d5 commit 8a6b3b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wasmaudioworklet/midisequencer/songcompiler.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ loopHere();
try {
await compileSong(`createTrack(5).steps(4,[controlChange(91, 100)]);`);
} catch (e) {
assert.equal('controlChange is not defined', e.message);
assert.isTrue(e.message === 'controlChange is not defined' || e.message === "Can't find variable: controlChange");
hasError = true;
}
assert.equal(hasError, true);
Expand Down

0 comments on commit 8a6b3b3

Please sign in to comment.