Skip to content

Commit 4a4c005

Browse files
committed
vitest update
1 parent 072d2ab commit 4a4c005

File tree

2 files changed

+681
-4
lines changed

2 files changed

+681
-4
lines changed

packages/store/ts/flattenStoreLogs.test.ts

Lines changed: 146 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,150 @@ describe("flattenStoreLogs", async () => {
121121
"Store_SetRecord world__InstalledModules (0x0000000000000000000000009fcc45958071325949b488a784268371f17cb2d7,0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470)",
122122
"Store_SetRecord world__NamespaceOwner (0x6e73000000000000000000000000000000000000000000000000000000000000)",
123123
"Store_SetRecord world__ResourceAccess (0x6e73000000000000000000000000000000000000000000000000000000000000,0x000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb92266)",
124+
"Store_SetRecord store__Tables (0x746200000000000000000000000000004865616c746800000000000000000000)",
125+
"Store_SetRecord store__ResourceIds (0x746200000000000000000000000000004865616c746800000000000000000000)",
126+
"Store_SetRecord store__Tables (0x74620000000000000000000000000000496e76656e746f727900000000000000)",
127+
"Store_SetRecord store__ResourceIds (0x74620000000000000000000000000000496e76656e746f727900000000000000)",
128+
"Store_SetRecord store__Tables (0x7462000000000000000000000000000053636f72650000000000000000000000)",
129+
"Store_SetRecord store__ResourceIds (0x7462000000000000000000000000000053636f72650000000000000000000000)",
130+
"Store_SetRecord store__Tables (0x746200000000000000000000000000005465727261696e000000000000000000)",
131+
"Store_SetRecord store__ResourceIds (0x746200000000000000000000000000005465727261696e000000000000000000)",
132+
"Store_SetRecord store__ResourceIds (0x737900000000000000000000000000004d6f766553797374656d000000000000)",
133+
"Store_SetRecord world__Systems (0x737900000000000000000000000000004d6f766553797374656d000000000000)",
134+
"Store_SetRecord world__SystemRegistry (0x0000000000000000000000007ce008481b0e7d11874ce53e9c77a5e74d969f69)",
135+
"Store_SetRecord world__ResourceAccess (0x6e73000000000000000000000000000000000000000000000000000000000000,0x0000000000000000000000007ce008481b0e7d11874ce53e9c77a5e74d969f69)",
136+
"Store_SetRecord store__ResourceIds (0x6e736d6574616461746100000000000000000000000000000000000000000000)",
137+
"Store_SetRecord store__Tables (0x74626d657461646174610000000000005265736f757263655461670000000000)",
138+
"Store_SetRecord store__ResourceIds (0x74626d657461646174610000000000005265736f757263655461670000000000)",
139+
"Store_SetRecord store__ResourceIds (0x73796d657461646174610000000000004d6574616461746153797374656d0000)",
140+
"Store_SetRecord world__Systems (0x73796d657461646174610000000000004d6574616461746153797374656d0000)",
141+
"Store_SetRecord world__SystemRegistry (0x00000000000000000000000053e501d8e4c977ff5b27446ec6a60e57c7ef1050)",
142+
"Store_SetRecord world__ResourceAccess (0x6e736d6574616461746100000000000000000000000000000000000000000000,0x00000000000000000000000053e501d8e4c977ff5b27446ec6a60e57c7ef1050)",
143+
"Store_SetRecord world__FunctionSelector (0xff66f05f00000000000000000000000000000000000000000000000000000000)",
144+
"Store_SetRecord world__FunctionSignatur (0xc6972e9300000000000000000000000000000000000000000000000000000000)",
145+
"Store_SetRecord world__FunctionSignatur (0xff66f05f00000000000000000000000000000000000000000000000000000000)",
146+
"Store_SetRecord world__FunctionSelector (0xefc1704200000000000000000000000000000000000000000000000000000000)",
147+
"Store_SetRecord world__FunctionSignatur (0x116e68f200000000000000000000000000000000000000000000000000000000)",
148+
"Store_SetRecord world__FunctionSignatur (0xefc1704200000000000000000000000000000000000000000000000000000000)",
149+
"Store_SetRecord world__FunctionSelector (0x5ce7ca1a00000000000000000000000000000000000000000000000000000000)",
150+
"Store_SetRecord world__FunctionSignatur (0xf128760200000000000000000000000000000000000000000000000000000000)",
151+
"Store_SetRecord world__FunctionSignatur (0x5ce7ca1a00000000000000000000000000000000000000000000000000000000)",
152+
"Store_SetRecord world__NamespaceOwner (0x6e736d6574616461746100000000000000000000000000000000000000000000)",
153+
"Store_SetRecord world__ResourceAccess (0x6e736d6574616461746100000000000000000000000000000000000000000000,0x000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb92266)",
154+
"Store_SetRecord world__InstalledModules (0x0000000000000000000000000f8d2ae4af9b5c4677766030338a8720e30073cc,0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470)",
155+
"Store_SetRecord metadata__ResourceTag (0x737900000000000000000000000000004d6f766553797374656d000000000000,0x6162690000000000000000000000000000000000000000000000000000000000)",
156+
"Store_SetRecord metadata__ResourceTag (0x737900000000000000000000000000004d6f766553797374656d000000000000,0x776f726c64416269000000000000000000000000000000000000000000000000)",
157+
"Store_SetRecord Position (0x0000000000000000000000001d96f2f6bef1202e4ce1ff6dad0c2cb002861d3e)",
158+
"Store_SetRecord Health (0x0000000000000000000000001d96f2f6bef1202e4ce1ff6dad0c2cb002861d3e)",
159+
"Store_SetRecord Health (0x0000000000000000000000001d96f2f6bef1202e4ce1ff6dad0c2cb002861d3e)",
160+
"Store_SetRecord Position (0x000000000000000000000000328809bc894f92807417d2dad6b7c998c1afdac6)",
161+
"Store_SetRecord Health (0x000000000000000000000000328809bc894f92807417d2dad6b7c998c1afdac6)",
162+
"Store_SetRecord Position (0x000000000000000000000000078cf0753dd50f7c56f20b3ae02719ea199be2eb)",
163+
"Store_SetRecord Health (0x000000000000000000000000078cf0753dd50f7c56f20b3ae02719ea199be2eb)",
164+
"Store_SetRecord Position (0x000000000000000000000000dba86119a787422c593cef119e40887f396024e2)",
165+
"Store_SetRecord store__Tables (0x7462000000000000000000000000000057696e6e657200000000000000000000)",
166+
"Store_SetRecord store__ResourceIds (0x7462000000000000000000000000000057696e6e657200000000000000000000)",
167+
"Store_SetRecord world__InitModuleAddres ()",
168+
"Store_SetRecord store__Tables (0x746273746f72650000000000000000005461626c657300000000000000000000)",
169+
"Store_SetRecord store__Tables (0x746273746f72650000000000000000005265736f757263654964730000000000)",
170+
"Store_SetRecord store__ResourceIds (0x746273746f72650000000000000000005461626c657300000000000000000000)",
171+
"Store_SetRecord store__ResourceIds (0x746273746f72650000000000000000005265736f757263654964730000000000)",
172+
"Store_SetRecord store__Tables (0x746273746f726500000000000000000053746f7265486f6f6b73000000000000)",
173+
"Store_SetRecord store__ResourceIds (0x746273746f726500000000000000000053746f7265486f6f6b73000000000000)",
174+
"Store_SetRecord store__Tables (0x7462776f726c640000000000000000004e616d6573706163654f776e65720000)",
175+
"Store_SetRecord store__ResourceIds (0x7462776f726c640000000000000000004e616d6573706163654f776e65720000)",
176+
"Store_SetRecord store__Tables (0x7462776f726c6400000000000000000042616c616e6365730000000000000000)",
177+
"Store_SetRecord store__ResourceIds (0x7462776f726c6400000000000000000042616c616e6365730000000000000000)",
178+
"Store_SetRecord store__Tables (0x7462776f726c64000000000000000000496e7374616c6c65644d6f64756c6573)",
179+
"Store_SetRecord store__ResourceIds (0x7462776f726c64000000000000000000496e7374616c6c65644d6f64756c6573)",
180+
"Store_SetRecord store__Tables (0x7462776f726c640000000000000000005573657244656c65676174696f6e436f)",
181+
"Store_SetRecord store__ResourceIds (0x7462776f726c640000000000000000005573657244656c65676174696f6e436f)",
182+
"Store_SetRecord store__Tables (0x7462776f726c640000000000000000004e616d65737061636544656c65676174)",
183+
"Store_SetRecord store__ResourceIds (0x7462776f726c640000000000000000004e616d65737061636544656c65676174)",
184+
"Store_SetRecord store__Tables (0x7462776f726c640000000000000000005265736f757263654163636573730000)",
185+
"Store_SetRecord store__ResourceIds (0x7462776f726c640000000000000000005265736f757263654163636573730000)",
186+
"Store_SetRecord store__Tables (0x7462776f726c6400000000000000000053797374656d73000000000000000000)",
187+
"Store_SetRecord store__ResourceIds (0x7462776f726c6400000000000000000053797374656d73000000000000000000)",
188+
"Store_SetRecord store__Tables (0x7462776f726c6400000000000000000046756e6374696f6e53656c6563746f72)",
189+
"Store_SetRecord store__ResourceIds (0x7462776f726c6400000000000000000046756e6374696f6e53656c6563746f72)",
190+
"Store_SetRecord store__Tables (0x6f74776f726c6400000000000000000046756e6374696f6e5369676e61747572)",
191+
"Store_SetRecord store__ResourceIds (0x6f74776f726c6400000000000000000046756e6374696f6e5369676e61747572)",
192+
"Store_SetRecord store__Tables (0x7462776f726c6400000000000000000053797374656d486f6f6b730000000000)",
193+
"Store_SetRecord store__ResourceIds (0x7462776f726c6400000000000000000053797374656d486f6f6b730000000000)",
194+
"Store_SetRecord store__Tables (0x7462776f726c6400000000000000000053797374656d52656769737472790000)",
195+
"Store_SetRecord store__ResourceIds (0x7462776f726c6400000000000000000053797374656d52656769737472790000)",
196+
"Store_SetRecord store__Tables (0x7462776f726c64000000000000000000496e69744d6f64756c65416464726573)",
197+
"Store_SetRecord store__ResourceIds (0x7462776f726c64000000000000000000496e69744d6f64756c65416464726573)",
198+
"Store_SetRecord store__ResourceIds (0x6e73000000000000000000000000000000000000000000000000000000000000)",
199+
"Store_SetRecord store__ResourceIds (0x6e7373746f726500000000000000000000000000000000000000000000000000)",
200+
"Store_SetRecord world__NamespaceOwner (0x6e7373746f726500000000000000000000000000000000000000000000000000)",
201+
"Store_SetRecord world__ResourceAccess (0x6e7373746f726500000000000000000000000000000000000000000000000000,0x0000000000000000000000008dc4168dc8e582f0ef5adbab3c0873856682639b)",
202+
"Store_SetRecord store__ResourceIds (0x6e73776f726c6400000000000000000000000000000000000000000000000000)",
203+
"Store_SetRecord world__NamespaceOwner (0x6e73776f726c6400000000000000000000000000000000000000000000000000)",
204+
"Store_SetRecord world__ResourceAccess (0x6e73776f726c6400000000000000000000000000000000000000000000000000,0x0000000000000000000000008dc4168dc8e582f0ef5adbab3c0873856682639b)",
205+
"Store_SetRecord store__ResourceIds (0x737900000000000000000000000000004163636573734d616e6167656d656e74)",
206+
"Store_SetRecord world__Systems (0x737900000000000000000000000000004163636573734d616e6167656d656e74)",
207+
"Store_SetRecord world__SystemRegistry (0x00000000000000000000000073e872dcf77241b6d2afe4169ac27f9d31767292)",
208+
"Store_SetRecord world__ResourceAccess (0x6e73000000000000000000000000000000000000000000000000000000000000,0x00000000000000000000000073e872dcf77241b6d2afe4169ac27f9d31767292)",
209+
"Store_SetRecord store__ResourceIds (0x7379000000000000000000000000000042616c616e63655472616e7366657200)",
210+
"Store_SetRecord world__Systems (0x7379000000000000000000000000000042616c616e63655472616e7366657200)",
211+
"Store_SetRecord world__SystemRegistry (0x00000000000000000000000050418155710200d0266e683a93209aa60501b7b3)",
212+
"Store_SetRecord world__ResourceAccess (0x6e73000000000000000000000000000000000000000000000000000000000000,0x00000000000000000000000050418155710200d0266e683a93209aa60501b7b3)",
213+
"Store_SetRecord store__ResourceIds (0x73790000000000000000000000000000426174636843616c6c00000000000000)",
214+
"Store_SetRecord world__Systems (0x73790000000000000000000000000000426174636843616c6c00000000000000)",
215+
"Store_SetRecord world__SystemRegistry (0x0000000000000000000000002aac36425e74ff6c0778da582c55176394a067b0)",
216+
"Store_SetRecord world__ResourceAccess (0x6e73000000000000000000000000000000000000000000000000000000000000,0x0000000000000000000000002aac36425e74ff6c0778da582c55176394a067b0)",
217+
"Store_SetRecord store__ResourceIds (0x73790000000000000000000000000000526567697374726174696f6e00000000)",
218+
"Store_SetRecord world__Systems (0x73790000000000000000000000000000526567697374726174696f6e00000000)",
219+
"Store_SetRecord world__SystemRegistry (0x000000000000000000000000047f80b91559887ab304519858c0bce90f2a00a6)",
220+
"Store_SetRecord world__ResourceAccess (0x6e73000000000000000000000000000000000000000000000000000000000000,0x000000000000000000000000047f80b91559887ab304519858c0bce90f2a00a6)",
221+
"Store_SetRecord world__FunctionSelector (0x40554c3a00000000000000000000000000000000000000000000000000000000)",
222+
"Store_SetRecord world__FunctionSignatur (0x40554c3a00000000000000000000000000000000000000000000000000000000)",
223+
"Store_SetRecord world__FunctionSelector (0x8d53b20800000000000000000000000000000000000000000000000000000000)",
224+
"Store_SetRecord world__FunctionSignatur (0x8d53b20800000000000000000000000000000000000000000000000000000000)",
225+
"Store_SetRecord world__FunctionSelector (0xef5d6bbb00000000000000000000000000000000000000000000000000000000)",
226+
"Store_SetRecord world__FunctionSignatur (0xef5d6bbb00000000000000000000000000000000000000000000000000000000)",
227+
"Store_SetRecord world__FunctionSelector (0x219adc2e00000000000000000000000000000000000000000000000000000000)",
228+
"Store_SetRecord world__FunctionSignatur (0x219adc2e00000000000000000000000000000000000000000000000000000000)",
229+
"Store_SetRecord world__FunctionSelector (0xc9c85a6000000000000000000000000000000000000000000000000000000000)",
230+
"Store_SetRecord world__FunctionSignatur (0xc9c85a6000000000000000000000000000000000000000000000000000000000)",
231+
"Store_SetRecord world__FunctionSelector (0x45afd19900000000000000000000000000000000000000000000000000000000)",
232+
"Store_SetRecord world__FunctionSignatur (0x45afd19900000000000000000000000000000000000000000000000000000000)",
233+
"Store_SetRecord world__FunctionSelector (0xce5e8dd900000000000000000000000000000000000000000000000000000000)",
234+
"Store_SetRecord world__FunctionSignatur (0xce5e8dd900000000000000000000000000000000000000000000000000000000)",
235+
"Store_SetRecord world__FunctionSelector (0x8fc8cf7e00000000000000000000000000000000000000000000000000000000)",
236+
"Store_SetRecord world__FunctionSignatur (0x8fc8cf7e00000000000000000000000000000000000000000000000000000000)",
237+
"Store_SetRecord world__FunctionSelector (0x8da798da00000000000000000000000000000000000000000000000000000000)",
238+
"Store_SetRecord world__FunctionSignatur (0x8da798da00000000000000000000000000000000000000000000000000000000)",
239+
"Store_SetRecord world__FunctionSelector (0x0ba51f4900000000000000000000000000000000000000000000000000000000)",
240+
"Store_SetRecord world__FunctionSignatur (0x0ba51f4900000000000000000000000000000000000000000000000000000000)",
241+
"Store_SetRecord world__FunctionSelector (0x530f4b6000000000000000000000000000000000000000000000000000000000)",
242+
"Store_SetRecord world__FunctionSignatur (0x530f4b6000000000000000000000000000000000000000000000000000000000)",
243+
"Store_SetRecord world__FunctionSelector (0x0560912900000000000000000000000000000000000000000000000000000000)",
244+
"Store_SetRecord world__FunctionSignatur (0x0560912900000000000000000000000000000000000000000000000000000000)",
245+
"Store_SetRecord world__FunctionSelector (0xb29e408900000000000000000000000000000000000000000000000000000000)",
246+
"Store_SetRecord world__FunctionSignatur (0xb29e408900000000000000000000000000000000000000000000000000000000)",
247+
"Store_SetRecord world__FunctionSelector (0xd5f8337f00000000000000000000000000000000000000000000000000000000)",
248+
"Store_SetRecord world__FunctionSignatur (0xd5f8337f00000000000000000000000000000000000000000000000000000000)",
249+
"Store_SetRecord world__FunctionSelector (0xa92813ad00000000000000000000000000000000000000000000000000000000)",
250+
"Store_SetRecord world__FunctionSignatur (0xa92813ad00000000000000000000000000000000000000000000000000000000)",
251+
"Store_SetRecord world__FunctionSelector (0x3350b6a900000000000000000000000000000000000000000000000000000000)",
252+
"Store_SetRecord world__FunctionSignatur (0x3350b6a900000000000000000000000000000000000000000000000000000000)",
253+
"Store_SetRecord world__FunctionSelector (0x26d9810200000000000000000000000000000000000000000000000000000000)",
254+
"Store_SetRecord world__FunctionSignatur (0x26d9810200000000000000000000000000000000000000000000000000000000)",
255+
"Store_SetRecord world__FunctionSelector (0x6548a90a00000000000000000000000000000000000000000000000000000000)",
256+
"Store_SetRecord world__FunctionSignatur (0x6548a90a00000000000000000000000000000000000000000000000000000000)",
257+
"Store_SetRecord world__FunctionSelector (0x1d2257ba00000000000000000000000000000000000000000000000000000000)",
258+
"Store_SetRecord world__FunctionSignatur (0x1d2257ba00000000000000000000000000000000000000000000000000000000)",
259+
"Store_SetRecord world__FunctionSelector (0xcdc938c500000000000000000000000000000000000000000000000000000000)",
260+
"Store_SetRecord world__FunctionSignatur (0xcdc938c500000000000000000000000000000000000000000000000000000000)",
261+
"Store_SetRecord world__FunctionSelector (0xbfdfaff700000000000000000000000000000000000000000000000000000000)",
262+
"Store_SetRecord world__FunctionSignatur (0xbfdfaff700000000000000000000000000000000000000000000000000000000)",
263+
"Store_SetRecord world__FunctionSelector (0xaa66e9c800000000000000000000000000000000000000000000000000000000)",
264+
"Store_SetRecord world__FunctionSignatur (0xaa66e9c800000000000000000000000000000000000000000000000000000000)",
265+
"Store_SetRecord world__InstalledModules (0x0000000000000000000000009fcc45958071325949b488a784268371f17cb2d7,0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470)",
266+
"Store_SetRecord world__NamespaceOwner (0x6e73000000000000000000000000000000000000000000000000000000000000)",
267+
"Store_SetRecord world__ResourceAccess (0x6e73000000000000000000000000000000000000000000000000000000000000,0x000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb92266)",
124268
"Store_SetRecord store__Tables (0x74620000000000000000000000000000506f736974696f6e0000000000000000)",
125269
"Store_SetRecord store__ResourceIds (0x74620000000000000000000000000000506f736974696f6e0000000000000000)",
126270
"Store_SetRecord store__Tables (0x746200000000000000000000000000004865616c746800000000000000000000)",
@@ -135,8 +279,8 @@ describe("flattenStoreLogs", async () => {
135279
"Store_SetRecord store__ResourceIds (0x746200000000000000000000000000005465727261696e000000000000000000)",
136280
"Store_SetRecord store__ResourceIds (0x737900000000000000000000000000004d6f766553797374656d000000000000)",
137281
"Store_SetRecord world__Systems (0x737900000000000000000000000000004d6f766553797374656d000000000000)",
138-
"Store_SetRecord world__SystemRegistry (0x00000000000000000000000008f2b45d8787be8a81869d9968f25323861352b0)",
139-
"Store_SetRecord world__ResourceAccess (0x6e73000000000000000000000000000000000000000000000000000000000000,0x00000000000000000000000008f2b45d8787be8a81869d9968f25323861352b0)",
282+
"Store_SetRecord world__SystemRegistry (0x00000000000000000000000020ee62756b46500fc00d90a73d325b5af1800268)",
283+
"Store_SetRecord world__ResourceAccess (0x6e73000000000000000000000000000000000000000000000000000000000000,0x00000000000000000000000020ee62756b46500fc00d90a73d325b5af1800268)",
140284
"Store_SetRecord world__FunctionSelector (0xb591186e00000000000000000000000000000000000000000000000000000000)",
141285
"Store_SetRecord world__FunctionSignatur (0xb591186e00000000000000000000000000000000000000000000000000000000)",
142286
"Store_SetRecord store__Tables (0x7462000000000000000000000000000043616c6c576974685369676e61747572)",

0 commit comments

Comments
 (0)