Skip to content

Commit

Permalink
wdio-cli: Update tsconfig target version to es2019 for new projects (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
WillBrock committed Mar 20, 2022
1 parent 92f073f commit 1aa1d04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/wdio-cli/src/commands/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const runConfig = async function (useYarn: boolean, yes: boolean, exit = false)
frameworkPackage.package,
'expect-webdriverio'
],
target: 'ES5',
target: 'es2019',
}
}

Expand Down
2 changes: 1 addition & 1 deletion packages/wdio-cli/tests/commands/config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ test('prints TypeScript setup message with ts-node installed', async () => {
'@wdio/mocha-framework',
'expect-webdriverio'
],
target: 'ES5',
target: 'es2019',
}
}

Expand Down

0 comments on commit 1aa1d04

Please sign in to comment.