aboutsummaryrefslogtreecommitdiffstats
path: root/tests/runner/browserstack/buildBrowserFromString.js
diff options
context:
space:
mode:
authorTimmy Willison <timmywil@users.noreply.github.com>2025-01-14 05:15:49 -0500
committerGitHub <noreply@github.com>2025-01-14 11:15:49 +0100
commitb6857536606d5d0dd1b07ada519f845cdac5c96e (patch)
treec12edf53f44ae773bb3b95d8e727da888e2188e9 /tests/runner/browserstack/buildBrowserFromString.js
parent44b0b0af50999a86c30fb9a48214bf5a333527af (diff)
downloadjquery-ui-b6857536606d5d0dd1b07ada519f845cdac5c96e.tar.gz
jquery-ui-b6857536606d5d0dd1b07ada519f845cdac5c96e.zip
Tests: Migrate test runner to jquery-test-runner
Closes gh-2325
Diffstat (limited to 'tests/runner/browserstack/buildBrowserFromString.js')
-rw-r--r--tests/runner/browserstack/buildBrowserFromString.js20
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/runner/browserstack/buildBrowserFromString.js b/tests/runner/browserstack/buildBrowserFromString.js
deleted file mode 100644
index e0d99a039..000000000
--- a/tests/runner/browserstack/buildBrowserFromString.js
+++ /dev/null
@@ -1,20 +0,0 @@
-export function buildBrowserFromString( str ) {
- const [ browser, versionOrDevice, os, osVersion ] = str.split( "_" );
-
- // If the version starts with a colon, it's a device
- if ( versionOrDevice && versionOrDevice.startsWith( ":" ) ) {
- return {
- browser,
- device: versionOrDevice.slice( 1 ),
- os,
- os_version: osVersion
- };
- }
-
- return {
- browser,
- browser_version: versionOrDevice,
- os,
- os_version: osVersion
- };
-}