Skip to content

Commit

Permalink
Add .ts config ext to webdriver plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Sep 3, 2024
1 parent 6fb6e7a commit d8df5e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/knip/src/plugins/webdriver-io/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const enablers = ['@wdio/cli'];

const isEnabled: IsPluginEnabled = ({ dependencies }) => hasDependency(dependencies, enablers);

const config = ['wdio.conf.js'];
const config = ['wdio.conf.{js,ts}'];

const resolveConfig: ResolveConfig<WebdriverIOConfig> = async config => {
const cfg = config?.config;
Expand Down

0 comments on commit d8df5e1

Please sign in to comment.