We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ab0bc2 commit ebae63bCopy full SHA for ebae63b
1 file changed
tests/Sound.test.js
@@ -42,7 +42,7 @@ describe('Sound', function() {
42
var containsMasterGainNode = false;
43
44
for (var i = 0; i < spyArguments.length; i++)
45
- if (spyArguments[0].includes(Pizzicato.masterGainNode))
+ if (spyArguments[0].indexOf(Pizzicato.masterGainNode) >= 0)
46
containsMasterGainNode = true;
47
48
expect(containsMasterGainNode).toBe(true);
@@ -58,7 +58,7 @@ describe('Sound', function() {
58
59
60
61
62
63
64
expect(containsMasterGainNode).toBe(false);
0 commit comments