87 Commits

Author SHA1 Message Date
Vladimir
122ff321cc
feat(reporters): print import duration breakdown (#9105) 2025-12-02 16:48:29 +01:00
Raul Macarie
821aa20021
feat(runner): Add full names to tasks (#9087) 2025-11-25 14:50:06 +01:00
Raul Macarie
c37c2eb0b5
feat(ui): add tabbed failure view for toMatchScreenshot with comparison slider (#8813) 2025-11-25 11:01:55 +01:00
Vladimir
624032ed6f
chore(ui): use vitest-browser-vue for UI tests, remove auto loading, typecheck UI (#8752) 2025-10-22 16:04:28 +02:00
Vladimir
3e535f78bd
fix(ui): keep the same tab open when clicking on different tests (#8599) 2025-09-19 12:08:36 +02:00
Vladimir
b825ef87c5
fix: make sure test errors always have stacks property in Node.js context (#8392) 2025-08-06 18:03:32 +02:00
Vladimir
89a1cb626a
fix!: remove deprecated typecheck and runner types (#8199) 2025-06-20 14:13:28 +02:00
Vladimir
da59eb887b
fix!: replace deprecated ErrorWithDiff with TestError (#8195) 2025-06-20 11:58:26 +02:00
Vladimir
c69be1fc1a
feat(ui): show test annotations and metadata in the test report tab (#8093) 2025-06-05 19:26:25 +02:00
Vladimir
b03f2098a5
feat: annotation API (#7953) 2025-05-30 18:56:14 +02:00
Vladimir
3bdf05d19c
fix: ensure errors keep their message and stack after toJSON serialisation (#8053) 2025-05-30 13:12:32 +02:00
Vladimir
c23b0f78f2
fix(wdio): don't scale browser in headless mode (#8033) 2025-05-28 14:16:35 +02:00
Hiroshi Ogawa
ed9aeba212
fix(browser): restrict served files from /__screenshot-error (#7340) 2025-01-23 07:40:46 +01:00
Joaquín Sánchez
faca4de870
fix(ui): add errors and draft state (*) to the code editor (#7044) 2025-01-14 14:20:44 +01:00
Joaquín Sánchez
50cf61b805
feat(ui): allow hide/show node_modules in module graph tab (#7217) 2025-01-12 18:41:54 +01:00
Jacob Erdman
1bf27f0dde
feat(ui): Make clicking on a test in the UI open the report section and scroll to the test failure if applicable (#6900) 2024-12-09 11:28:04 +01:00
Vladimir
7957f91262
fix: don't use Custom type internally (#7032) 2024-12-05 17:09:27 +01:00
Vladimir Sheremet
db19f6eb74
Revert "fix: don't use Custom internally"
This reverts commit 46fc53405743f20db5255f0468e772fb3afe6211.
2024-12-05 16:49:52 +01:00
Vladimir Sheremet
46fc534057
fix: don't use Custom internally 2024-12-05 16:44:33 +01:00
renovate[bot]
04f250fe1c
chore(deps): update eslint packages (#6958)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2024-12-04 12:41:43 +01:00
Hiroshi Ogawa
de74785e05
chore(deps): update @antfu/eslint-config v3.8.0 (#6751) 2024-10-23 13:18:42 +02:00
renovate[bot]
84a066af0e
chore(deps): update dependency @antfu/eslint-config to v3 (#6435)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2024-09-02 10:16:37 +02:00
Joaquín Sánchez
2d62051f13
feat(browser): allow preview and open in the editor screenshot error from ui (#6113) 2024-07-15 13:06:45 +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
Joaquín Sánchez
71c1754bf1
chore(ui): remove vue sfc imports from vue files (#5945) 2024-06-20 21:02:59 +02:00
Joaquín Sánchez
cee82e4735
chore: enable eslint in vue files (#5902) 2024-06-17 11:58:55 +02: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
Joaquín Sánchez
b117e87562
feat(ui): load module graph on tab selection (#5844) 2024-06-06 15:39:44 +02:00
Vladimir
a758157563
fix(browser): print correct transformed module graph (#5833) 2024-06-03 17:19:31 +02:00
Vladimir
e20538a36e
feat: add blob reporter (#5663) 2024-05-14 18:57:08 +02:00
Vladimir
7adb8e8cf1
chore: rewrite UI tests using @vitest/browser (#5707) 2024-05-14 12:26:08 +02:00
Hiroshi Ogawa
ab60bf8dff
fix(ui): escape html in error diff (#5325) 2024-03-04 21:02:36 +01:00
Hiroshi Ogawa
e0dde6ab42
fix(ui): escape html for console log view (#4724) 2023-12-18 14:21:25 +01:00
Vladimir
cc19117d30
chore: migrate to flat eslint config (#4472) 2023-11-11 08:07:39 +01:00
Vladimir
9527e65a38
chore: improve build time and memory usage (#4369) 2023-10-25 11:19:49 +02:00
Vladimir
a1aadd713c
feat(vitest): run typecheck during tests (#4324) 2023-10-19 11:21:51 +02:00
Ray
8c3152fac9
fix(ui): correctly render ansi diff (#3810)
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-09-18 17:22:33 +02:00
Vladimir
8b39c11765
fix(vitest): show error when calling API on files that user has no access to (#4085) 2023-09-08 13:31:52 +03:00
Vladimir
bcb41e514f
fix: restrict access to file system via API (#3956) 2023-08-15 17:05:50 +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
Vladimir
9c7ea3820f
fix: revert concordance diff, use jest's diff output (#3582) 2023-06-16 11:21:59 +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
Vladimir
446308da9d
feat!: use "concordance" package to display diff instead of using custom diff (#2828) 2023-03-29 14:16:52 +02:00
Vladimir
482b72fc5f
feat!: move test runner into a separate package (#2721)
Closes https://github.com/vitest-dev/vitest/issues/1470
2023-01-23 10:14:50 +01:00
Vladimir
e641a110d0
feat!: deprecate "error" on result, store errors in "errors" (#2586) 2023-01-01 16:10:17 +01:00
Adrien Baron
ef77dccf05
fix(api): make api parse error stacks and return sourcePos in onTaskUpdate (#2563)
* fix(api): make api parse error stacks on onTaskUpdate

* chore(node): remove all references to sourcePos

* chore(node): remove Position type
2022-12-28 09:53:57 +01: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
yoho
f02c982865
fix: expected reversed with actual (#2460) 2022-12-08 10:07:36 +01:00
yoho
81ba052c4c
chore: crlf to lf (#2449) 2022-12-07 10:57:17 +01:00
scarf
8595c0e5fd
feat(ui): show diff in report panel (fix #2406) (#2423)
* feat(ui): show diff on report panel

* refactor: add better type guard

* refactor: move diff to utils

* chore: move utils to ui package

Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2022-12-05 20:03:20 +01:00