mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-22 22:12:28 -05:00
Satisfy linter
This commit is contained in:
parent
2ddb6215fd
commit
7ec45d9519
1 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,8 @@
|
|||
const test = require('tap').test;
|
||||
const Sound = require('../../src/blocks/scratch3_sound');
|
||||
let playedSound, playedDrum, playedInstrument;
|
||||
let playedSound;
|
||||
let playedDrum;
|
||||
let playedInstrument;
|
||||
const runtime = {
|
||||
audioEngine: {
|
||||
numDrums: 3,
|
||||
|
@ -95,7 +97,7 @@ test('playDrum uses 1-indexing and wrap clamps', t => {
|
|||
|
||||
test('setInstrument uses 1-indexing and wrap clamps', t => {
|
||||
// Stub getSoundState
|
||||
blocks._getSoundState = () => ({})
|
||||
blocks._getSoundState = () => ({});
|
||||
|
||||
let args = {INSTRUMENT: 1};
|
||||
blocks.setInstrument(args, util);
|
||||
|
|
Loading…
Reference in a new issue