Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
chore: add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
zanminkian committed May 6, 2023
1 parent 52ba011 commit fe756df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/powerful-jest/src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ export async function getConfigs() {
const result = [
['transform', `{"^.+\\\\.tsx?$":"${await getTsJestPath()}"}`],
['passWithNoTests'],
// TODO: Maybe we should support `.cjs`, `mjs` and etc.
// ['collectCoverageFrom', '**/src/**/*.{js,mjs,cjs,jsx,ts,mts,cts,tsx}'],
['collectCoverageFrom', '**/src/**/*.{(j|t)s,(j|t)sx}'],
].reduce(
(res, cur) => (fileConfig[cur[0]] === undefined && cliConfig[cur[0]] === undefined) ? res.concat(`--${cur.join('=')}`) : res,
Expand Down

0 comments on commit fe756df

Please sign in to comment.