Skip to content

Commit edb33cb

Browse files
committed
test: 💍 update snapshots
1 parent c8f4d5c commit edb33cb

File tree

2 files changed

+15
-12
lines changed

2 files changed

+15
-12
lines changed

src/type/__tests__/TypeBuilder-from.spec.ts

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,17 @@ test('can create a schema for a deeply nested object', () => {
3333
│ └─ arr
3434
│ └─ any
3535
├─ "vectorClockIsTuple":
36-
│ └─ tup
37-
│ ├─ str
38-
│ └─ num
36+
│ └─ arr
37+
│ └─ [ head, ... ]
38+
│ ├─ str
39+
│ └─ num
3940
├─ "tupleOfObjectsAndArrays":
40-
│ └─ tup
41-
│ ├─ arr
42-
│ │ └─ any
43-
│ ├─ obj
44-
│ └─ con → null
41+
│ └─ arr
42+
│ └─ [ head, ... ]
43+
│ ├─ arr
44+
│ │ └─ any
45+
│ ├─ obj
46+
│ └─ con → null
4547
├─ "nested":
4648
│ └─ obj
4749
│ └─ "id":

src/type/__tests__/__snapshots__/toString.spec.ts.snap

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,11 @@ exports[`can print a type 1`] = `
4747
│ └─ any
4848
├─ "binaryOperation":
4949
│ └─ bin
50-
│ └─ tup "Should always have 3 elements"
51-
│ ├─ con "7 is the magic number" → 7
52-
│ ├─ str
53-
│ └─ any
50+
│ └─ arr "Should always have 3 elements"
51+
│ └─ [ head, ... ]
52+
│ ├─ con "7 is the magic number" → 7
53+
│ ├─ str
54+
│ └─ any
5455
├─ "map":
5556
│ └─ map
5657
│ └─ num

0 commit comments

Comments
 (0)