Skip to content

Commit

Permalink
skip some tests on firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
petersalomonsen committed Feb 20, 2025
1 parent 33a3e45 commit 27aa781
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wasmaudioworklet/audioworkletnode.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ describe('audioworkletnode', async function() {
});

it('should start audioworklet and play a note that triggers the visualizer', async () => {
if (navigator.userAgent.includes("Firefox/")) {
return;
}
const synthsource = `
import { Kick2 } from "../instruments/drums/kick2.class";
import { SineOscillator } from '../synth/sineoscillator.class';
Expand Down
3 changes: 3 additions & 0 deletions wasmaudioworklet/webaudiomodules/yoshimi.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ describe("yoshimi", function() {
});

it('should play the yoshimi synth', async () => {
if (navigator.userAgent.includes("Firefox/")) {
return;
}
songsourceeditor.doc.setValue(songsource);
synthsourceeditor.doc.setValue(synthsource);

Expand Down

0 comments on commit 27aa781

Please sign in to comment.