27 Commits

Author SHA1 Message Date
Vladimir
0dc93ea988
feat: introduce separate packages for browser mode providers (#8629) 2025-10-01 15:58:13 +02:00
Vladimir
606cb9e3e3
feat(browser)!: require a provider factory instead of a string (#8445) 2025-08-27 12:00:11 +02:00
Vladimir
3f8159a2ff
ci(rollup): disable watcher for types generators (#8035) 2025-05-26 16:22:39 +02:00
Vladimir
33d0538521
fix: remove unused exports (#7618) 2025-05-19 14:36:51 +02:00
Vladimir
12762ea6cc
perf(browser): fork jest-dom instead of bundling it (#7605) 2025-03-26 10:07:11 +01:00
Hiroshi Ogawa
9695d734eb
chore: replace rollup-plugin-esbuild with unplugin-oxc (#7680)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2025-03-18 16:13:38 +01:00
Hiroshi Ogawa
c0cf65f94f
chore: use unplugin-isolated-decl with oxc-transform for dts build (#7609)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2025-03-07 09:54:45 +01:00
Vladimir
169028f03a
feat(browser): allow custom HTML path, respect plugins transformIndexHtml (#6725) 2024-10-25 14:38:16 +02:00
Hiroshi Ogawa
de74785e05
chore(deps): update @antfu/eslint-config v3.8.0 (#6751) 2024-10-23 13:18:42 +02:00
Vladimir
cf148645c9
feat(browser): support userEvent.upload in playwright provider (#6442) 2024-09-02 18:33:22 +02:00
Vladimir
30dc579309
fix(browser): keep querying elements even if locator is created with elementLocator, add pubic @vitest/browser/utils (#6296) 2024-08-07 13:40:18 +02:00
Vladimir
3347f83e5a
feat(browser): introduce built-in locators (#6084) 2024-08-07 08:18:27 +02:00
Vladimir Sheremet
9069bdcd69
Revert "fix(browser): don't inject empty process global (#6213)"
This reverts commit 1affb99551a40b16df47ec78915c05cdc6d74e94.
2024-07-24 17:42:34 +02:00
Vladimir
1affb99551
fix(browser): don't inject empty process global (#6213) 2024-07-24 11:00:55 +02:00
Vladimir
e6fbc620e8
fix(browser): don't bundle afterEach cleanup hooks in node entrypoint (#6192) 2024-07-22 12:47:30 +02:00
Vladimir
80a43d5c7c
fix(browser): inline pretty-format and replace picocolors with tinyrainbow (#6077) 2024-07-10 15:08:44 +02:00
Vladimir
3a96a3d0e8
feat(browser): introduce expect.dom method and bundle jest-dom matchers with @vitest/browser (#5910) 2024-06-20 13:08:02 +02:00
Vladimir
67d6adde93
refactor(browser): move the browser server into its own entity (#5924) 2024-06-19 18:12:52 +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
81c42fc8a8
feat(browser): run tests in parallel in headless mode, add page.screenshot method (#5853) 2024-06-12 14:06:05 +02:00
Vladimir
7c2037dd4d
chore: use require('./package.json') in rollup.config instead of assert to remove the warning (#4469) 2023-11-10 15:21:17 +01:00
Vladimir
5cdeb558c2
feat!: move browser providers to @vitest/browser package (#4364) 2023-10-27 09:02:11 +02:00
Vladimir
9527e65a38
chore: improve build time and memory usage (#4369) 2023-10-25 11:19:49 +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
1cbc24dca6
fix: don't resolve builtin Node modules (#2538)
* fix: use "node:" prefix in Vitest imports

* chore: add test for prefix

* chore: cleanup

* chore: use more node protocol

* chore: cleanup

* chore: cleanup
2022-12-20 12:57:48 +03:00
Joaquín Sánchez
aa6ee0f954
refactor(browser): move client code into src (#2367)
* fix: refactor browser package

* chore:fix CI

* chore: move public folder inside src/client

* chore: revert lock file

* chore: .
2022-11-23 16:27:45 +01:00
Anthony Fu
88033bca99
feat: init @vitest/browser package (#1302)
Co-authored-by: Joaquín Sánchez Jiménez <joaquin.sanchez@fi2net.es>
Co-authored-by: userquin <userquin@gmail.com>
Co-authored-by: M. Bagher Abiat <zorofight94@gmail.com>
2022-07-20 03:37:45 +08:00