Hiroshi Ogawa

Results 136 issues of Hiroshi Ogawa

UPDATE: current workaround with `pool: "forks"` and `setupFiles` looks like this https://stackblitz.com/edit/vitest-dev-vitest-xedeud?file=packages%2Flib1%2Fvite.config.ts --- ### Describe the bug - Related: https://github.com/vitest-dev/vscode/issues/254#issuecomment-1953750603 I've seen a similar behavior while I was investigating https://github.com/vitest-dev/vitest/discussions/5003,...

pending triage
feat: workspace

### Description - Closes https://github.com/vitest-dev/vitest/issues/5185 _todo_ - [x] docs - [x] tests - manually tested in `examples/basic` by adding `clearScreen: true/false` in `vite.config.ts` and using `--clearScreen=true/false` from cli ### Please...

### Description - Closes https://github.com/vitest-dev/vitest/issues/5247 I couldn't identify the actual cause of cursor not getting back _only_ on typecheck run, so I went with using `logUpdate.done` to explicitly restore the...

### Description - closes https://github.com/vitest-dev/vitest/issues/5263 Snapshot update works inside the repository `test/browser` but apparently it fails when installed. I still don't fully understand the intricacy of this difference, but adding...

### Describe the bug See https://github.com/vitest-dev/vitest/pull/5278#issuecomment-1960826263 Currently inline snapshot update is not working due to https://github.com/vitest-dev/vitest/issues/5263, but even after the fix https://github.com/vitest-dev/vitest/pull/5278, it's still not working when `slowHijackESM: true` for...

feat: browser
p2-edge-case

### Description - Related https://github.com/vitest-dev/vitest/issues/4004 Not sure if this is a right way, but I patched `@types/sinonjs__fake-timers` to update jsdoc. I guess it'll work since it's bundled, but please let...

### Describe the bug The issue is originally reported in the discussion https://github.com/vitest-dev/vitest/discussions/5003 (I initially suspected mis-usage of `loadEnv` with `process.cwd`, but it turned out to be irrelevant). The reproduction...

discussion
feat: workspace

### Describe the bug Related to - https://github.com/vitest-dev/vitest/issues/4949 - https://github.com/vitest-dev/vitest/pull/4987#discussion_r1455182005 Non-VM pools should be working after https://github.com/vitest-dev/vitest/pull/4987, but VM pool seems to have a problem since it relies on custom...

feat: vm pool
p2-edge-case

### Description - closes https://github.com/vitest-dev/vitest/issues/4723 - related https://github.com/vitest-dev/vitest/pull/4784 This is a non breaking version of https://github.com/vitest-dev/vitest/pull/4784 by exposing new jest-like `Mock` type under a separate namespace based on the suggestion...

p2-to-be-discussed

### Description - closes https://github.com/vitejs/vite/issues/16405 I'm not totally sure if this is a right fix, but it seems to work when testing a patch locally. Let me check with CI....