Vladimir
|
ed9ee9d4ba
|
docs: clarify expect docs (#7853)
|
2025-04-18 09:14:38 +02:00 |
|
Joakim J
|
37854a3395
|
docs: Fixed typo under vi.useRealTimers section (#7840)
|
2025-04-16 16:47:33 +02:00 |
|
Vladimir
|
6373ecc8ba
|
docs: show both test options examples (#7786)
|
2025-04-03 10:54:54 +09:00 |
|
Vladimir
|
6adecb9036
|
feat(vitest): allow conditional context.skip(boolean) (#7659)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
|
2025-03-17 13:05:26 +01:00 |
|
Hiroshi Ogawa
|
ea3d67b03b
|
feat: allow array element for test.each/for title formatting (#7522)
|
2025-03-17 13:03:51 +01:00 |
|
Ryo Ochiai
|
df3477076c
|
feat: Introduce %$ option to add number of the test to its title (#7412)
|
2025-03-17 13:01:19 +01:00 |
|
Hiroshi Ogawa
|
2d4537fe81
|
docs: add mockClear/mockReset/mockRestore examples (#7633)
|
2025-03-11 15:11:15 +01:00 |
|
Hiroshi Ogawa
|
167a98d77c
|
fix: exclude queueMicrotask from default fake timers to not break node fetch (#7505)
|
2025-02-18 08:45:06 +02:00 |
|
btea
|
7bfa70cffd
|
docs: describe waitFor parameters more clearly (#7498)
|
2025-02-15 14:39:18 +09:00 |
|
flx-sta
|
0f6d6a62a2
|
docs: add sync-only info to expect.toThrowError tip (#7381)
|
2025-02-10 17:04:23 +01:00 |
|
Hiroshi Ogawa
|
03912b43a7
|
fix: fix getMockedSystemTime for useFakeTimer (#7405)
|
2025-02-04 14:43:08 +01:00 |
|
Ryan Waskiewicz
|
ad8ffac1ea
|
docs(vi): remove extra comma (#7387)
|
2025-01-31 08:29:22 +09:00 |
|
Hiroshi Ogawa
|
0ad2860bf6
|
feat: add describe.for (#7253)
|
2025-01-15 08:49:42 +01:00 |
|
Vladimir
|
766624abd6
|
feat: introduce the new reporter API (#7069)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
|
2025-01-14 16:46:44 +01:00 |
|
Arya Emami
|
8dd2071376
|
chore: fix various typos (#7054)
|
2025-01-08 14:21:45 +01:00 |
|
Vladimir
|
3341fb58d0
|
docs: clarify that imports are not available in vi.hoisted (#7190)
|
2025-01-07 17:17:32 +01:00 |
|
nopeless
|
b700d26467
|
docs: fix increasesBy description (#7121)
|
2024-12-24 11:25:00 +09:00 |
|
Chris
|
3d742b2b52
|
feat(expect): add toBeOneOf matcher (#6974)
Co-authored-by: Hiroshi Ogawa <hi.ogawa.zz@gmail.com>
|
2024-12-20 16:55:34 +09:00 |
|
Gareth Jones
|
5ba49475dc
|
docs: remove disruptive comma (#7094)
|
2024-12-18 08:15:10 +01:00 |
|
Hiroshi Ogawa
|
100230e915
|
fix(expect)!: check more properties for error equality (#5876)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
|
2024-12-10 09:36:07 +01:00 |
|
Vladimir
|
3c18ecf720
|
docs: replace Vitest 2.2 mentions (#7025)
|
2024-12-06 09:46:48 +01:00 |
|
Vladimir
|
82c2e24437
|
feat!: pass down context to test hooks (#7034)
|
2024-12-05 17:44:03 +01:00 |
|
Hiroshi Ogawa
|
aa1dac3de8
|
feat(runner)!: support describe(..., { shuffle: boolean }) and inherit from parent suite (#6670)
|
2024-12-05 16:03:35 +01:00 |
|
Joe
|
db7a888801
|
feat!: spy.mockReset changes (#6426)
|
2024-12-05 15:01:06 +01:00 |
|
Vladimir
|
38e50f1bbd
|
docs: show icons in code-groups and code titles, update sidebar (#6970)
|
2024-11-27 09:46:01 +01:00 |
|
Mason
|
03ca286788
|
docs: update example of "vi.importActual" (#6929)
|
2024-11-19 17:05:16 +09:00 |
|
Estéban
|
85e6f99f07
|
feat(expect): add toHaveBeenCalledAfter and toHaveBeenCalledBefore utility (#6056)
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
|
2024-11-13 18:01:45 +01:00 |
|
Jacob Erdman
|
ff66206ae8
|
feat(expect): add toHaveBeenCalledExactlyOnceWith expect matcher (#6894)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
|
2024-11-13 17:01:01 +01:00 |
|
Vladimir
|
93b67c24b1
|
fix: throw an error and a warning if .poll, .element, .rejects/.resolves, and locator.* weren't awaited (#6877)
|
2024-11-13 13:16:24 +01:00 |
|
Vladimir
|
76169a15a0
|
docs: improve "Mock Functions" page (#6897)
|
2024-11-13 08:59:59 +01:00 |
|
Vladimir
|
1a8d67090f
|
docs: remove outdated note (#6838)
|
2024-11-01 21:45:23 +01:00 |
|
Hiroshi Ogawa
|
234674da38
|
docs: add vi.mocked(..., { partial: true }) example (#6783)
|
2024-10-31 16:40:55 +01:00 |
|
btea
|
47d7c0aeb6
|
docs: add bench test case TaskResult type description (#6704)
|
2024-10-28 13:48:05 +01:00 |
|
mgabor
|
63f8b07042
|
docs: fix typo (#6745)
|
2024-10-20 12:59:33 +09:00 |
|
btea
|
a6479cd7af
|
docs: bench Options type add throws description (#6695)
|
2024-10-12 14:13:14 +02:00 |
|
Vladimir
|
1bacfeab38
|
docs: clarify expect.toMatchFileSnapshot (#6610)
|
2024-10-02 12:56:06 +02:00 |
|
Vladimir
|
5267d4e99b
|
docs: clarify vi.setSystemTime (#6605)
|
2024-10-01 16:04:48 +02:00 |
|
Vladimir
|
87232420eb
|
docs: clarify
|
2024-09-23 21:23:37 +02:00 |
|
Vladimir
|
0b4da69e11
|
fix: userEvent works consistently between providers (#6480)
|
2024-09-12 13:49:15 +02:00 |
|
Juan Sanchez
|
c3b2757cd3
|
feat(vitest): allow env to be stubbed to undefined (#6359)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
|
2024-09-03 11:22:20 +02:00 |
|
renovate[bot]
|
84a066af0e
|
chore(deps): update dependency @antfu/eslint-config to v3 (#6435)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
|
2024-09-02 10:16:37 +02:00 |
|
Vladimir
|
95f0203f27
|
feat(mocker): introduce @vitest/mocker package, allow { spy: true } instead of a factory (#6289)
|
2024-08-21 17:17:27 +02:00 |
|
Benjamin Devine
|
8ff6356059
|
feat(vitest): add vi.advanceTimersToNextFrame (#6347)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
|
2024-08-15 10:38:44 +02:00 |
|
Sung Ye In
|
f5e0b9877f
|
feat(vitest): add return type and promisable mockFactory (#6139)
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
|
2024-08-12 16:14:12 +02:00 |
|
Kamil Ogórek
|
5d542035ac
|
docs: Update common-errors to include dynamic import aliases (#6227)
|
2024-08-09 16:42:42 +02:00 |
|
James Glenn
|
0453c5a8d3
|
docs: Address typos in expect.md (#6290)
|
2024-08-06 19:38:21 +02:00 |
|
Gaspar Dip
|
e6cce09f58
|
docs: fix typo in expect.md (#6282)
|
2024-08-06 09:42:43 +02:00 |
|
Tim Weißenfels
|
a7be50dbce
|
docs: Fix argument name in expect.md (#6254)
|
2024-08-01 13:44:01 +02:00 |
|
Vladimir Sheremet
|
febca74f7d
|
docs: add Promise types
|
2024-07-31 13:37:59 +02:00 |
|
Vladimir
|
57d23cec43
|
docs: fix inconsistencies, remove low informative twoslash examples (#6200)
|
2024-07-23 14:52:21 +02:00 |
|