code: function __createWaveform(options = {}) {
          waveformDiv = document.createElement('div');
          document.getElementsByTagName('body')[0].appendChild(waveformDiv);
  
          wavesurfer = WaveSurfer.create(
              Object.assign(
                  {
                      container: waveformDiv
                  },
                  options
              )
          );
          wavesurfer.load(TestHelpers.EXAMPLE_FILE_PATH);
      }
docs: utility function to generate wavesurfer instances for testing