Skip to content

Commit 0484e75

Browse files
committed
fix lint error
1 parent 708fa19 commit 0484e75

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

js/blocks/__tests__/PitchBlocks.test.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,12 +413,16 @@ describe("setupPitchBlocks", () => {
413413
if (block.updateParameter && typeof block.updateParameter === "function") {
414414
try {
415415
block.updateParameter(logo, 0, 10);
416-
} catch (e) {}
416+
} catch (e) {
417+
// Expected for some blocks
418+
}
417419
}
418420
if (block.arg && typeof block.arg === "function") {
419421
try {
420422
block.arg(logo, 0, 10);
421-
} catch (e) {}
423+
} catch (e) {
424+
// Expected for some blocks
425+
}
422426
}
423427
});
424428
});

0 commit comments

Comments
 (0)