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
Kid
0c2e323ee1
docs: fix vi.fn signature ( #2014 )
2022-09-09 10:49:30 +03:00
Jon Musselwhite
8cd7def43e
docs: correct jsdom typo ( #2011 )
...
I tested `jsdon` to confirm it does not work. When I tried it, I was prompted to install undefined. It does work when the value is `jsdom` so I made that change here.
Perhaps there should be some error handling for when an unknown environment is specified rather than letting it attempt to install undefined?
2022-09-09 10:48:57 +03:00
Orleydo Vargas
90ffa6dc0f
docs: add different package managers installations ( #1980 )
...
* docs: Split 'Adding Vitest to your Project' options
make it easier to copy bash commands for each package manager
* docs: Split 'Adding Vitest to your Project' options
Make it easier to copy bash commands for each package manager
2022-09-08 11:34:25 +03:00
irvile
e5cf1c1915
feat: added fastify example ( #1991 )
2022-09-08 11:32:52 +03:00
Yue JIN
08feae1eea
docs: fix contrast between lang name and code block ( #1996 )
2022-09-08 00:36:37 +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
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
Simon McEnlly
f55fa26063
docs: add Wallaby.js to IDE Integration page ( #1977 )
...
Co-authored-by: Ivan Demchuk <ivan.demchuk@gmail.com>
2022-09-05 11:13:25 +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
Marshall Thompson
a98c845487
docs: grammar ( #1974 )
...
grammar fix
2022-09-05 09:57:13 +08: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
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
Filip Tammergård
5c06494412
docs: update timer mocking section ( #1953 )
2022-09-02 13:53:11 +08: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
vaakian X
35bb461b6e
docs: fix missing word ( #1949 )
2022-09-01 13:31:49 +03:00
Anthony Fu
b4aad6a789
chore: workaround test-ui ci failure ( #1942 )
2022-08-31 16:09:22 +08:00
Anthony Fu
9ab130e25b
ci: limit test ui timeout
2022-08-31 12:29:18 +08: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
Jan Macku
11ed412f42
doc: fix option for updating snapshots ( #1936 )
2022-08-30 19:53:53 +08:00
Anthony Fu
ae8fcc79f2
chore: remove team page workaround
2022-08-29 22:19:40 +08:00
Anthony Fu
e24e28d7a7
chore: update deps
2022-08-29 22:12:52 +08: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