From af8feceb1f6d6aea8a629f2efa3c533e2ec6a1be Mon Sep 17 00:00:00 2001 From: Karan Shah Date: Fri, 27 Nov 2020 16:11:09 +0530 Subject: [PATCH 1/2] Support new extensions for browserstack cypress --- bin/helpers/constants.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/helpers/constants.js b/bin/helpers/constants.js index e0a085e6..3e8781e4 100644 --- a/bin/helpers/constants.js +++ b/bin/helpers/constants.js @@ -109,7 +109,7 @@ const messageTypes = { NULL: null } -const allowedFileTypes = ['js', 'json', 'txt', 'ts', 'feature', 'features', 'pdf', 'jpg', 'jpeg', 'png', 'zip', 'npmrc']; +const allowedFileTypes = ['js', 'json', 'txt', 'ts', 'feature', 'features', 'pdf', 'jpg', 'jpeg', 'png', 'zip', 'npmrc', 'xml', 'doc', 'docx', 'ppt', 'pptx', 'xls', 'xlsx']; const filesToIgnoreWhileUploading = ['**/node_modules/**', 'node_modules/**', 'package-lock.json', 'package.json', 'browserstack-package.json', 'tests.zip', 'cypress.json'] From a203baeda4d781b8b342c530c9d7927ae90c9498 Mon Sep 17 00:00:00 2001 From: Karan Shah Date: Fri, 27 Nov 2020 16:33:35 +0530 Subject: [PATCH 2/2] Allowing jsx, coffee, cjsx --- bin/helpers/constants.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/helpers/constants.js b/bin/helpers/constants.js index 3e8781e4..6e2c12df 100644 --- a/bin/helpers/constants.js +++ b/bin/helpers/constants.js @@ -109,7 +109,7 @@ const messageTypes = { NULL: null } -const allowedFileTypes = ['js', 'json', 'txt', 'ts', 'feature', 'features', 'pdf', 'jpg', 'jpeg', 'png', 'zip', 'npmrc', 'xml', 'doc', 'docx', 'ppt', 'pptx', 'xls', 'xlsx']; +const allowedFileTypes = ['js', 'json', 'txt', 'ts', 'feature', 'features', 'pdf', 'jpg', 'jpeg', 'png', 'zip', 'npmrc', 'xml', 'doc', 'docx', 'ppt', 'pptx', 'xls', 'xlsx', 'jsx', 'coffee', 'cjsx']; const filesToIgnoreWhileUploading = ['**/node_modules/**', 'node_modules/**', 'package-lock.json', 'package.json', 'browserstack-package.json', 'tests.zip', 'cypress.json']