1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
1
+ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
2
2
3
- exports [` makeLoggable can filter specific events of a store 1` ] = `
4
- Array [
3
+ exports [` makeLoggable > can filter specific events of a store 1` ] = `
4
+ [
5
5
"%c[C] color:#28B7F6 Counter.isEven [object Object] -> true",
6
6
"%c[O] color:#FFBC2D Counter.value 0 -> 1",
7
7
"%c[C] color:#28B7F6 Counter.isEven true -> false",
@@ -10,22 +10,22 @@ Array [
10
10
]
11
11
` ;
12
12
13
- exports [` makeLoggable can filter specific events of a store 2` ] = `
14
- Array [
13
+ exports [` makeLoggable > can filter specific events of a store 2` ] = `
14
+ [
15
15
"%c[A]%c Counter.increment() color:#FF6157 color:inherit",
16
16
"%c[A]%c Counter.increment() color:#FF6157 color:inherit",
17
17
]
18
18
` ;
19
19
20
- exports [` makeLoggable does not log action with class properties 1` ] = `
21
- Array [
20
+ exports [` makeLoggable > does not log action with class properties 1` ] = `
21
+ [
22
22
"%c[O] color:#FFBC2D StoreDestructuringClassProperties.value 0 -> 1",
23
23
"%c[O] color:#FFBC2D StoreDestructuringClassProperties.value 1 -> 2",
24
24
]
25
25
` ;
26
26
27
- exports [` makeLoggable logs 1` ] = `
28
- Array [
27
+ exports [` makeLoggable > logs 1` ] = `
28
+ [
29
29
"%c[C] color:#28B7F6 StoreWithComputed.isDividedBy3 [object Object] -> true",
30
30
"%c[A]%c StoreWithComputed.increment() color:#FF6157 color:inherit",
31
31
"%c[O] color:#FFBC2D StoreWithComputed.value 0 -> 1",
@@ -34,8 +34,8 @@ Array [
34
34
]
35
35
` ;
36
36
37
- exports [` makeLoggable logs 2` ] = `
38
- Array [
37
+ exports [` makeLoggable > logs 2` ] = `
38
+ [
39
39
"%c[C] color:#28B7F6 StoreWithComputed.isDividedBy3 [object Object] -> true",
40
40
"%c[A]%c StoreWithComputed.increment() color:#FF6157 color:inherit",
41
41
"%c[O] color:#FFBC2D StoreWithComputed.value 0 -> 1",
@@ -49,33 +49,33 @@ Array [
49
49
]
50
50
` ;
51
51
52
- exports [` makeLoggable logs action with { autoBind : true } 1` ] = `
53
- Array [
52
+ exports [` makeLoggable > logs action with { autoBind : true } 1` ] = `
53
+ [
54
54
"%c[A]%c StoreDestructuringAutoBind.increment() color:#FF6157 color:inherit",
55
55
"%c[O] color:#FFBC2D StoreDestructuringAutoBind.value 0 -> 1",
56
56
"%c[A]%c StoreDestructuringAutoBind.increment() color:#FF6157 color:inherit",
57
57
"%c[O] color:#FFBC2D StoreDestructuringAutoBind.value 1 -> 2",
58
58
]
59
59
` ;
60
60
61
- exports [` makeLoggable logs array changes correctly 1` ] = `
62
- Array [
61
+ exports [` makeLoggable > logs array changes correctly 1` ] = `
62
+ [
63
63
"%c[A]%c TodoStore.addTodo(%o, %o) color:#FF6157 color:inherit 1 Play balalaika",
64
64
"%c[O] color:#FFBC2D TodoStore.todos has changed. Added: [object Object]",
65
65
]
66
66
` ;
67
67
68
- exports [` makeLoggable logs array changes correctly 2` ] = `
69
- Array [
68
+ exports [` makeLoggable > logs array changes correctly 2` ] = `
69
+ [
70
70
"%c[A]%c TodoStore.addTodo(%o, %o) color:#FF6157 color:inherit 1 Play balalaika",
71
71
"%c[O] color:#FFBC2D TodoStore.todos has changed. Added: [object Object]",
72
72
"%c[A]%c TodoStore.markAsDone(%o) color:#FF6157 color:inherit 1",
73
73
"%c[O] color:#FFBC2D TodoStore.todos[..].isDone false -> true",
74
74
]
75
75
` ;
76
76
77
- exports [` makeLoggable logs observable and observable map 1` ] = `
78
- Array [
77
+ exports [` makeLoggable > logs observable and observable map 1` ] = `
78
+ [
79
79
"%c[A]%c ParticipantStore.onlineUserSet(%o, %o) color:#FF6157 color:inherit 1 true",
80
80
"%c[O] color:#FFBC2D ParticipantStore.onlineUsers - added 1 : true",
81
81
"%c[A]%c ParticipantStore.onlineUserSet(%o, %o) color:#FF6157 color:inherit 2 true",
@@ -87,8 +87,8 @@ Array [
87
87
]
88
88
` ;
89
89
90
- exports [` makeLoggable logs observable set 1` ] = `
91
- Array [
90
+ exports [` makeLoggable > logs observable set 1` ] = `
91
+ [
92
92
"%c[A]%c ParticipantStore.adminUserAdd(%o) color:#FF6157 color:inherit 1",
93
93
"%c[O] color:#FFBC2D ParticipantStore.adminUsers - added 1",
94
94
"%c[A]%c ParticipantStore.adminUserAdd(%o) color:#FF6157 color:inherit 2",
@@ -103,8 +103,8 @@ Array [
103
103
]
104
104
` ;
105
105
106
- exports [` makeLoggable logs plain array changes correctly 1` ] = `
107
- Array [
106
+ exports [` makeLoggable > logs plain array changes correctly 1` ] = `
107
+ [
108
108
"%c[A]%c StoreOnlyObservables.add() color:#FF6157 color:inherit",
109
109
"%c[O] color:#FFBC2D StoreOnlyObservables.numbers has changed. Added: 1",
110
110
"%c[A]%c StoreOnlyObservables.add() color:#FF6157 color:inherit",
@@ -126,8 +126,8 @@ Array [
126
126
]
127
127
` ;
128
128
129
- exports [` makeLoggable works with factory function store 1` ] = `
130
- Array [
129
+ exports [` makeLoggable > works with factory function store 1` ] = `
130
+ [
131
131
"%c[A]%c counter.increment() color:#FF6157 color:inherit",
132
132
"%c[A]%c counter.increment() color:#FF6157 color:inherit",
133
133
"%c[A]%c counter.increment() color:#FF6157 color:inherit",
0 commit comments