Skip to content

Commit

Permalink
Add args to jest plugin to find jest config files
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Jan 6, 2025
1 parent 0866302 commit 3c0a6c5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/knip/src/plugins/jest/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ const resolveConfig: ResolveConfig<JestConfig> = async (localConfig, options) =>
return result;
};

const args = {
config: true,
};

export default {
title,
enablers,
Expand All @@ -130,4 +134,5 @@ export default {
entry,
resolveEntryPaths,
resolveConfig,
args,
} satisfies Plugin;

0 comments on commit 3c0a6c5

Please sign in to comment.