jaredpalmer / tsdx

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

Test files highlighted in red, plus jest error in console, but test passes #1164

Open AjayiMike opened 1 year ago

AjayiMike commented 1 year ago

Current Behavior

Although test runs fine, but test files are displayed in red immediately after generating a new tsdx project or when any file is changed, accompanied by this behaviour is console that automatically opens with jest error. But when you yarn test test passes

Screenshot 2022-12-29 at 15 29 29

the console also opens when you run yarn build, the building works, but this console opens afterward

Expected behavior

A newly generated project should be without any error

Suggested solution(s)

I honestly have no idea

Additional context

Your environment

System:
    OS: macOS 12.6
    CPU: (8) arm64 Apple M1 Pro
    Memory: 133.11 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 19.0.1 - ~/.nvm/versions/node/v19.0.1/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v19.0.1/bin/yarn
    npm: 8.19.2 - ~/.nvm/versions/node/v19.0.1/bin/npm
  Browsers:
    Brave Browser: 106.1.44.101
    Firefox: 105.0.2
    Safari: 16.0
  npmPackages:
    tsdx: ^0.14.1 => 0.14.1 
    typescript: ^4.9.4 => 4.9.4 
  npmGlobalPackages:
    tsdx: 0.14.1