Vladimir
f00a1ac228
docs: add information about benchmarking ( #2001 )
2022-09-10 15:54:55 +08:00
Anthony Fu
46f6bfbc9a
docs(bench): improve warning messag
2022-09-10 15:53:41 +08:00
Anthony Fu
d016724762
feat(bench): improve summary
2022-09-10 15:51:47 +08:00
Mohammad Bagher Abiat
6809a88b0b
fix(bench): do not group benchmarks ( #2016 )
...
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-09-10 08:25:25 +08:00
Nick McCurdy
def8a77bcc
fix(bench): rank sorting, fix #2006 ( #2007 )
2022-09-10 08:21:06 +08:00
Mohammad Bagher Abiat
e5c40cff09
fix: update tinybench to 2.1.5 ( #1990 )
2022-09-06 15:07:34 +03:00
Anthony Fu
86b25eaa8b
docs: update vite-node users
2022-09-06 15:53:36 +08:00
被雨水过滤的空气(Rairn)
00912fe695
chore: use cross-env ( #1986 )
2022-09-06 15:19:11 +08:00
renovate[bot]
69d55bc19c
chore(deps): update all non-major dependencies ( #1975 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-05 14:00:50 +03:00
Vladimir Sheremet
e8c36c52e3
chore: release v0.23.1
2022-09-05 11:14:39 +03:00
Vladimir
209ea6ba87
fix: correctly normalize mocked path, if file is named like the folder ( #1973 )
...
* fix: correctly normalize mocked path, if file is named like the folder
* chore: cleanup
2022-09-05 11:13:51 +03:00
Bartosz Golebiowski
9fe28a49c7
fix(ui): display correct line and column for web UI ( #1972 )
...
Co-authored-by: golebiowskib <bartosz.golebiowski@@ttpsc.pl>
2022-09-05 11:13:17 +03:00
Vladimir
5b760b0b00
fix: define default exports properties as named exports for ESM compatibility ( #1979 )
2022-09-05 11:13:02 +03:00
Vladimir Sheremet
f3025cde4c
fix: don't hang when running vitest
2022-09-04 19:46:59 +03:00
Vladimir Sheremet
3807c07f80
fix: don't fail on running vitest dev ( closes #1971 )
2022-09-04 19:17:37 +03:00
JJ
c8afc012aa
fix: show diff for errors that contain actual/expected without showDiff ( #1966 )
2022-09-04 16:38:39 +03:00
Vladimir Sheremet
aa7eb7d14b
chore: license
2022-09-04 15:00:08 +03:00
Vladimir Sheremet
e81a204937
chore: release v0.23.0
2022-09-04 14:58:41 +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
Vladimir
4131a52e1e
feat!: improve interchangeability with cjs ( #1944 )
2022-09-04 10:54:33 +03:00
Anthony Fu
456079ea73
feat: introduce retry option for tests ( #1929 )
2022-09-04 10:53:43 +03:00
Vladimir
f32383a3ef
feat!: if not processed, CSS Modules return a proxy, scope class names by filename ( #1803 )
2022-09-04 10:53:09 +03:00
Vladimir
58fe60b8e5
feat(worker): always apply custom resolver conditions ( #1934 )
2022-09-04 10:46:12 +03:00
Ari Perkkiö
5bfd3c9a40
feat(coverage-istanbul): add "all" option ( #1880 )
2022-09-04 10:41:54 +03:00
Vladimir
51b5d8037e
fix: matcher toHaveProperty actually tests value ( #1958 )
2022-09-04 10:14:54 +03:00
Vladimir
025f2564f4
feat!: don't reset modules with --no-isolate ( #1754 )
...
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-09-04 10:14:07 +03:00
Vladimir
e393be3414
feat: allow custom environments ( #1963 )
...
* feat: allow custom environments
* chore: linting
* chore: cleanup
Co-authored-by: Ivan Demchuk <ivan.demchuk@gmail.com>
* chore: cleanup
Co-authored-by: Ivan Demchuk <ivan.demchuk@gmail.com>
* chore: cleanup
* docs: cleanup
* docs: cleanup
* Update docs/guide/environment.md
Co-authored-by: Ivan Demchuk <ivan.demchuk@gmail.com>
Co-authored-by: Ivan Demchuk <ivan.demchuk@gmail.com>
2022-09-04 09:37:11 +03:00
cyly
03f7450957
fix: delete mock in moduleCache when unmock ( #1947 )
2022-09-02 14:08:38 +00:00
Vladimir
55049f4a4e
fix: make globalThis more compatible with jest ( #1956 )
...
* fix: make globalThis more compatible with jest
* chore: oops
* chore: cleanup
* chore: cleanup
2022-09-02 14:52:13 +03:00
Bartosz Golebiowski
9add2745f8
fix: add possibility to filter test files by fileName ( #1915 )
...
* feat(vite-node): add possibility to filter test files by fileName
* feat(vite-node): change filtering mechanism to use 'includes' method
* refactor: use globTestFiles to filter by filename
Co-authored-by: golebiowskib <bartosz.golebiowski@@ttpsc.pl>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2022-09-01 13:33:35 +03:00
Rémi Marche
71f1ca790e
chore(chai): fix spelling ( #1946 )
2022-09-01 13:33:24 +03:00
Tony Trinh
51824896ba
fix(env-replacer): don't modify string literals ( #1943 )
...
* fix(env-replacer): don't modify string literals
fix #1941
* test(env-replacer): verify string literals are ignored
* chore: fix typo envRelacer.ts -> envReplacer.ts
* chore: fix typo envRelacer.ts -> envReplacer.ts
* chore: move strip-literal to correct package
2022-09-01 13:32:37 +03:00
Simon Abbott
9f887f3598
fix: automock getters and setters ( #1903 )
...
* fix: automock getters and setters
* refactor: do not mock getters/setters
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2022-08-30 18:48:57 +03:00
azaleta
44b7fce994
fix(reporter): correct error source position in json report ( #1909 )
...
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-08-29 22:06:32 +08:00
yoho
8aeeb3b631
chore: build generated files ( #1930 )
2022-08-29 22:06:01 +08:00
Anthony Fu
faed4acb59
feat(coverage): include json reporter by default
2022-08-29 16:11:34 +08:00
renovate[bot]
a5d1ef498b
chore(deps): update all non-major dependencies ( #1895 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-08-29 05:21:53 +00:00
sun0day
e7e8a76680
fix: clean coverage-c8 tmp before reporting ( fix #1917 ) ( #1925 )
2022-08-29 07:59:45 +08:00
Vladimir
5b190e8490
fix: improve error serialization ( #1921 )
2022-08-26 11:43:42 +03:00
sun0day
88d5764894
fix: invalidate new worker and its dependencies ( #1896 )
2022-08-23 15:50:20 +03:00
Chris Towles
b35f42dbce
fix(reporter-junit): escape XML when in error message ( fix : #1823 ) ( #1890 )
2022-08-23 16:14:21 +08:00
阿豪
0d7c4648db
fix: console.Console is undefined ( close : #1877 ) ( #1878 )
2022-08-23 09:49:02 +03:00
warmthdawn
baf5e755af
feat: add include option in istanbul coverage ( #1883 )
2022-08-19 16:53:12 +08:00
Anthony Fu
80739caea0
fix(istanbul): disable compact in instrumenter transform
2022-08-19 16:49:54 +08:00
Simon Abbott
285ac7c24e
fix: allow referring to first seen value while automocking ( #1879 )
2022-08-19 08:27:18 +03:00
Anthony Fu
637e2b3766
chore: release v0.22.1
2022-08-18 15:59:58 +08:00
Simon Abbott
a8183afd3a
chore(deps): update tinyspy to 1.0.2 ( #1869 )
...
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-08-18 15:48:45 +08:00
Anthony Fu
b8922aa195
feat(vite-node): moduleCache.invalidateDepTree utiltity ( #1872 )
2022-08-18 15:48:31 +08:00
Anthony Fu
7ba6b206ba
refactor(vite-node): clear method and vars name
2022-08-18 15:09:36 +08:00
Anthony Fu
870d16e043
fix: explicitly import performance
2022-08-18 12:34:14 +08:00