function getActiveVariantTrack() {
    const activeTracks = player.getVariantTracks().filter((track) => {
      return track.active;
    });

    expect(activeTracks.length).toBe(1);
    return activeTracks[0];
  }
Gets the currently active variant track.
@return {shaka.extern.Track}