junie-explorer icon indicating copy to clipboard operation
junie-explorer copied to clipboard

'bun run test' fails due to fixtures directory non-existent

Open PeteLawler opened this issue 2 months ago • 2 comments

$ bun run test $ NODE_OPTIONS="--no-warnings" JETBRAINS_LOG_PATH="./fixtures" bunx --bun cucumber-js --tags "not @pending" This Node.js version (v24.3.0) has not been tested with this version of Cucumber; it should work normally, but please raise an issue if you see anything unexpected. 123 | 124 | ;(module as any)[methodName] = (...args: any[]) => { 125 | const startTime = Date.now() 126 | 127 | try { 128 | const result = originalMethod(...args) ^ ENOENT: no such file or directory, scandir '/SOMERANDOMDIRECTORY/junie-explorer/fixtures' path: "/SOMERANDOMDIRECTORY/junie-explorer/fixtures", syscall: "scandir", errno: -2, code: "ENOENT"

  at <anonymous> (/SOMERANDOMDIRECTORY/junie-explorer/src/stats/BaseFileIOMonitor.ts:128:24)
  at <anonymous> (/SOMERANDOMDIRECTORY/junie-explorer/src/jetbrains.ts:182:26)
  at <anonymous> (/SOMERANDOMDIRECTORY/junie-explorer/src/jetbrains.ts:178:41)
  at new Promise (1:11)
  at projects (/SOMERANDOMDIRECTORY/junie-explorer/src/jetbrains.ts:178:22)
  at <anonymous> (/SOMERANDOMDIRECTORY/junie-explorer/src/jetbrains.ts:145:59)
  at <anonymous> (/SOMERANDOMDIRECTORY/junie-explorer/src/jetbrains.ts:143:42)
  at new Promise (1:11)
  at metrics (/SOMERANDOMDIRECTORY/junie-explorer/src/jetbrains.ts:143:23)
  at preload (/SOMERANDOMDIRECTORY/junie-explorer/src/jetbrains.ts:99:11)

Bun v1.3.0 (Linux x64) error: script "test" exited with code 1

PeteLawler avatar Oct 10 '25 23:10 PeteLawler

Oh, this is not a release but from origin/main.

PeteLawler avatar Oct 10 '25 23:10 PeteLawler

Cucumber based tests are outdated and not working. Also I haven't included the 'fixtures' into the repo due to size.

I'm currently converting all the tests to use Playwright as the runner so this will be resolved soon.

Thanks for the report.

dmeehan1968 avatar Oct 11 '25 08:10 dmeehan1968