From 5b79867b6894feaeac8a9e825e56bf565156da84 Mon Sep 17 00:00:00 2001 From: Slava Leleka Date: Fri, 12 May 2023 11:53:23 +0300 Subject: [PATCH] escape slash --- tests/scriptlets/prevent-element-src-loading.test.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/scriptlets/prevent-element-src-loading.test.js b/tests/scriptlets/prevent-element-src-loading.test.js index 3a4cb3ac3..cce74a9e3 100644 --- a/tests/scriptlets/prevent-element-src-loading.test.js +++ b/tests/scriptlets/prevent-element-src-loading.test.js @@ -102,10 +102,7 @@ const onErrorTestTag = (assert, url, testPassed, shouldLoad) => { } done(); }; - // It's necessary to use the slash like this, - // otherwise the tests will be displayed incorrectly after the build - const slash = '/'; - const html = `