adjusting threshold

This commit is contained in:
Yotam Mann 2020-09-21 10:10:43 -04:00
parent a84317f03a
commit 1572dcf67a

View file

@ -5,7 +5,7 @@ import { expect } from "chai";
import { CompareToFile } from "test/helper/CompareToFile"; import { CompareToFile } from "test/helper/CompareToFile";
import { Oscillator } from "Tone/source/oscillator/Oscillator"; import { Oscillator } from "Tone/source/oscillator/Oscillator";
describe("Effect", () => { describe("Vibrato", () => {
BasicTests(Vibrato); BasicTests(Vibrato);
EffectTests(Vibrato); EffectTests(Vibrato);
@ -13,7 +13,7 @@ describe("Effect", () => {
return CompareToFile(() => { return CompareToFile(() => {
const vibrato = new Vibrato(4, 1).toDestination(); const vibrato = new Vibrato(4, 1).toDestination();
const osc = new Oscillator().connect(vibrato).start(); const osc = new Oscillator().connect(vibrato).start();
}, "vibrato.wav", 0.01); }, "vibrato.wav", 0.02);
}); });
context("API", () => { context("API", () => {