Joaquín Sánchez
bdedbc2c19
feat(ui): add summary ( #493 )
...
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-01-18 13:53:27 +08:00
Vladimir
bbd361a000
refactor: split deepMerge and deepMergeSnapshot ( #563 )
2022-01-18 13:17:59 +08:00
patak
22d2deda69
refactor: rename global to globals ( #565 )
2022-01-18 13:16:44 +08:00
Pionxzh
ffffdd8e05
fix: improve file path handling in first level catalog ( fix #535 ) ( #541 )
...
Co-authored-by: spigbbbbb@gmil.com <pionxzh>
2022-01-18 13:15:05 +08:00
Vladimir Sheremet
dda62d0af8
feat: vi.mock can be used inside setupFiles to automock libraries
2022-01-17 14:58:58 +03:00
Anthony Fu
b55e20a218
fix: temporary remove inline snapshot indent
2022-01-17 16:43:39 +08:00
Vladimir
4456615ecf
test: test rejects toThrow to be compatible with jest
2022-01-16 10:09:32 +03:00
Vladimir
5c2a2d9364
fix: toThrow compatible with jest
2022-01-16 10:05:18 +03:00
Vladimir Sheremet
34ea091950
chore: mock happens if there is a quote inside a comment before
2022-01-14 17:26:23 +03:00
Vladimir
9d5a8b156f
feat: implement mock.invocationCallOrder ( #532 )
2022-01-14 17:12:13 +03:00
Anthony Fu
4420a39e5b
fix: inline snapshot, close #525
2022-01-14 12:18:51 +08:00
Anthony Fu
faffdfdb01
chore: update deps
2022-01-14 11:45:41 +08:00
Pionxzh
01c4fe330b
fix: improve cjs proxy ( #508 )
...
Co-authored-by: spigbbbbb@gmil.com <pionxzh>
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-01-13 03:46:05 +08:00
Vladimir
b7bc12fe4e
fix(mock): vi.mock with line breaks in arguments ( #502 )
2022-01-12 01:38:50 +08:00
Vladimir
4b0bd3ff94
test: non default options in snapshot
2022-01-11 11:55:47 +03:00
Dominik G
eaa119fd09
feat: global setup ( #372 )
...
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-01-10 18:14:03 +08:00
Vladimir
6d743c5513
fix: inline snapshot if not called inside suite
...
closes #484
2022-01-09 16:08:34 +03:00
Vladimir
aff14813db
fix: snapshot ignores indentation
2022-01-08 12:03:05 +03:00
Vladimir
3c9073a3f2
fix: Reflect.get called on non-object
...
closes #479
2022-01-08 09:47:27 +03:00
Anthony Fu
1aeaf748ab
chore: fix linter
2022-01-07 22:57:07 +08:00
Alex Kozack
eb107f35dc
fix: mockClear clears instances ( #471 )
2022-01-07 14:34:44 +03:00
Vladimir Sheremet
0c3f8e2240
fix: jsdom supports Image
...
closes #419
2022-01-07 10:42:34 +03:00
Vladimir Sheremet
c927e2eea4
fix: support mocking virtual modules
...
closes #464
2022-01-07 09:39:06 +03:00
Vladimir
fdfffaebd0
fix: mock node builtins ( #454 )
2022-01-06 23:29:33 +08:00
Vladimir Sheremet
9c119ad1e0
fix: vi.mock works with node internals
2022-01-06 09:32:22 +03:00
Vladimir
b402b28847
chore: test for empty lines in mock factory
2022-01-05 12:13:39 +03:00
Vladimir
f27d2d6894
feat: toMatchSnapshot can be used with properties ( #435 )
...
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-01-05 06:14:21 +08:00
Vladimir
6fe819a5d7
fix: hoist vitest import ( #434 )
...
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-01-05 05:51:31 +08:00
Anthony Fu
658a4cf568
chore: update
2022-01-04 02:56:54 +08:00
Anthony Fu
7285efd8c3
fix: single-thread errors, close #414
2022-01-04 02:44:31 +08:00
Anthony Fu
1670deacf9
chore: move examples
2022-01-04 01:33:51 +08:00
Anthony Fu
d37af08d31
test: add vue suspense test ( #290 )
2022-01-03 23:38:53 +08:00
Jose Cabrera
10096535cc
fix: revert #407 and #409 ( #412 )
2022-01-03 09:30:03 +01:00
Joost Koehoorn
108d3ccdfc
fix: prevent tests from stalling if an error occurs ( fix #374 ) ( #403 )
...
Fixes #374
2022-01-02 15:59:12 +03:00
Vladimir
91c904cbf3
fix: throw expects function when rejects helper is used
2022-01-02 15:44:20 +03:00
Jose Cabrera
28f3d4fb37
Fix: do not add expected/actual attributes in a object when does not exist ( #407 )
...
* Fix: do not add expected/actual attributes in a object when both attributes does not exists
* changes test title
Co-authored-by: Jose Cabrera <jose@codium.team>
2022-01-02 14:30:23 +03:00
Vladimir
959de91b1a
fix: toContainEqual uses the same logic for comparing equality as the rest of the equal matchers
2022-01-01 20:38:11 +03:00
Vladimir
11db5b6c19
fix: toBeCloseTo compatible with jest
2022-01-01 17:16:17 +03:00
Vladimir
16ccf14d6b
feat: can pass source files to related command ( #368 )
2021-12-31 10:54:07 +01:00
Jan Müller
191ecb6a8c
feat(ui): add module graph ( #380 )
...
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2021-12-31 15:52:27 +08:00
Anthony Fu
bad88e49dc
chore: clean up
2021-12-30 15:54:30 +08:00
Anthony Fu
2b0c5e7dc0
perf: upgrade vite and disable pre-transform
2021-12-30 15:37:50 +08:00
Anthony Fu
66de18c47c
feat: fallback to cjs for deps resolving
2021-12-30 15:20:32 +08:00
Vladimir
c41794501e
feat: last jest compatible APIs ( #365 )
2021-12-30 02:12:41 +08:00
Vladimir Sheremet
97abcb984b
fix: incorrect behaviour of toBeDefined with not flag
2021-12-29 19:35:04 +03:00
Vladimir
577ff67ca8
feat: more expect compatible APIs ( #360 )
2021-12-29 22:52:06 +08:00
Vladimir Sheremet
fc9524b2e2
fix: toStrictEqual didn't have an assertion
2021-12-29 14:27:07 +03:00
Vladimir
affbb55118
fix: proxy nested default ( #359 )
2021-12-29 18:22:55 +08:00
Anthony Fu
3d7d2f3822
feat(ui): setup vite-plugin-pages
2021-12-29 14:51:38 +08:00
Anthony Fu
da4c764815
chore: add coverage tests
2021-12-29 14:39:54 +08:00