Commit 16459df
committed
(feat): support custom jest config paths via --config
- --config will now be parsed shallow merged with the defaults,
just like package.json.jest already is
- previously adding --config to tsdx test would result in jest
outputting a usage prompt (I believe due to the second --config
that's added internally) and then the somewhat cryptic
"argv.config.match is not a function"
- if --config is detected, it will be parsed, merged, and then
deleted from argv so that this error doesn't occur anymore1 parent d164dd2 commit 16459df
1 file changed
Lines changed: 21 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
487 | 487 | | |
488 | 488 | | |
489 | 489 | | |
490 | | - | |
| 490 | + | |
491 | 491 | | |
492 | 492 | | |
493 | 493 | | |
| |||
508 | 508 | | |
509 | 509 | | |
510 | 510 | | |
511 | | - | |
512 | | - | |
513 | | - | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
514 | 515 | | |
515 | 516 | | |
516 | 517 | | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
517 | 534 | | |
518 | 535 | | |
519 | 536 | | |
| |||
0 commit comments