From 2b8de82f9bbe04819b230189ac70bb2a71270823 Mon Sep 17 00:00:00 2001 From: JonasBa Date: Fri, 24 May 2024 13:39:12 -0400 Subject: [PATCH] eoghan: add way to call deep recursive test (already added in #1489) --- packages/rrweb/package.json | 1 + .../rrweb/test/html/benchmark-dom-mutation-deep-nested.html | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/rrweb/package.json b/packages/rrweb/package.json index 8c7a81e102..916e20a5f3 100644 --- a/packages/rrweb/package.json +++ b/packages/rrweb/package.json @@ -20,6 +20,7 @@ "check-types": "tsc -noEmit", "prepublish": "tsc -noEmit && vite build", "lint": "yarn eslint src", + "benchmark-dom-mutation": "vitest run --maxConcurrency 1 --no-file-parallelism -t 'deeply nested children' test/benchmark/dom-mutation" "benchmark": "vitest run --maxConcurrency 1 --no-file-parallelism test/benchmark" }, "type": "module", diff --git a/packages/rrweb/test/html/benchmark-dom-mutation-deep-nested.html b/packages/rrweb/test/html/benchmark-dom-mutation-deep-nested.html index fd0a4258b2..3c448dc6ed 100644 --- a/packages/rrweb/test/html/benchmark-dom-mutation-deep-nested.html +++ b/packages/rrweb/test/html/benchmark-dom-mutation-deep-nested.html @@ -2,7 +2,7 @@