22 Commits

Author SHA1 Message Date
Vladimir
26ce88db68
fix(pool): assign envs before running tests to keep in sync with process.env (#8769) 2025-10-23 11:46:17 +02:00
Vladimir
497cb94498
test: don't use __dirname and __filename in tests and configs (#8314) 2025-07-15 15:02:19 +02:00
Hiroshi Ogawa
de74785e05
chore(deps): update @antfu/eslint-config v3.8.0 (#6751) 2024-10-23 13:18:42 +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
7c993e9454
test: standardising internal test (#5600) 2024-04-26 15:43:27 +02:00
Vladimir
ffaf16b489
chore: remove unused dependencies from monorepo (#4359) 2023-10-24 11:50:31 +02:00
renovate[bot]
82d7cbc2e9
chore(deps): update all non-major dependencies (#3315)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-06-20 16:11:48 +02:00
Vladimir
ba3d133836
fix: don't call global setup teardown twice (#3188) 2023-04-13 11:15:31 +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
58ee8e9b63
feat!: rewrite how vite-node resolves id (#2463)
* feat!: rewrite how vite-node resolves id

* chore: try to fix global setup test

* fix: remove /@fs/ from filepath

* chore: cleanup

* fix: normalize id for callstack

* fix: don't append "/" before disk drive on windows

* chore: cleanup

* chore: add test that windows drive is not repeated

* fix: dirname uses \\, update windows paths tests

* refactor: rename variables

* fix: don't provide importer only for /@id/

* chore: remove null byte placeholder as part of unwrapRef

* chore: cleanup

* chore: variables renaming

* fix: don't hang on circular mock

* test: update c8 snapshot

* chore: add compatibility layer for users who don't provide resolveId

* test: fix url handling in web worker

* test: fix file tests on windows

* chore: remove unnecessary normalizations in mocker

* chore: use /@fs/ when fetching module, if possible
2022-12-16 15:32:34 +01:00
Vladimir
6ed32dd382
fix: better bundling of types (#1785)
* fix: better bundling of types

* chore: fix types clash
2022-08-04 14:18:17 +03:00
Sabertaz
f5cb4bfcc9
test(config): add integration test (#1353)
Add integration test for #1347.
2022-05-22 09:48:08 +03:00
Anthony Fu
ec10d5889b chore: try fix ci 2022-05-14 07:48:51 +08:00
Anthony Fu
713c870a55 chore: lint 2022-04-25 19:44:30 +08:00
Anthony Fu
db824cf434 chore: apply lint 2022-04-03 16:35:29 +08:00
Jess
7952647601
feat: adding ui component tests (#590)
* docs: additional cypress + vitest comparison content

* feat: ui testing

* fix: seperate cypress tests

* feat: adding cypress component testing for ui

* chore: share the common deps for global app setup

* spacing

* Update package.json

Co-authored-by: Michel EDIGHOFFER <edimitchel@gmail.com>

* chore: adding OptimizationPersist + PkgConfig to reduce flake

* chore: workaround for unocss hmr

* chore: adding ts-ignore comments

* chore: reordering data-testid

* chore: ts-expect-error

* --allow-empty

* bug: reproduction of failing vite + cypress setup

* chore: adding Vite 2.9.0-beta.3 to cold-start stability issues for UI component tests

* chore: fixing types

* chore: fixing types

* reenabling tests

* adding faker seed back in

* bumping faker version

Co-authored-by: Michel EDIGHOFFER <edimitchel@gmail.com>
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-03-21 19:18:44 +08:00
yoho
95d6432e64
feat: loading animation for beforeEach, beforeAll, afterEach, afterAll (#898)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-03-07 20:12:27 +08:00
Dominik G
ebf8ca120e
feat: merge viteConfig.test in configResolved (#644) 2022-01-28 06:20:45 +08:00
Dominik G
5eebd60475
refactor: use vite-node to load globalSetup (#624) 2022-01-27 08:04:21 +08:00
Ivan Demchuk
36e6207403
docs: use vitest run mode for coverage examples (fix #602) (#611) 2022-01-23 18:11:56 +08:00
patak
22d2deda69
refactor: rename global to globals (#565) 2022-01-18 13:16:44 +08:00
Dominik G
eaa119fd09
feat: global setup (#372)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-01-10 18:14:03 +08:00