From be690f18adeacd636ea8fd766ce116420b079d45 Mon Sep 17 00:00:00 2001 From: Yun Feng Date: Thu, 30 Jun 2022 23:53:56 +1000 Subject: [PATCH 1/2] test: update cssom package to rrweb self-owned package 'rrweb-cssom' --- package.json | 2 +- packages/rrdom/test/diff.test.ts | 6 +----- yarn.lock | 6 +++++- 3 files changed, 7 insertions(+), 7 deletions(-) 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 bb4544e888..982b066b88 100644 --- a/packages/rrdom/test/diff.test.ts +++ b/packages/rrdom/test/diff.test.ts @@ -1194,7 +1194,7 @@ describe('diff algorithm for rrdom', () => { // 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(`