51 Commits

Author SHA1 Message Date
Vladimir
9a79b90c95
perf: reduce the number of unused imports (#8508) 2025-09-08 19:20:18 +02:00
Ari Perkkiö
149f8e5095
fix(reporter)!: remove deprecated APIs (#8223)
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2025-08-04 14:30:28 +02:00
Vladimir
b03f2098a5
feat: annotation API (#7953) 2025-05-30 18:56:14 +02:00
Kevin Deng 三咲智子
accd2edaef
refactor: enable isolatedDeclarations (#7473) 2025-02-13 17:37:19 +01:00
Hiroshi Ogawa
191ef9e34c
fix: validate websocket request (#7317)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2025-02-02 10:31:33 +02:00
renovate[bot]
a8d123cb33
chore(deps): update eslint packages (#7086)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2025-01-22 14:13:09 +01:00
Joaquín Sánchez
9175836097
feat: add resolved project names to the reporter API (#7213) 2025-01-12 21:26:51 +01:00
Vladimir
b3070550dd
refactor: fix tsconfig file in ui (#7221) 2025-01-12 20:22:41 +01:00
Joaquín Sánchez
dccdd55062
fix(ui): wrong module graph when generating html.meta.json.gz in browser mode (#7214) 2025-01-12 18:35:59 +01:00
Vladimir
9a1b501223
feat: prepare the Vitest API to be stable (#6962) 2024-12-10 11:12:47 +01:00
Vladimir
171041af5e
refactor: merge TestProject with WorkspaceProject (#6906)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2024-11-18 10:54:09 +01:00
Hiroshi Ogawa
de74785e05
chore(deps): update @antfu/eslint-config v3.8.0 (#6751) 2024-10-23 13:18:42 +02:00
Hiroshi Ogawa
e7f35214c8
fix: move Vitest.setServer to post configureServer hook to enable import analysis for workspace config loading (#6584) 2024-10-01 13:25:51 +02:00
Superchupu
c321a3fd29
chore: replace fast-glob with tinyglobby (#6274) 2024-09-06 14:49:25 +02:00
Vladimir
b992b346e7
fix: print unexpected error message if peer dependencies have a different version (#6446) 2024-09-05 18:44:54 +02:00
Vladimir
3aab8a1ed6
refactor: deprecate all config types from the main Vitest entrypoint, introduce SerializedConfig type (#6205) 2024-07-23 19:28:59 +02:00
renovate[bot]
f55dc0081d
chore(deps): update all non-major dependencies (#6046)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2024-07-15 17:10:15 +02:00
Vladimir
80a43d5c7c
fix(browser): inline pretty-format and replace picocolors with tinyrainbow (#6077) 2024-07-10 15:08:44 +02:00
Joaquín Sánchez
7ec298eb37
feat(ui): add action to explorer item to show the test/suite line in the source code tab (#5948)
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2024-06-27 14:47:31 +02:00
Ari Perkkiö
f33dabbef2
fix(browser): resolve coverage.reporter from string values (#5920) 2024-06-19 11:53:04 +03:00
Vladimir
471cf97b0c
chore: always require curly braces (#5885)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2024-06-16 18:10:10 +02:00
Vladimir
48c502fbeb
fix(ui): show correct module graph and project name in a Vitest workspace (#5792) 2024-05-31 12:43:35 +02:00
Vladimir
5c308edc66
feat: remove deprecated options (#5696) 2024-05-09 17:33:30 +02:00
Ari Perkkiö
fec9ca0b9c
feat(reporters): support custom options (#5111) 2024-02-05 17:56:36 +02:00
Gergő Takács
7f59a1b858
feat(ui): show unhandled errors on the ui (#4380)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2024-01-12 16:06:35 +01:00
Ari Perkkiö
96dc6e9aaf
feat(coverage): custom reporter support (#4828) 2024-01-12 14:25:43 +01:00
Vladimir
9527e65a38
chore: improve build time and memory usage (#4369) 2023-10-25 11:19:49 +02:00
Joaquín Sánchez
6ecfc4e1a9
fix(ui): add support for ui coverage with subdir option (#3917) 2023-08-15 19:04:53 +02:00
Anjorin Damilare
a77afffa83
chore(ui): update UI vue version (#3575)
Co-authored-by: userquin <userquin@gmail.com>
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2023-07-11 09:45:51 +02:00
Joaquín Sánchez
952b5be6ee
fix(ui): don't cache coverage assets (#3508) 2023-06-05 14:16:49 +02:00
Joaquín Sánchez
e24cd9b2cc
feat(ui): add html coverage (#3071)
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-05-03 11:23:44 +02:00
renovate[bot]
0f86ff9897
chore(deps): update all non-major dependencies (#2766)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-04-06 16:53:03 +02:00
Valentin Semirulnik
7856ec12dc
feat: gzip html reporter's metadata (#3113) 2023-04-05 22:03:01 +02:00
yoho
a768015e64
feat: support relative path in html report (#2695)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2023-03-20 13:06:54 +01:00
Caleb Everett
5a6567535a
fix: ENOENT assets when htmldir exists (#2701) 2023-01-19 22:13:49 +00:00
yoho
b8f34eb8ca
feat: add html reporter based on Vitest UI (#2444)
* feat: vitest html report

* chore: copy ui to vitest dist

* feat: report copy ui dist

* feat: ui report version builder

* fix: copy file

* chore: remove

* feat: html metadata path

* feat: add declare

* feat: static file client

* feat: mock rpc

* fix: mock error

* chore: update meta

* chore: compress json

* chore: comment

* chore: update merge config

* chore: lock

* feat: remove all control command from ui

* chore: remove

* feat: report command

* feat: version tag

* chore: reset lock file

* feat: remove hooks

* chore: update

* fix: runningPromise

* chore: update debug mode and disable click on transform

* docs: report

* chore: remove the version mark

* feat: report

* fix: lint

* chore: copy ui from @vitest/ui

* chore: export report from ui

* chore: update

* fix: lint

* docs: ui html report

* feat: ensurePackageInstalled

* update

* feat: more info

* chore: improve documentation and tests

* chore: fix UI bundle size

* chore: ui tests

* perf: remove output report using the global variable to judge report mode

* chore: update

* fix: build

* fix: report

* fix: parse

* chore: fix html reporters test

* chore: don't store config in html reporter test

* chore: update ui docs

* feat: log

* chore: fix tests

* test: fix html reporter tests

* docs add vitest fo UI reporter

Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2022-12-19 13:23:22 +03:00
Anthony Fu
5719e78528 fix: enable api when ui enabled 2022-01-07 03:40:29 +08:00
Anthony Fu
54c9b946fc feat(ui): setup package 2021-12-30 13:31:08 +08:00
Anthony Fu
a79f4f1d77 chore: fix tests 2021-12-28 16:56:31 +08:00
Anthony Fu
6ec41a4228 chore: update packages 2021-12-28 15:22:31 +08:00
Anthony Fu
18218b273d feat(client): auto ws reconnect 2021-12-27 14:19:31 +08:00
Anthony Fu
e7a85d0003 chore: init ws-client 2021-12-27 01:51:14 +08:00
Mirone
73b81223aa
feat(ui): add task list for ui plugin (#302) 2021-12-26 13:35:53 +08:00
Mirone
d4cc602302
refactor(ui): optimize the build and dev scripts of ui package to make it a part of monorepo (#283) 2021-12-23 14:04:41 +08:00
Mirone
b2d5697126
feat(ui): update ui package to latest code (#263) 2021-12-22 04:45:35 +01:00
Mirone
ef07400ddc
fix(ui): web socket server throw errors everytime when starting (#246)
Co-authored-by: SaulMirone <mirone@SaulMirones-MacBook-Pro.local>
2021-12-21 12:34:29 +08:00
Anthony Fu
ce8e944d64 fix: use pathe instead of path 2021-12-18 20:22:30 +08:00
Anthony Fu
601259faae chore: update linter 2021-12-18 11:48:12 +08:00
Anthony Fu
f47a34514d chore: apply linter 2021-12-17 01:23:43 +08:00
Anthony Fu
db360e00b4 refactor: do not dep on process.__vitest__ 2021-12-17 01:12:54 +08:00