vitest-dev / vitest

Next generation testing framework powered by Vite.
https://vitest.dev
MIT License
12.29k stars 1.09k forks source link

Error: EISDIR: illegal operation on a directory, read #5494

Open aelbore opened 3 months ago

aelbore commented 3 months ago

Describe the bug

when running the test it has "Error: EISDIR: illegal operation on a directory" error. when using "happy-dom" and "jsdom" with "rxjs@6.6.7"

it works fine if

when it using playwright it works fine with using "happy-dom" and "jsdom" with "rxjs@7.x"

Reproduction

stackblitz https://stackblitz.com/edit/stackblitz-starters-yjhfgh

Just download and run it locally

System Info

System:
    OS: macOS 14.4.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 11.09 GB / 64.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.19.1 - ~/.nvm/versions/node/v18.19.1/bin/node
    Yarn: 1.22.22 - ~/.nvm/versions/node/v18.19.1/bin/yarn
    npm: 10.2.4 - ~/.nvm/versions/node/v18.19.1/bin/npm
  Browsers:
    Chrome: 123.0.6312.107
    Edge: 123.0.2420.81
    Safari: 17.4.1
  npmPackages:
    vitest: ^1.4.0 => 1.4.0

Used Package Manager

npm

Validations

aelbore commented 3 months ago

https://github.com/analogjs/analog/issues/1009