aboutsummaryrefslogtreecommitdiffstats
path: root/test/runner/browserstack/buildBrowserFromString.js
diff options
context:
space:
mode:
authorTimmy Willison <timmywil@users.noreply.github.com>2025-01-13 22:36:10 -0500
committerGitHub <noreply@github.com>2025-01-13 22:36:10 -0500
commit733e62d20328dd3e5b226fd9793b159637d922b8 (patch)
tree7c86eca5aad47bc3f5476b360ff18de5d9b39044 /test/runner/browserstack/buildBrowserFromString.js
parent4466770992d5833358169d0248c4deedadea1a96 (diff)
downloadjquery-733e62d20328dd3e5b226fd9793b159637d922b8.tar.gz
jquery-733e62d20328dd3e5b226fd9793b159637d922b8.zip
Tests: migrate test runner to jquery-test-runner
Closes gh-5604
Diffstat (limited to 'test/runner/browserstack/buildBrowserFromString.js')
-rw-r--r--test/runner/browserstack/buildBrowserFromString.js20
1 files changed, 0 insertions, 20 deletions
diff --git a/test/runner/browserstack/buildBrowserFromString.js b/test/runner/browserstack/buildBrowserFromString.js
deleted file mode 100644
index e0d99a039..000000000
--- a/test/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
- };
-}