should) => {
        // We only need to generate a small number of frames for this test.
        let context = new OfflineAudioContext(1, renderFrames, sampleRate);
        let src = context.createOscillator();

        // Create the graph and go!
        let endTime = 1e300;
        src.connect(context.destination);
        src.start();
        src.stop(endTime);

        context.startRendering()
            .then(function(resultBuffer) {
              let result = resultBuffer.getChannelData(0);
         