feat: fatal error config not found (#11462)
* fatal error and exit when config not found
* update file.ts
* fix fatal error and exit only for custom config file
* update test name to be clearer for custom file only
* revert changes for no config file found
* update test name to be clearer
* add space between test as suggested
* fix test due to invalid file
* fix typo
Co-authored-by:
Michael Kriese <michael.kriese@visualon.de>
Showing
- lib/workers/global/config/parse/__fixtures__/default.js 2 additions, 0 deletionslib/workers/global/config/parse/__fixtures__/default.js
- lib/workers/global/config/parse/file.spec.ts 23 additions, 15 deletionslib/workers/global/config/parse/file.spec.ts
- lib/workers/global/config/parse/file.ts 6 additions, 2 deletionslib/workers/global/config/parse/file.ts
- lib/workers/global/config/parse/index.spec.ts 7 additions, 2 deletionslib/workers/global/config/parse/index.spec.ts
Loading
Please register or sign in to comment