1 CONSOLE WARNING: The provided value '0' is not a valid enum value of type OscillatorType.
2 Basic test of setting Oscillator node types.
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS osc.type = 'sine' is equal to sine.
7 PASS osc.type = 'square' is equal to square.
8 PASS osc.type = 'sawtooth' is equal to sawtooth.
9 PASS osc.type = 'triangle' is equal to triangle.
10 PASS osc.type = 'custom' threw InvalidStateError: Failed to set the 'type' property on 'OscillatorNode': 'type' cannot be set directly to 'custom'. Use setPeriodicWave() to create a custom Oscillator type..
11 PASS osc.setPeriodicWave(wave) did not throw an exception.
12 PASS osc.type is equal to custom.
13 PASS osc.type = 0 is not equal to 0.
14 PASS osc.type is equal to custom.
15 PASS successfullyParsed is true