Skip to content

Commit

Permalink
Removing all deps of browserstack
Browse files Browse the repository at this point in the history
  • Loading branch information
dfahlander committed Dec 11, 2023
1 parent a6aab2b commit e4ae35e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 205 deletions.
1 change: 0 additions & 1 deletion addons/dexie-cloud/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@
"dreambase-library": "^1.0.21",
"just-build": "*",
"karma": "*",
"karma-browserstack-launcher": "*",
"karma-chrome-launcher": "*",
"karma-firefox-launcher": "*",
"karma-qunit": "*",
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@
"dts-bundle-generator": "^5.9.0",
"just-build": "^0.9.24",
"karma": "^6.1.1",
"karma-browserstack-launcher": "^1.5.2",
"karma-chrome-launcher": "^3.1.0",
"karma-firefox-launcher": "^2.1.0",
"karma-mocha-reporter": "^2.2.5",
Expand Down
160 changes: 3 additions & 157 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions test/karma.browsers.matrix.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/** This module comprises the list of browsers
* to run tests on depending on environment.
*
* Browsers listed here must also be defined in
* karma.browserstack.js
* "remote..." browsers listed here must also be defined in
* karma.lambdatest.js
*/

module.exports = {
Expand Down
38 changes: 0 additions & 38 deletions test/karma.browserstack.js

This file was deleted.

7 changes: 1 addition & 6 deletions test/karma.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ const karmaCommon = {
'karma-mocha-reporter',
'karma-chrome-launcher',
'karma-firefox-launcher',
'karma-browserstack-launcher',
'karma-webdriver-launcher'
],

Expand All @@ -43,10 +42,6 @@ const karmaCommon = {
served: true,
},
],

browserStack: require('./karma.browserstack.js').browserStack,

customLaunchers: {...require('./karma.browserstack.js').customLaunchers}
};

if (process.env.LAMBDATEST) {
Expand Down Expand Up @@ -98,7 +93,7 @@ if (process.env.LAMBDATEST) {

const browserSuiteToUse = process.env.NODE_ENV === 'release'
? 'pre_npm_publish' // When run by tools/release.sh
: process.env.BROWSER_STACK_USERNAME || process.env.LT_USERNAME
: process.env.LT_USERNAME
? "ci" // Automated CI
: process.env.GH_ACTIONS
? "ciLocal" // "ci" when not having the credentials (= forks of the dexie repo)
Expand Down

0 comments on commit e4ae35e

Please sign in to comment.