From 5802408cfe1734359b411c285093f9bbd12431db Mon Sep 17 00:00:00 2001 From: Alf Eaton Date: Fri, 7 Jul 2023 07:36:29 +0100 Subject: [PATCH] Fix arrays in FileStoreController tests (#13752) GitOrigin-RevId: 80cde35f11db36dba350eb8023ac3b1d2abb3d2b --- .../web/test/unit/src/FileStore/FileStoreControllerTests.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/services/web/test/unit/src/FileStore/FileStoreControllerTests.js b/services/web/test/unit/src/FileStore/FileStoreControllerTests.js index 29e22d2e89..72c7a09321 100644 --- a/services/web/test/unit/src/FileStore/FileStoreControllerTests.js +++ b/services/web/test/unit/src/FileStore/FileStoreControllerTests.js @@ -156,10 +156,10 @@ describe('FileStoreController', function () { }) ;[ // None of these should trigger the iOS/html logic - ('x.html-is-rad', + 'x.html-is-rad', 'html.pdf', '.html-is-good-for-hidden-files', - 'somefile'), + 'somefile', ].forEach(filename => { describe(`with filename as '${filename}'`, function () { beforeEach(function () { @@ -171,7 +171,7 @@ describe('FileStoreController', function () { } } }) - ;[('iPhone', 'iPad', 'Firefox', 'Chrome')].forEach(browser => { + ;['iPhone', 'iPad', 'Firefox', 'Chrome'].forEach(browser => { describe(`downloaded from ${browser}`, function () { beforeEach(function () { this.user_agent = `Some ${browser} thing`