mrjono1 / joi-to-typescript

Convert Joi Schemas to TypeScript interfaces
MIT License
124 stars 39 forks source link

Move the `testEnvironment` config key to jest's own config file #388

Closed cmaster11 closed 8 months ago

cmaster11 commented 8 months ago

Move the testEnvironment config key to jest's own config file.

Having multiple config sources is not allowed:

● Multiple configurations found:

    * xxx/joi-to-typescript/jest.config.cjs
    * `jest` key in xxx/joi-to-typescript/package.json

  Implicit config resolution does not allow multiple configuration files.
  Either remove unused config files or select one explicitly with `--config`.

  Configuration Documentation:
  https://jestjs.io/docs/configuration
codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (e62b08d) 98.69% compared to head (790a879) 98.69%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #388 +/- ## ======================================= Coverage 98.69% 98.69% ======================================= Files 9 9 Lines 537 537 Branches 208 208 ======================================= Hits 530 530 Misses 7 7 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

mrjono1 commented 8 months ago

lots of nice clean ups, thankyou