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 6d08c2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
npx playwright install --with-deps
cd wasmaudioworklet
yarn install
yarn playwright install
yarn createbrowsersourcebundle
yarn wtr
assemblyscriptsynth:
Expand Down
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 6d08c2e

Please sign in to comment.