Skip to content

Commit

Permalink
test(debug): verify platform
Browse files Browse the repository at this point in the history
Signed-off-by: Zacharias Fragkiadakis <zacfragkiadakis@gmail.com>
  • Loading branch information
QZera committed Jan 4, 2025
1 parent b3c27f2 commit 2fb6b12
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/e2e/wdio.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,17 @@ if (!process.env['CI']) {
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
const vscodeVersion = (packageJson.engines.vscode as string).replace(/^\^/, '')

switch (process.platform) {
case 'darwin':
console.log('macOS')
break
case 'linux':
console.log('Linux')
break
default:
console.log('other')
}

// TODO: Bump webdriverio to v9 once wdio-vscode-service supports it
// Relevant PR: https://github.com/webdriverio-community/wdio-vscode-service/pull/130
// Relevant Issue: https://github.com/webdriverio-community/wdio-vscode-service/issues/140
Expand Down

0 comments on commit 2fb6b12

Please sign in to comment.