From 21c2bc55d90b7566194b6879f6159ec85be83bbd Mon Sep 17 00:00:00 2001 From: Raman Hrzheshkevich Date: Thu, 20 Apr 2023 13:52:13 +0200 Subject: [PATCH] tests(additional-conditions-n-loops-tests): Added additional test for getCommonDirectoryPath function) --- test/07-conditions-n-loops-tests.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/07-conditions-n-loops-tests.js b/test/07-conditions-n-loops-tests.js index dcba3602a9..36a7c7a8f0 100644 --- a/test/07-conditions-n-loops-tests.js +++ b/test/07-conditions-n-loops-tests.js @@ -428,6 +428,9 @@ describe('08-conditions-n-loops-tasks', () => { it.optional('getCommonDirectoryPath should return a common path in the file system', () => { [ { + pathes: ['/web/images/image1.png', '/web/images/image2.png', '/web/other/image2.png'], + expected: '/web/', + }, { pathes: ['/web/images/image1.png', '/web/images/image2.png'], expected: '/web/images/', }, {