v2.1.5
版本发布时间: 2024-11-13 23:24:47
vitest-dev/vitest最新发布版本:v3.0.0-beta.2(2024-12-10 18:22:19)
🐞 Bug Fixes
-
dangerouslyIgnoreUnhandledErrors
without base reporter - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6808 (0bf0a) - Capture
unhandledRejection
even when base reporter is not used - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6812 (8878b) - Don't change the working directory when loading workspace projects - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6811 (f0aea)
- Remove
sequence.concurrent
from theRuntimeConfig
type - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6880 (6af73) - Stop the runner before restarting, restart on workspace config change - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6859 (b01df)
- Don't rerun on Esc or Ctrl-C during watch filter - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6895 (98f76)
- Print ssrTransform error - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6885 (4c96c)
- Throw an error and a warning if
.poll
,.element
,.rejects
/.resolves
, andlocator.*
weren't awaited - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6877 (93b67) -
browser:
- Don't process the default css styles - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6861 (0d67f)
- Support non US key input - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6873 (5969d)
- Stop the browser rpc when the pool is closed - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6858 (9a0c9)
- Init browsers eagerly when tests are running - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6876 (417bd)
-
coverage:
- Report uncovered files when re-run by
enter
or'a'
- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6848 (487c8)
- Report uncovered files when re-run by
-
ui:
- Remove crossorigin attributes for same origin assets - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6883 (6e793)
-
vite-node:
- Improve esm check to decide external - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6816 (7e1fa)
- Top-level throw in module is not reported properly - by @vanaigr and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6840 (cf0cb)
-
vitest:
- Use fetch() implementation from happy-dom - by @capricorn86 in https://github.com/vitest-dev/vitest/issues/6879 (3c56f)
🏎 Performance
- Limit workspace project concurrency to available cores - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6869 (f4c04)