From 860e9b4000d4985ead689bc1b79c1896a8fc52b1 Mon Sep 17 00:00:00 2001 From: FernandoGarciaDiez Date: Thu, 16 Mar 2023 09:56:08 +0100 Subject: [PATCH] test: clear support map between tests (#5060) --- test/polyfill/media_capabilities_unit.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/polyfill/media_capabilities_unit.js b/test/polyfill/media_capabilities_unit.js index 54cfc51f10..d53012c757 100644 --- a/test/polyfill/media_capabilities_unit.js +++ b/test/polyfill/media_capabilities_unit.js @@ -69,6 +69,7 @@ describe('MediaCapabilities', () => { }, }; shaka.polyfill.MediaCapabilities.memoizedMediaKeySystemAccessRequests_ = {}; + supportMap.clear(); mockCanDisplayType = jasmine.createSpy('canDisplayType'); mockCanDisplayType.and.returnValue(false);