Skip to content

Commit

Permalink
Use WDIO v8 global types (#490)
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-molak committed May 6, 2023
1 parent 78242cd commit 3cc2125
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 16.x, 18.x, 20.x ]
node-version: [ 16.x, 18.x ]

steps:
- uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"@serenity-js/web": "^3.2.0",
"@serenity-js/webdriverio": "^3.2.0",
"@wdio/cli": "^8.10.0",
"@wdio/globals": "^8.10.0",
"@wdio/local-runner": "^8.10.0",
"@wdio/spec-reporter": "^8.10.0",
"mocha": "^10.2.0",
Expand Down
15 changes: 5 additions & 10 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
{
"compilerOptions": {
"target": "es2019",
"lib": ["es2019", "dom"],
"module": "commonjs",
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"sourceMap": true,
"declaration": true,
"rootDir": "./src",
"module": "CommonJS",
"types": [
"node",
"webdriverio/async"
]
"@wdio/globals/types"
],
"lib": ["es2021", "dom"],
"target": "es2021",
},

"include": [
Expand Down

0 comments on commit 3cc2125

Please sign in to comment.