129 Commits

Author SHA1 Message Date
Joaquín Sánchez
45dfc95aef
feat(ui): replace navigation tree with test explorer (#5907) 2024-06-20 14:24:20 +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
Vladimir
5ebb3abf5b
fix(browser): restore the original viewport when unselecting the preset viewport (#5821) 2024-06-02 21:10:33 +02:00
Joaquín Sánchez
f29b9d4084
feat(browser): add browser iframe mouse interaction (#5815) 2024-06-02 14:11:47 +02:00
Vladimir
718512d80e
feat(browser): support changing the viewport (#5811) 2024-06-01 21:58:38 +02:00
Vladimir
3796dd7e0f
feat: add browser frame to UI (#5808) 2024-06-01 13:33:00 +02:00
Vladimir
7900f9f89c
feat(ui): render tests in a tree (#5807) 2024-05-31 21:33:31 +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
7b2f64cfa3
feat: implement module mocking in browser mode (#5765) 2024-05-31 11:19:38 +02:00
Vladimir
e20538a36e
feat: add blob reporter (#5663) 2024-05-14 18:57:08 +02:00
btea
1f7268fa76
feat(ui): sort items by file name (#5652) 2024-05-02 16:06:47 +02:00
Vladimir
bdce0a29db
feat: support standalone mode (#5565) 2024-05-02 15:16:48 +02:00
Hiroshi Ogawa
5376d5be3e
fix(ui): auto reload coverage iframe after test run (#5242) 2024-02-20 14:05:16 +01:00
Jan Müller
38155548ea
fix: add task tests iteratively (#5235) 2024-02-20 14:04:29 +01:00
Vladimir Semyonov
581030eec8
fix(ui): fix tests duration time (#5219) 2024-02-16 14:46:20 +01:00
Vladimir
dcf0d6afe9
chore(deps): update antfu stylelint config (#5127) 2024-02-06 22:00:31 +01: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
Hiroshi Ogawa
71911039c3
fix(ui): fix coverage iframe url for html report preview (#4717) 2023-12-19 11:34:27 +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
Segev Finer
8caabaa1fb
fix(ui): Use web hash history in ui (fix #3481) (#3487)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2023-08-24 14:38:21 +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
Vladimir
bcb41e514f
fix: restrict access to file system via API (#3956) 2023-08-15 17:05:50 +02:00
Dunqing
351399f293
fix(ui): incorrect duration time in vitest ui (#3945) 2023-08-14 13:42:24 +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
renovate[bot]
c8c1b4a6a3
chore(deps): update all non-major dependencies (#3662)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-06-28 19:55:17 +02:00
Vladimir
9c7ea3820f
fix: revert concordance diff, use jest's diff output (#3582) 2023-06-16 11:21:59 +02:00
mzanelee
5bf7eb6e2a
fix: support application/x-gzip metadata in html report (#3333)
Co-authored-by: Michael Lee <michael.lee@ada.com>
2023-05-10 13:33:40 +02:00
renovate[bot]
48c4e8c68b
chore(deps): update all non-major dependencies (#3238)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-05-04 08:18:01 +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
Vladimir
446308da9d
feat!: use "concordance" package to display diff instead of using custom diff (#2828) 2023-03-29 14:16:52 +02:00
Mohammad Bagher Abiat
9cdc8030d0
feat: webdriverio (+ custom providers) integration for browser mode (#2999)
Co-authored-by: Christian Bromann <git@bromann.dev>
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
Co-authored-by: userquin <userquin@gmail.com>
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2023-03-20 14:37:23 +01: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
yoho
d8548c6954
fix(ui): don't show "connecting" screen in html reporter (#2693) 2023-01-17 08:38:56 +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
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
Vladimir
7c7f33d5fc
feat: add typechecking functionality (#2107)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-11-07 23:49:15 +08:00
Anjorin Damilare
17ba76b8d1
docs: update cli docs (#2159) 2022-10-19 12:29:32 +02:00
Vladimir
b237e64b9a
test: fix cypress tests by deduping vue (#2036)
* test: fix cypress tests by deduping vue

* chore: add vue dependency to mocks

* chore: cleanup
2022-09-13 11:13:21 +03:00
yoho
43ba8723a6
feat: benchmark (#1029)
* feat: benchmark

* feat: console result

* chore: lockfile

* chore: rebase

* chore: lock.yaml

* chore: pnpm lock yaml

* chore: update

* feat: collect benchmark

* chore: benchmark use suite collect bench

* chore: run

* chore: lock.yaml?

* feat: render

* chore: revert lock.yml

* chore: update

* feat: options.reports

* chore: update

* chore: async

* chore: defer

* chore: add options

* feat: warn

* chore: update

* feat: sort render

* chore: update

* chore: pnpm lock

* fix: import

* fix: types

* fix: types

* chore: build location

* fix: lint

* fix: lint

* feat: tinybench@2.1.3

* chore: update lock

* chore: reduce benchmark test time

* fix: render

* chore: rename

* feat: dynamic import tinybench

* chore: update

* chore: update sort rules

* feat: bench test

* chore: update test

* chore: update

* feat!: run mode

* feat: throw error on wrong mode

* chore: lint

* chore: cleanup

* chore: update output

* chore: remove options.benchmark is not used in viteConfig.test when command is not benchmark

* chore: update ops/sec

* feat: json reporter

* chore: ignore sample output on terminal

* chore: update

* chore: update

* fix: actually run tests

Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2022-09-04 14:55:44 +03:00
Ari Perkkiö
265fdbe665
feat: support istanbul coverage provider (#1676)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-08-16 02:21:02 +08:00
Yuyao Nie
ebda666c75
fix: calculate label of graph node (#1431)
* fix: show full name for external mod at graph

* fix: calculate label of external mod
2022-06-17 13:04:30 +03:00
Joaquín Sánchez
b737476470
feat(ui): fix file error + add colored support (#1108) 2022-04-08 02:23:16 +08:00
Joaquín Sánchez
a1188b5e35
fix(ui): a11y + codemirror scrolls + minor addons (#1103) 2022-04-05 21:22:05 +08:00
Joaquín Sánchez
088b2dd4ea
fix(ui): open in IDE and error styles (#1039) 2022-03-28 10:15:28 +08:00
Joaquín Sánchez
c977c33f85
feat(ui): open in IDE tests with error on report and code tabs (#992) 2022-03-21 18:56:40 +08:00
Michel EDIGHOFFER
c23be109de
feat(ui): improve summary and update all snapshots (#593)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-01-22 03:58:26 +08:00