diff --git a/src/components/AudioTrack/AudioTrack.test.tsx b/src/components/AudioTrack/AudioTrack.test.tsx index fa6be492f..95c30ac1e 100644 --- a/src/components/AudioTrack/AudioTrack.test.tsx +++ b/src/components/AudioTrack/AudioTrack.test.tsx @@ -33,9 +33,9 @@ describe('the AudioTrack component', () => { it('should set the audio elements srcObject to null when the component unmounts', () => { const { unmount } = render(); - const audioEl = document.querySelector('audio')!; + const audioElement = document.querySelector('audio')!; unmount(); - expect(audioEl.srcObject).toBe(null); + expect(audioElement.srcObject).toBe(null); }); describe('with an activeSinkId', () => {