jaredpalmer / tsdx

Zero-config CLI for TypeScript package development
https://tsdx.io
MIT License
11.2k stars 505 forks source link

Test suite failed to run TypeError: The "path" argument must be of type string. Received undefined #1176

Closed thomas-void0 closed 1 year ago

thomas-void0 commented 1 year ago

Current Behavior

hello, I have a question.I by npx tsdx create mylib create basic projcet. Some errors have occurred when I exec yarn test . such as picture of the follwing :

image

Expected behavior

can exec test

Suggested solution(s)

I hope get a way for fix this bug.

Additional context

Your environment

node: v16.15.0,
platform: Windows 10 professional edition. x64
thomas-void0 commented 1 year ago

I found reason of this question , beause jest and ts-jest version is too low. when I install high-level of jest and ts-jest, this question to be solution. image