Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions __tests__/test_audio_predictor.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ const floats = (b64) => {

const T0 = 1800000000000;

// Resampling seconds of 48 kHz sound takes a few seconds under coverage
// instrumentation (npm test, and the publish job); without it, 5 s of sound
// take about 0.15 s.
jest.setTimeout(30000);

describe.each(["audio_mixed", "audio_only"])("OnnxPredictor with sound (%s)", (name) => {
let predictor;
let ref;
Expand Down
Loading