feat(snapshot): ability to skip snapshot from custom serializer + attest
example
#12292
ci.yml
on: pull_request
Diff: node-latest, ubuntu-latest
11s
Lint: node-latest, ubuntu-latest
2m 35s
Matrix: test-browser
Matrix: test
Annotations
3 errors
test/basic.test.ts > skip types:
test/attest/test/basic.test.ts#L36
AssertionError: expected '\n RUN v2.2.0-beta.1 D:/a/vitest/vit…' to contain 'Snapshots 1 written'
- Expected
+ Received
- Snapshots 1 written
+
+ RUN v2.2.0-beta.1 D:/a/vitest/vitest/test/attest/fixtures
+
+ ⏳ Waiting for TypeScript to check your project (this may take a while)...
+ ✓ test/assertion.test.ts (1 test) 137ms
+ ✓ test/snapshot.test.ts (5 tests) 165ms
+
+ Test Files 2 passed (2)
+ Tests 6 passed (6)
+ Start at 05:37:01
+ Duration 4.39s (transform 73ms, setup 1.63s, collect 80ms, tests 303ms, environment 1ms, prepare 264ms)
+
+
❯ test/basic.test.ts:36:25
|
Build&Test: node-20, windows-latest
Process completed with exit code 1.
|
Build&Test: node-20, macos-latest
Process completed with exit code 1.
|