diff --git a/package.json b/package.json index cddbf73f0a..18d5cae5cf 100644 --- a/package.json +++ b/package.json @@ -39,6 +39,6 @@ "lint": "yarn run concurrently --success=all -r -m=1 'yarn run markdownlint docs' 'yarn eslint packages/*/src --ext .ts,.tsx,.js,.jsx,.svelte'" }, "resolutions": { - "**/jsdom/cssom": "^0.5.0" + "**/jsdom/cssom": "https://registry.npmjs.org/rrweb-cssom/-/rrweb-cssom-0.6.0.tgz" } } diff --git a/packages/rrdom/test/diff.test.ts b/packages/rrdom/test/diff.test.ts index efb5aaaa8f..b267efc550 100644 --- a/packages/rrdom/test/diff.test.ts +++ b/packages/rrdom/test/diff.test.ts @@ -1210,9 +1210,7 @@ describe('diff algorithm for rrdom', () => { expect(styleEl.sheet?.cssRules[0].cssText).toEqual('div {color: black;}'); }); - // JSDOM/CSSOM is currently broken for this test - // remove '.skip' once https://github.com/NV/CSSOM/pull/113#issue-712485075 is merged - it.skip('should insert rule at index [0,0] and keep existing rules', () => { + it('should insert rule at index [0,0] and keep existing rules', () => { document.write(`