Skip to content

Commit

Permalink
fix(dash): Mock shaka.polyfill.installAll (#1342)
Browse files Browse the repository at this point in the history
  • Loading branch information
Conrad Chan authored Mar 13, 2021
1 parent 1d26190 commit fcbca02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/viewers/media/__tests__/DashViewer-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ describe('lib/viewers/media/DashViewer', () => {
});

beforeEach(() => {
jest.spyOn(shaka.polyfill, 'installAll').mockImplementation();
fixture.load('viewers/media/__tests__/DashViewer-test.html');
const containerEl = document.querySelector('.container');
stubs.api = new Api();
Expand Down

0 comments on commit fcbca02

Please sign in to comment.