diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1e03217d..c5875697 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,6 +24,7 @@ jobs: npx playwright install --with-deps cd wasmaudioworklet yarn install + yarn playwright install yarn createbrowsersourcebundle yarn wtr assemblyscriptsynth: diff --git a/wasmaudioworklet/midisequencer/songcompiler.spec.js b/wasmaudioworklet/midisequencer/songcompiler.spec.js index 450e42df..34e7f475 100644 --- a/wasmaudioworklet/midisequencer/songcompiler.spec.js +++ b/wasmaudioworklet/midisequencer/songcompiler.spec.js @@ -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);