Skip to content

Commit

Permalink
Fix linter issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Mendoza committed Jul 29, 2021
1 parent 79b9605 commit cf099cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/AudioTrack/AudioTrack.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ describe('the AudioTrack component', () => {

it('should set the audio elements srcObject to null when the component unmounts', () => {
const { unmount } = render(<AudioTrack track={mockTrack} />);
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', () => {
Expand Down

0 comments on commit cf099cd

Please sign in to comment.