From af2e111dcd8172b2b1e85b0613015dc8bffdf66e Mon Sep 17 00:00:00 2001 From: Carlos Alcaide Corvo Date: Fri, 15 Oct 2021 09:35:28 -0700 Subject: [PATCH] Delete trailing slashes from path --- ui/desktop/tests/end2end/test-helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/desktop/tests/end2end/test-helpers.js b/ui/desktop/tests/end2end/test-helpers.js index 2b0de5c8c..8c43b84f4 100644 --- a/ui/desktop/tests/end2end/test-helpers.js +++ b/ui/desktop/tests/end2end/test-helpers.js @@ -9,7 +9,7 @@ const path = require('path'); */ exports.generateScreenshotPath = (screenshotTestDirectory, fileName) => { const screenshotFormat = '.png'; - const screenshotsRootPath = path.join(__dirname, '/screenshots/'); + const screenshotsRootPath = path.join(__dirname, 'screenshots'); const screenshotPath = path.join( screenshotsRootPath, screenshotTestDirectory