mirror of
https://github.com/Tonejs/Tone.js
synced 2024-12-27 12:03:12 +00:00
increasing duration of test
was failing in FF
This commit is contained in:
parent
5afe6c8dee
commit
0f47174272
1 changed files with 2 additions and 2 deletions
|
@ -83,7 +83,7 @@ describe("ToneBufferSource", () => {
|
|||
|
||||
it("invokes onerror if no url", (done) => {
|
||||
const source = new ToneBufferSource({
|
||||
url: "./nosuchfile.wav",
|
||||
url: "./nosuchfile.wav",
|
||||
onerror() {
|
||||
source.dispose();
|
||||
done();
|
||||
|
@ -279,7 +279,7 @@ describe("ToneBufferSource", () => {
|
|||
player.onended = () => {
|
||||
wasInvoked = true;
|
||||
};
|
||||
}, buffer.duration * 1.1).then(() => {
|
||||
}, buffer.duration * 2).then(() => {
|
||||
expect(wasInvoked).to.equal(true);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue