@matterbridge/test-utils 3.10.7-dev-20260823-f911eb8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/dist/buntest/export.d.ts +25 -0
  2. package/dist/buntest/export.d.ts.map +1 -0
  3. package/dist/buntest/export.js +26 -0
  4. package/dist/buntest/export.js.map +1 -0
  5. package/dist/buntest/matterTest.d.ts +351 -0
  6. package/dist/buntest/matterTest.d.ts.map +1 -0
  7. package/dist/buntest/matterTest.js +722 -0
  8. package/dist/buntest/matterTest.js.map +1 -0
  9. package/dist/buntest/setupTest.d.ts +84 -0
  10. package/dist/buntest/setupTest.d.ts.map +1 -0
  11. package/dist/buntest/setupTest.js +153 -0
  12. package/dist/buntest/setupTest.js.map +1 -0
  13. package/dist/export.d.ts +25 -0
  14. package/dist/export.d.ts.map +1 -0
  15. package/dist/export.js +25 -0
  16. package/dist/export.js.map +1 -0
  17. package/dist/flushAsync.d.ts +36 -0
  18. package/dist/flushAsync.d.ts.map +1 -0
  19. package/dist/flushAsync.js +43 -0
  20. package/dist/flushAsync.js.map +1 -0
  21. package/dist/jest/export.d.ts +25 -0
  22. package/dist/jest/export.d.ts.map +1 -0
  23. package/dist/jest/export.js +26 -0
  24. package/dist/jest/export.js.map +1 -0
  25. package/dist/jest/matterTest.d.ts +351 -0
  26. package/dist/jest/matterTest.d.ts.map +1 -0
  27. package/dist/jest/matterTest.js +722 -0
  28. package/dist/jest/matterTest.js.map +1 -0
  29. package/dist/jest/setupTest.d.ts +83 -0
  30. package/dist/jest/setupTest.d.ts.map +1 -0
  31. package/dist/jest/setupTest.js +154 -0
  32. package/dist/jest/setupTest.js.map +1 -0
  33. package/dist/logKeepAlives.d.ts +32 -0
  34. package/dist/logKeepAlives.d.ts.map +1 -0
  35. package/dist/logKeepAlives.js +69 -0
  36. package/dist/logKeepAlives.js.map +1 -0
  37. package/dist/matter/export.d.ts +24 -0
  38. package/dist/matter/export.d.ts.map +1 -0
  39. package/dist/matter/export.js +25 -0
  40. package/dist/matter/export.js.map +1 -0
  41. package/dist/matter/matterRequest.d.ts +257 -0
  42. package/dist/matter/matterRequest.d.ts.map +1 -0
  43. package/dist/matter/matterRequest.js +455 -0
  44. package/dist/matter/matterRequest.js.map +1 -0
  45. package/dist/vitest/export.d.ts +25 -0
  46. package/dist/vitest/export.d.ts.map +1 -0
  47. package/dist/vitest/export.js +26 -0
  48. package/dist/vitest/export.js.map +1 -0
  49. package/dist/vitest/matterTest.d.ts +351 -0
  50. package/dist/vitest/matterTest.d.ts.map +1 -0
  51. package/dist/vitest/matterTest.js +723 -0
  52. package/dist/vitest/matterTest.js.map +1 -0
  53. package/dist/vitest/setupTest.d.ts +62 -0
  54. package/dist/vitest/setupTest.d.ts.map +1 -0
  55. package/dist/vitest/setupTest.js +129 -0
  56. package/dist/vitest/setupTest.js.map +1 -0
  57. package/package.json +97 -0
@@ -0,0 +1,455 @@
1
+ /**
2
+ * @file packages/jest-utils/src/matterRequest.ts
3
+ * @description This file contains the Matter Request utilities.
4
+ * @author Luca Liguori
5
+ * @created 2026-04-19
6
+ * @version 1.0.1
7
+ * @license Apache-2.0
8
+ *
9
+ * Copyright 2025, 2026, 2027 Luca Liguori.
10
+ *
11
+ * Licensed under the Apache License, Version 2.0 (the "License");
12
+ * you may not use this file except in compliance with the License.
13
+ * You may obtain a copy of the License at
14
+ *
15
+ * http://www.apache.org/licenses/LICENSE-2.0
16
+ *
17
+ * Unless required by applicable law or agreed to in writing, software
18
+ * distributed under the License is distributed on an "AS IS" BASIS,
19
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20
+ * See the License for the specific language governing permissions and
21
+ * limitations under the License.
22
+ */
23
+ import { ColorControl } from '@matter/types/clusters/color-control';
24
+ /**
25
+ * Build a Matter OnOff `OffWithEffectRequest` payload.
26
+ *
27
+ * @param {OnOff.EffectIdentifier} effectIdentifier Effect to use when turning the device off.
28
+ * @param {number} effectVariant Variant of the effect.
29
+ * @returns {OnOff.OffWithEffectRequest} The request payload.
30
+ */
31
+ export function getOffWithEffectRequest(effectIdentifier, effectVariant) {
32
+ const request = {
33
+ effectIdentifier,
34
+ effectVariant,
35
+ };
36
+ return request;
37
+ }
38
+ /**
39
+ * Build a Matter OnOff `OnWithTimedOffRequest` payload.
40
+ *
41
+ * @param {boolean} acceptOnlyWhenOn Whether the command should be accepted only when the device is on.
42
+ * @param {number} onTime Length of time (in 1/10ths second) that the device is to remain on.
43
+ * @param {number} offWaitTime Length of time (in 1/10ths second) that the device is guarded from being turned back on.
44
+ * @returns {OnOff.OnWithTimedOffRequest} The request payload.
45
+ */
46
+ export function getOnWithTimedOffRequest(acceptOnlyWhenOn, onTime, offWaitTime) {
47
+ const request = {
48
+ onOffControl: { acceptOnlyWhenOn },
49
+ onTime,
50
+ offWaitTime,
51
+ };
52
+ return request;
53
+ }
54
+ /**
55
+ * Build a Matter LevelControl `MoveToLevelRequest` payload.
56
+ *
57
+ * Helper used in tests to create a correctly shaped request object, including
58
+ * `optionsMask` and `optionsOverride`.
59
+ *
60
+ * @param {number} level Target level (Matter `uint8`; commonly 0–254).
61
+ * @param {number} transitionTime Transition time (Matter `uint16`; commonly in 1/10s units).
62
+ * @param {boolean} executeIfOff Whether the command should be executed even when the device is off.
63
+ * @returns {LevelControl.MoveToLevelRequest} The request payload.
64
+ */
65
+ export function getMoveToLevelRequest(level, transitionTime, executeIfOff) {
66
+ const request = {
67
+ level,
68
+ transitionTime,
69
+ optionsMask: { executeIfOff, coupleColorTempToLevel: false },
70
+ optionsOverride: { executeIfOff, coupleColorTempToLevel: false },
71
+ };
72
+ return request;
73
+ }
74
+ /**
75
+ * Build a Matter LevelControl `MoveRequest` payload.
76
+ *
77
+ * @param {LevelControl.MoveMode} moveMode Direction of movement.
78
+ * @param {number | null} rate Rate of movement in units per second.
79
+ * @param {boolean} executeIfOff Whether the command should be executed even when the device is off.
80
+ * @returns {LevelControl.MoveRequest} The request payload.
81
+ */
82
+ export function getMoveRequest(moveMode, rate, executeIfOff) {
83
+ const request = {
84
+ moveMode,
85
+ rate,
86
+ optionsMask: { executeIfOff, coupleColorTempToLevel: false },
87
+ optionsOverride: { executeIfOff, coupleColorTempToLevel: false },
88
+ };
89
+ return request;
90
+ }
91
+ /**
92
+ * Build a Matter LevelControl `StepRequest` payload.
93
+ *
94
+ * @param {LevelControl.StepMode} stepMode Direction of the step change.
95
+ * @param {number} stepSize Change to CurrentLevel.
96
+ * @param {number} transitionTime Transition time (Matter `uint16`; commonly in 1/10s units).
97
+ * @param {boolean} executeIfOff Whether the command should be executed even when the device is off.
98
+ * @returns {LevelControl.StepRequest} The request payload.
99
+ */
100
+ export function getStepRequest(stepMode, stepSize, transitionTime, executeIfOff) {
101
+ const request = {
102
+ stepMode,
103
+ stepSize,
104
+ transitionTime,
105
+ optionsMask: { executeIfOff, coupleColorTempToLevel: false },
106
+ optionsOverride: { executeIfOff, coupleColorTempToLevel: false },
107
+ };
108
+ return request;
109
+ }
110
+ /**
111
+ * Build a Matter LevelControl `StopRequest` payload.
112
+ *
113
+ * @param {boolean} executeIfOff Whether the command should be executed even when the device is off.
114
+ * @returns {LevelControl.StopRequest} The request payload.
115
+ */
116
+ export function getStopRequest(executeIfOff) {
117
+ const request = {
118
+ optionsMask: { executeIfOff, coupleColorTempToLevel: false },
119
+ optionsOverride: { executeIfOff, coupleColorTempToLevel: false },
120
+ };
121
+ return request;
122
+ }
123
+ /**
124
+ * Build a Matter ColorControl `MoveToColorTemperatureRequest` payload.
125
+ *
126
+ * @param {number} colorTemperatureMireds Target color temperature in mireds (micro reciprocal degrees).
127
+ * @param {number} transitionTime Transition time (Matter `uint16`; commonly in 1/10s units).
128
+ * @param {boolean} executeIfOff Whether the command should be executed even when the device is off.
129
+ * @returns {ColorControl.MoveToColorTemperatureRequest} The request payload.
130
+ */
131
+ export function getMoveToColorTemperatureRequest(colorTemperatureMireds, transitionTime, executeIfOff) {
132
+ const request = {
133
+ colorTemperatureMireds,
134
+ transitionTime,
135
+ optionsMask: { executeIfOff },
136
+ optionsOverride: { executeIfOff },
137
+ };
138
+ return request;
139
+ }
140
+ /**
141
+ * Build a Matter ColorControl `MoveHueRequest` payload.
142
+ *
143
+ * @param {ColorControl.MoveMode} moveMode Direction of movement.
144
+ * @param {number} rate Rate of movement in steps per second.
145
+ * @param {boolean} executeIfOff Whether the command should be executed even when the device is off.
146
+ * @returns {ColorControl.MoveHueRequest} The request payload.
147
+ */
148
+ export function getMoveHueRequest(moveMode, rate, executeIfOff) {
149
+ const request = {
150
+ moveMode,
151
+ rate,
152
+ optionsMask: { executeIfOff },
153
+ optionsOverride: { executeIfOff },
154
+ };
155
+ return request;
156
+ }
157
+ /**
158
+ * Build a Matter ColorControl `StepHueRequest` payload.
159
+ *
160
+ * @param {ColorControl.StepMode} stepMode Direction of the step change.
161
+ * @param {number} stepSize Change to the device's hue.
162
+ * @param {number} transitionTime Transition time (Matter `uint16`; commonly in 1/10s units).
163
+ * @param {boolean} executeIfOff Whether the command should be executed even when the device is off.
164
+ * @returns {ColorControl.StepHueRequest} The request payload.
165
+ */
166
+ export function getStepHueRequest(stepMode, stepSize, transitionTime, executeIfOff) {
167
+ const request = {
168
+ stepMode,
169
+ stepSize,
170
+ transitionTime,
171
+ optionsMask: { executeIfOff },
172
+ optionsOverride: { executeIfOff },
173
+ };
174
+ return request;
175
+ }
176
+ /**
177
+ * Build a Matter ColorControl `MoveToHueRequest` payload.
178
+ *
179
+ * Uses `ColorControl.Direction.Shortest` by default.
180
+ *
181
+ * @param {number} hue Target hue (Matter `uint8`; commonly 0–254).
182
+ * @param {number} transitionTime Transition time (Matter `uint16`; commonly in 1/10s units).
183
+ * @param {boolean} executeIfOff Whether the command should be executed even when the device is off.
184
+ * @returns {ColorControl.MoveToHueRequest} The request payload.
185
+ */
186
+ export function getMoveToHueRequest(hue, transitionTime, executeIfOff) {
187
+ const request = {
188
+ hue,
189
+ transitionTime,
190
+ direction: ColorControl.Direction.Shortest,
191
+ optionsMask: { executeIfOff },
192
+ optionsOverride: { executeIfOff },
193
+ };
194
+ return request;
195
+ }
196
+ /**
197
+ * Build a Matter ColorControl `EnhancedMoveToHueRequest` payload.
198
+ *
199
+ * Uses `ColorControl.Direction.Shortest` by default.
200
+ *
201
+ * @param {number} enhancedHue Target enhanced hue (Matter `uint16`; commonly 0–65535).
202
+ * @param {number} transitionTime Transition time (Matter `uint16`; commonly in 1/10s units).
203
+ * @param {boolean} executeIfOff Whether the command should be executed even when the device is off.
204
+ * @returns {ColorControl.EnhancedMoveToHueRequest} The request payload.
205
+ */
206
+ export function getEnhancedMoveToHueRequest(enhancedHue, transitionTime, executeIfOff) {
207
+ const request = {
208
+ enhancedHue,
209
+ transitionTime,
210
+ direction: ColorControl.Direction.Shortest,
211
+ optionsMask: { executeIfOff },
212
+ optionsOverride: { executeIfOff },
213
+ };
214
+ return request;
215
+ }
216
+ /**
217
+ * Build a Matter ColorControl `EnhancedMoveHueRequest` payload.
218
+ *
219
+ * @param {ColorControl.MoveMode} moveMode Direction of movement.
220
+ * @param {number} rate Rate of movement in steps per second.
221
+ * @param {boolean} executeIfOff Whether the command should be executed even when the device is off.
222
+ * @returns {ColorControl.EnhancedMoveHueRequest} The request payload.
223
+ */
224
+ export function getEnhancedMoveHueRequest(moveMode, rate, executeIfOff) {
225
+ const request = {
226
+ moveMode,
227
+ rate,
228
+ optionsMask: { executeIfOff },
229
+ optionsOverride: { executeIfOff },
230
+ };
231
+ return request;
232
+ }
233
+ /**
234
+ * Build a Matter ColorControl `EnhancedStepHueRequest` payload.
235
+ *
236
+ * @param {ColorControl.StepMode} stepMode Direction of the step change.
237
+ * @param {number} stepSize Change to the device's enhanced hue.
238
+ * @param {number} transitionTime Transition time (Matter `uint16`; commonly in 1/10s units).
239
+ * @param {boolean} executeIfOff Whether the command should be executed even when the device is off.
240
+ * @returns {ColorControl.EnhancedStepHueRequest} The request payload.
241
+ */
242
+ export function getEnhancedStepHueRequest(stepMode, stepSize, transitionTime, executeIfOff) {
243
+ const request = {
244
+ stepMode,
245
+ stepSize,
246
+ transitionTime,
247
+ optionsMask: { executeIfOff },
248
+ optionsOverride: { executeIfOff },
249
+ };
250
+ return request;
251
+ }
252
+ /**
253
+ * Build a Matter ColorControl `MoveToSaturationRequest` payload.
254
+ *
255
+ * @param {number} saturation Target saturation (Matter `uint8`; commonly 0–254).
256
+ * @param {number} transitionTime Transition time (Matter `uint16`; commonly in 1/10s units).
257
+ * @param {boolean} executeIfOff Whether the command should be executed even when the device is off.
258
+ * @returns {ColorControl.MoveToSaturationRequest} The request payload.
259
+ */
260
+ export function getMoveToSaturationRequest(saturation, transitionTime, executeIfOff) {
261
+ const request = {
262
+ saturation,
263
+ transitionTime,
264
+ optionsMask: { executeIfOff },
265
+ optionsOverride: { executeIfOff },
266
+ };
267
+ return request;
268
+ }
269
+ /**
270
+ * Build a Matter ColorControl `MoveSaturationRequest` payload.
271
+ *
272
+ * @param {ColorControl.MoveMode} moveMode Direction of movement.
273
+ * @param {number} rate Rate of movement in steps per second.
274
+ * @param {boolean} executeIfOff Whether the command should be executed even when the device is off.
275
+ * @returns {ColorControl.MoveSaturationRequest} The request payload.
276
+ */
277
+ export function getMoveSaturationRequest(moveMode, rate, executeIfOff) {
278
+ const request = {
279
+ moveMode,
280
+ rate,
281
+ optionsMask: { executeIfOff },
282
+ optionsOverride: { executeIfOff },
283
+ };
284
+ return request;
285
+ }
286
+ /**
287
+ * Build a Matter ColorControl `StepSaturationRequest` payload.
288
+ *
289
+ * @param {ColorControl.StepMode} stepMode Direction of the step change.
290
+ * @param {number} stepSize Change to the device's saturation.
291
+ * @param {number} transitionTime Transition time (Matter `uint16`; commonly in 1/10s units).
292
+ * @param {boolean} executeIfOff Whether the command should be executed even when the device is off.
293
+ * @returns {ColorControl.StepSaturationRequest} The request payload.
294
+ */
295
+ export function getStepSaturationRequest(stepMode, stepSize, transitionTime, executeIfOff) {
296
+ const request = {
297
+ stepMode,
298
+ stepSize,
299
+ transitionTime,
300
+ optionsMask: { executeIfOff },
301
+ optionsOverride: { executeIfOff },
302
+ };
303
+ return request;
304
+ }
305
+ /**
306
+ * Build a Matter ColorControl `MoveToHueAndSaturationRequest` payload.
307
+ *
308
+ * @param {number} hue Target hue (Matter `uint8`; commonly 0–254).
309
+ * @param {number} saturation Target saturation (Matter `uint8`; commonly 0–254).
310
+ * @param {number} transitionTime Transition time (Matter `uint16`; commonly in 1/10s units).
311
+ * @param {boolean} executeIfOff Whether the command should be executed even when the device is off.
312
+ * @returns {ColorControl.MoveToHueAndSaturationRequest} The request payload.
313
+ */
314
+ export function getMoveToHueAndSaturationRequest(hue, saturation, transitionTime, executeIfOff) {
315
+ const request = {
316
+ hue,
317
+ saturation,
318
+ transitionTime,
319
+ optionsMask: { executeIfOff },
320
+ optionsOverride: { executeIfOff },
321
+ };
322
+ return request;
323
+ }
324
+ /**
325
+ * Build a Matter ColorControl `EnhancedMoveToHueAndSaturationRequest` payload.
326
+ *
327
+ * @param {number} enhancedHue Target enhanced hue (Matter `uint16`; commonly 0–65535).
328
+ * @param {number} saturation Target saturation (Matter `uint8`; commonly 0–254).
329
+ * @param {number} transitionTime Transition time (Matter `uint16`; commonly in 1/10s units).
330
+ * @param {boolean} executeIfOff Whether the command should be executed even when the device is off.
331
+ * @returns {ColorControl.EnhancedMoveToHueAndSaturationRequest} The request payload.
332
+ */
333
+ export function getEnhancedMoveToHueAndSaturationRequest(enhancedHue, saturation, transitionTime, executeIfOff) {
334
+ const request = {
335
+ enhancedHue,
336
+ saturation,
337
+ transitionTime,
338
+ optionsMask: { executeIfOff },
339
+ optionsOverride: { executeIfOff },
340
+ };
341
+ return request;
342
+ }
343
+ /**
344
+ * Build a Matter ColorControl `MoveToColorRequest` payload.
345
+ *
346
+ * @param {number} colorX Target X coordinate in CIE 1931 XY color space (Matter `uint16`).
347
+ * @param {number} colorY Target Y coordinate in CIE 1931 XY color space (Matter `uint16`).
348
+ * @param {number} transitionTime Transition time (Matter `uint16`; commonly in 1/10s units).
349
+ * @param {boolean} executeIfOff Whether the command should be executed even when the device is off.
350
+ * @returns {ColorControl.MoveToColorRequest} The request payload.
351
+ */
352
+ export function getMoveToColorRequest(colorX, colorY, transitionTime, executeIfOff) {
353
+ const request = {
354
+ colorX,
355
+ colorY,
356
+ transitionTime,
357
+ optionsMask: { executeIfOff },
358
+ optionsOverride: { executeIfOff },
359
+ };
360
+ return request;
361
+ }
362
+ /**
363
+ * Build a Matter ColorControl `MoveColorRequest` payload.
364
+ *
365
+ * @param {number} rateX Rate of movement in steps per second for the device's CurrentX attribute.
366
+ * @param {number} rateY Rate of movement in steps per second for the device's CurrentY attribute.
367
+ * @param {boolean} executeIfOff Whether the command should be executed even when the device is off.
368
+ * @returns {ColorControl.MoveColorRequest} The request payload.
369
+ */
370
+ export function getMoveColorRequest(rateX, rateY, executeIfOff) {
371
+ const request = {
372
+ rateX,
373
+ rateY,
374
+ optionsMask: { executeIfOff },
375
+ optionsOverride: { executeIfOff },
376
+ };
377
+ return request;
378
+ }
379
+ /**
380
+ * Build a Matter ColorControl `StepColorRequest` payload.
381
+ *
382
+ * @param {number} stepX Change to the device's CurrentX attribute.
383
+ * @param {number} stepY Change to the device's CurrentY attribute.
384
+ * @param {number} transitionTime Transition time (Matter `uint16`; commonly in 1/10s units).
385
+ * @param {boolean} executeIfOff Whether the command should be executed even when the device is off.
386
+ * @returns {ColorControl.StepColorRequest} The request payload.
387
+ */
388
+ export function getStepColorRequest(stepX, stepY, transitionTime, executeIfOff) {
389
+ const request = {
390
+ stepX,
391
+ stepY,
392
+ transitionTime,
393
+ optionsMask: { executeIfOff },
394
+ optionsOverride: { executeIfOff },
395
+ };
396
+ return request;
397
+ }
398
+ /**
399
+ * Build a Matter ColorControl `MoveColorTemperatureRequest` payload.
400
+ *
401
+ * @param {ColorControl.MoveMode} moveMode Direction of movement.
402
+ * @param {number} rate Rate of movement in steps per second.
403
+ * @param {number} colorTemperatureMinimumMireds Lower bound on the ColorTemperatureMireds attribute for the move operation.
404
+ * @param {number} colorTemperatureMaximumMireds Upper bound on the ColorTemperatureMireds attribute for the move operation.
405
+ * @param {boolean} executeIfOff Whether the command should be executed even when the device is off.
406
+ * @returns {ColorControl.MoveColorTemperatureRequest} The request payload.
407
+ */
408
+ export function getMoveColorTemperatureRequest(moveMode, rate, colorTemperatureMinimumMireds, colorTemperatureMaximumMireds, executeIfOff) {
409
+ const request = {
410
+ moveMode,
411
+ rate,
412
+ colorTemperatureMinimumMireds,
413
+ colorTemperatureMaximumMireds,
414
+ optionsMask: { executeIfOff },
415
+ optionsOverride: { executeIfOff },
416
+ };
417
+ return request;
418
+ }
419
+ /**
420
+ * Build a Matter ColorControl `StepColorTemperatureRequest` payload.
421
+ *
422
+ * @param {ColorControl.StepMode} stepMode Direction of the step change.
423
+ * @param {number} stepSize Change to the device's color temperature.
424
+ * @param {number} transitionTime Transition time (Matter `uint16`; commonly in 1/10s units).
425
+ * @param {number} colorTemperatureMinimumMireds Lower bound on the ColorTemperatureMireds attribute for the step operation.
426
+ * @param {number} colorTemperatureMaximumMireds Upper bound on the ColorTemperatureMireds attribute for the step operation.
427
+ * @param {boolean} executeIfOff Whether the command should be executed even when the device is off.
428
+ * @returns {ColorControl.StepColorTemperatureRequest} The request payload.
429
+ */
430
+ export function getStepColorTemperatureRequest(stepMode, stepSize, transitionTime, colorTemperatureMinimumMireds, colorTemperatureMaximumMireds, executeIfOff) {
431
+ const request = {
432
+ stepMode,
433
+ stepSize,
434
+ transitionTime,
435
+ colorTemperatureMinimumMireds,
436
+ colorTemperatureMaximumMireds,
437
+ optionsMask: { executeIfOff },
438
+ optionsOverride: { executeIfOff },
439
+ };
440
+ return request;
441
+ }
442
+ /**
443
+ * Build a Matter ColorControl `StopMoveStepRequest` payload.
444
+ *
445
+ * @param {boolean} executeIfOff Whether the command should be executed even when the device is off.
446
+ * @returns {ColorControl.StopMoveStepRequest} The request payload.
447
+ */
448
+ export function getStopMoveStepRequest(executeIfOff) {
449
+ const request = {
450
+ optionsMask: { executeIfOff },
451
+ optionsOverride: { executeIfOff },
452
+ };
453
+ return request;
454
+ }
455
+ //# sourceMappingURL=matterRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"matterRequest.js","sourceRoot":"","sources":["../../src/matter/matterRequest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAIpE;;;;;;GAMG;AACH,MAAM,UAAU,uBAAuB,CAAC,gBAAwC,EAAE,aAAqB;IACrG,MAAM,OAAO,GAA+B;QAC1C,gBAAgB;QAChB,aAAa;KACd,CAAC;IACF,OAAO,OAAO,CAAC;AACjB,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,wBAAwB,CAAC,gBAAyB,EAAE,MAAc,EAAE,WAAmB;IACrG,MAAM,OAAO,GAAgC;QAC3C,YAAY,EAAE,EAAE,gBAAgB,EAAE;QAClC,MAAM;QACN,WAAW;KACZ,CAAC;IACF,OAAO,OAAO,CAAC;AACjB,CAAC;AAED;;;;;;;;;;GAUG;AACH,MAAM,UAAU,qBAAqB,CAAC,KAAa,EAAE,cAAsB,EAAE,YAAqB;IAChG,MAAM,OAAO,GAAoC;QAC/C,KAAK;QACL,cAAc;QACd,WAAW,EAAE,EAAE,YAAY,EAAE,sBAAsB,EAAE,KAAK,EAAE;QAC5D,eAAe,EAAE,EAAE,YAAY,EAAE,sBAAsB,EAAE,KAAK,EAAE;KACjE,CAAC;IACF,OAAO,OAAO,CAAC;AACjB,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,cAAc,CAAC,QAA+B,EAAE,IAAmB,EAAE,YAAqB;IACxG,MAAM,OAAO,GAA6B;QACxC,QAAQ;QACR,IAAI;QACJ,WAAW,EAAE,EAAE,YAAY,EAAE,sBAAsB,EAAE,KAAK,EAAE;QAC5D,eAAe,EAAE,EAAE,YAAY,EAAE,sBAAsB,EAAE,KAAK,EAAE;KACjE,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,EAAE,YAAY,EAAE;KAClC,CAAC;IACF,OAAO,OAAO,CAAC;AACjB,CAAC;AAED;;;;;;;;;;GAUG;AACH,MAAM,UAAU,8BAA8B,CAC5C,QAA+B,EAC/B,QAAgB,EAChB,cAAsB,EACtB,6BAAqC,EACrC,6BAAqC,EACrC,YAAqB;IAErB,MAAM,OAAO,GAA6C;QACxD,QAAQ;QACR,QAAQ;QACR,cAAc;QACd,6BAA6B;QAC7B,6BAA6B;QAC7B,WAAW,EAAE,EAAE,YAAY,EAAE;QAC7B,eAAe,EAAE,EAAE,YAAY,EAAE;KAClC,CAAC;IACF,OAAO,OAAO,CAAC;AACjB,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,sBAAsB,CAAC,YAAqB;IAC1D,MAAM,OAAO,GAAqC;QAChD,WAAW,EAAE,EAAE,YAAY,EAAE;QAC7B,eAAe,EAAE,EAAE,YAAY,EAAE;KAClC,CAAC;IACF,OAAO,OAAO,CAAC;AACjB,CAAC"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * @file packages/vitest-utils/src/export.ts
3
+ * @description Vitest utilities package entrypoint exports.
4
+ * @author Luca Liguori
5
+ * @created 2026-03-04
6
+ * @version 1.0.0
7
+ * @license Apache-2.0
8
+ *
9
+ * Copyright 2026, 2027, 2028 Luca Liguori.
10
+ *
11
+ * Licensed under the Apache License, Version 2.0 (the "License");
12
+ * you may not use this file except in compliance with the License.
13
+ * You may obtain a copy of the License at
14
+ *
15
+ * http://www.apache.org/licenses/LICENSE-2.0
16
+ *
17
+ * Unless required by applicable law or agreed to in writing, software
18
+ * distributed under the License is distributed on an "AS IS" BASIS,
19
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20
+ * See the License for the specific language governing permissions and
21
+ * limitations under the License.
22
+ */
23
+ export * from './matterTest.js';
24
+ export * from './setupTest.js';
25
+ //# sourceMappingURL=export.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"export.d.ts","sourceRoot":"","sources":["../../src/vitest/export.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAIH,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * @file packages/vitest-utils/src/export.ts
3
+ * @description Vitest utilities package entrypoint exports.
4
+ * @author Luca Liguori
5
+ * @created 2026-03-04
6
+ * @version 1.0.0
7
+ * @license Apache-2.0
8
+ *
9
+ * Copyright 2026, 2027, 2028 Luca Liguori.
10
+ *
11
+ * Licensed under the Apache License, Version 2.0 (the "License");
12
+ * you may not use this file except in compliance with the License.
13
+ * You may obtain a copy of the License at
14
+ *
15
+ * http://www.apache.org/licenses/LICENSE-2.0
16
+ *
17
+ * Unless required by applicable law or agreed to in writing, software
18
+ * distributed under the License is distributed on an "AS IS" BASIS,
19
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20
+ * See the License for the specific language governing permissions and
21
+ * limitations under the License.
22
+ */
23
+ /* oxlint-disable oxc/no-barrel-file */
24
+ export * from './matterTest.js';
25
+ export * from './setupTest.js';
26
+ //# sourceMappingURL=export.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"export.js","sourceRoot":"","sources":["../../src/vitest/export.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,uCAAuC;AAEvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC"}