2075 Commits

Author SHA1 Message Date
Anjorin Damilare
17ba76b8d1
docs: update cli docs (#2159) 2022-10-19 12:29:32 +02:00
Vladimir Sheremet
42d7278ee9 refactor: combine vite/vitest force rerun trigger 2022-10-19 11:07:48 +02:00
Vladimir Sheremet
ce5eeec78f docs: update minimum Vite version 2022-10-19 11:07:05 +02:00
Jeff Astor
802c67b639
docs: small typo correction (#2168) 2022-10-18 17:09:34 +02:00
Daniel Tschinder
4749e1f78f
chore: rename variable for clarity (#2166) 2022-10-18 20:02:05 +08:00
Vladimir Sheremet
3fae521097 chore(deps): restore vite to 3.0.0, disable vite in renovate 2022-10-18 12:15:35 +02:00
renovate[bot]
a2559b0a65
chore(deps): update dependency @rollup/plugin-alias to v4 (#2162)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-18 11:35:31 +02:00
renovate[bot]
f2a5dce9a2
chore(deps): update all non-major dependencies (#2161)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-18 11:04:55 +08:00
KainStar
909a31dc34
fix: ignore benchmark.reporters in getSerializableConfig (#2164) 2022-10-18 11:04:20 +08:00
Localhousee
8b84e1f056
docs: resolve.alias link from docs (#2160) 2022-10-17 06:28:56 +08:00
silverwind
5e8e5fd702
fix: Add/Update repository properties in package.json (#2151) 2022-10-14 18:25:39 +02:00
Vladimir Sheremet
7d9eebb325 chore: release v0.24.3 v0.24.3 2022-10-14 13:45:37 +02:00
Vladimir Sheremet
3c4a277ea0 fix(build): build packages before publishing 2022-10-14 13:44:59 +02:00
Vladimir Sheremet
ad8c9a0090 chore: release v0.24.2 v0.24.2 2022-10-14 11:37:25 +02:00
Vladimir Sheremet
21ca5ccb8a chore: update pnpm-lock 2022-10-14 11:35:36 +02:00
await-ovo
d0c09987b5
fix(vite-node): init the debugger ahead of time to ensure that load dumped code work as expected (fix #2126) (#2127) 2022-10-14 11:31:46 +02:00
azaleta
b2c332e63e
fix(bench): throw root cause (#2137)
Co-authored-by: Nick McCurdy <nick@nickmccurdy.com>
2022-10-14 11:31:26 +02:00
Ari Perkkiö
8c80b8fb63
fix(coverage): reduce size of leftover v8 reports (#2144) 2022-10-14 11:30:40 +02:00
Joaquín Sánchez
01ca7ad869
fix(browser): working again (#2143) 2022-10-14 11:30:05 +02:00
webfansplz
a6618c1173
feat(ui): add tests summary in the dashboard (#2133)
Co-authored-by: userquin <userquin@gmail.com>
2022-10-14 11:29:48 +02:00
Ahmet Katrancı
6ca180233b
chore: typo (#2147) 2022-10-14 05:19:17 +08:00
Vladimir Sheremet
6f856c4036 chore: release v0.24.1 v0.24.1 2022-10-10 16:56:13 +02:00
Nick McCurdy
99b7d9e37c
fix: parse env options from comments (fix #1962) (#1984)
* chore: add failing test for #1962

* fix: parse env options from comments (fix #1962)

* fix: define options before destructuring

* fix: order envs with similar options together

* fix: check if files are empty

* fix: add missing env key to envOptions

* fix: better conditional logic for envOptions

* fix: change undefined to null

* fix: remove extra parsing overhead
2022-10-10 16:31:47 +02:00
Vladimir
3d5f50232c
fix: don't show extra properties for test context (#2116) 2022-10-10 16:30:17 +02:00
Ari Perkkiö
a24c87344c
fix: remove work-around from istanbul-lib-instrument (#2121) 2022-10-10 16:30:08 +02:00
Vladimir Sheremet
052bc02133 chore(deps): revert vite to 3.0.0 2022-10-10 16:29:04 +02:00
renovate[bot]
9f9f2888f7
chore(deps): update all non-major dependencies (#2131)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-10 16:26:55 +02:00
renovate[bot]
232d51fa73
chore(deps): update dependency @happy-dom/jest-environment to v7 (#2132)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-10 16:26:30 +02:00
Christian Rackerseder
7a429e0394
build: include *.d.cts files in npm package (#2128) 2022-10-09 15:48:17 +08:00
Ari Perkkiö
af3ad61791
fix(coverage): fix sourcemaps of uncovered lines (#2122) 2022-10-08 16:34:59 +08:00
Vladimir Sheremet
0bd37882db chore: release v0.24.0 v0.24.0 2022-10-07 14:04:59 +02:00
Anthony Fu
0896344c7e
fix!: drop support for Vite 2 (#1928)
* fix: drop support for Vite 2

* chore: lock

* chore: fix lit test

* chore: fix lit test

Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2022-10-07 13:44:10 +02:00
Bjorn Lu
652f1604ac
fix!: use type module (revert #1411) (#1465)
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2022-10-07 13:43:48 +02:00
Vladimir
3dbbfe150e
fix: import CustomEventMap from vite for vite-node (#2124) 2022-10-07 13:11:51 +02:00
Abdellah Alaoui Solaimani
d1919a069c
fix: use correct source maps in stacktrace (#2027)
* [vitest] use correct source maps in stacktrace

use vitenode server to get a fetch result instead of a transform result.
And then get the sourcemap from it.

* [vitest] refactor

* add tests for stack traces and sourcemaps

* commit lockfile

* fix linter

* fix types linter

* remove dynamic content from snapshot

* push the correct snapshot

* fix tests :)

* increase timeout for runner tests

* decrease timeout .. not the culprit in CI

* move continue below map assignment

* guard against accessing vitenode server

* reduce the size of snapshots

* rename timeout to prevent running more than one
2022-10-07 10:13:39 +02:00
azaleta
53d8f3b07e
feat(inline-snapshot): support comment (#2077) 2022-10-07 10:07:26 +02:00
Joshua Nussbaum
dd7c80bee8
docs: add instructions for debugging tests via terminal (#2085)
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2022-10-07 10:03:01 +02:00
c0dedance
a3e624bf86
chore: add cache for eslint (#2115) 2022-10-06 04:14:57 +08:00
Vladimir Sheremet
bd677017d9 fix: don't stop watch mode, if non-object error is thrown, close #2106 2022-10-05 14:57:58 +02:00
Vladimir Sheremet
ef12e96834 chore: when checking for asymmetricMatch, check for object 2022-10-05 14:46:43 +02:00
Vladimir Sheremet
cba3ff0937 fix: check hook teardown return type, closes #2092 2022-10-05 14:46:19 +02:00
Vladimir Sheremet
757199a661 fix: check for asymmetricMatch before accessing 2022-10-05 14:25:54 +02:00
renovate[bot]
40862a2f88
chore(deps): update all non-major dependencies (#2111) 2022-10-03 07:10:24 +02:00
Patrick
eabe66e8e2
fix(jsdom): use jsdom Blob instead of Node, if jsdom is enabled (#2086) 2022-10-01 16:05:18 +02:00
renovate[bot]
0cae8ac0ae
chore(deps): update all non-major dependencies (#2084)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-29 09:46:45 +02:00
JoeyHuang0235
5b8d6dbe75
docs: use type: node in launch configuration to debug (#2081) 2022-09-25 13:38:13 +02:00
Ari Perkkiö
f3524602cc
docs: description for coverage include option (#2063) 2022-09-24 11:15:03 +02:00
Ken
94c9143382
docs: vi.runAllTimers example code (#2076) 2022-09-23 18:59:35 +02:00
Mohammad Bagher Abiat
93a0f4277d
docs: benchmarking and tinybench (#2059) 2022-09-20 11:12:20 +08:00
Mohammad Bagher Abiat
d6c066b196
feat(benchmark): todo mode (#2057) 2022-09-20 11:11:44 +08:00