@genesislcap/foundation-testing 9.0.1-alpha-b5c5eb7.0

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 (124) hide show
  1. package/MODULE_FEDERATION.md +11 -0
  2. package/README.md +255 -0
  3. package/dist/1.0.0.remoteEntry.js +1 -0
  4. package/dist/191.0099ca6c24422254d51d36c222dc6023.js.map +1 -0
  5. package/dist/191.191.613504f8a55556ba573c.js +2 -0
  6. package/dist/259.1ff0e7689abdc0527a57f2eb20369ada.js.map +1 -0
  7. package/dist/259.259.724449a74ba114ef0d82.js +2 -0
  8. package/dist/415.32cf4cabeed75f5d759d12434a4de5c7.js.map +1 -0
  9. package/dist/415.415.ee8e35767118401bccab.js +3 -0
  10. package/dist/415.415.ee8e35767118401bccab.js.LICENSE.txt +4 -0
  11. package/dist/623.1b885cabcffad0807eeb0de7ad5dd497.js.map +1 -0
  12. package/dist/623.623.148af50848667bfda381.js +3 -0
  13. package/dist/623.623.148af50848667bfda381.js.LICENSE.txt +4 -0
  14. package/dist/755.497b49c90948bc3e157823cb2632c52a.js.map +1 -0
  15. package/dist/755.755.5f9603173373118bd373.js +2 -0
  16. package/dist/772.772.6fed5dfc27e91bebaacc.js +2 -0
  17. package/dist/772.8116969a190f5c8bc076b1604d507de7.js.map +1 -0
  18. package/dist/dashboard.json +1 -0
  19. package/dist/dts/component/fixture.d.ts +93 -0
  20. package/dist/dts/component/fixture.d.ts.map +1 -0
  21. package/dist/dts/component/index.d.ts +2 -0
  22. package/dist/dts/component/index.d.ts.map +1 -0
  23. package/dist/dts/index.d.ts +11 -0
  24. package/dist/dts/index.d.ts.map +1 -0
  25. package/dist/dts/index.federated.d.ts +1 -0
  26. package/dist/dts/index.federated.d.ts.map +1 -0
  27. package/dist/dts/jsdom/setup.d.ts +14 -0
  28. package/dist/dts/jsdom/setup.d.ts.map +1 -0
  29. package/dist/dts/playwright/index.d.ts +5 -0
  30. package/dist/dts/playwright/index.d.ts.map +1 -0
  31. package/dist/dts/playwright/setup.d.ts +13 -0
  32. package/dist/dts/playwright/setup.d.ts.map +1 -0
  33. package/dist/dts/playwright/test.d.ts +16 -0
  34. package/dist/dts/playwright/test.d.ts.map +1 -0
  35. package/dist/dts/suite/index.d.ts +2 -0
  36. package/dist/dts/suite/index.d.ts.map +1 -0
  37. package/dist/dts/suite/suite.d.ts +127 -0
  38. package/dist/dts/suite/suite.d.ts.map +1 -0
  39. package/dist/dts/utils/index.d.ts +2 -0
  40. package/dist/dts/utils/index.d.ts.map +1 -0
  41. package/dist/dts/utils/logger.d.ts +8 -0
  42. package/dist/dts/utils/logger.d.ts.map +1 -0
  43. package/dist/dts/uvu/index.d.ts +2 -0
  44. package/dist/dts/uvu/index.d.ts.map +1 -0
  45. package/dist/dts/uvu/uvu.d.ts +8 -0
  46. package/dist/dts/uvu/uvu.d.ts.map +1 -0
  47. package/dist/esm/component/fixture.js +87 -0
  48. package/dist/esm/component/fixture.js.map +1 -0
  49. package/dist/esm/component/index.js +2 -0
  50. package/dist/esm/component/index.js.map +1 -0
  51. package/dist/esm/index.federated.js +2 -0
  52. package/dist/esm/index.federated.js.map +1 -0
  53. package/dist/esm/index.js +11 -0
  54. package/dist/esm/index.js.map +1 -0
  55. package/dist/esm/jsdom/setup.js +92 -0
  56. package/dist/esm/jsdom/setup.js.map +1 -0
  57. package/dist/esm/playwright/index.js +5 -0
  58. package/dist/esm/playwright/index.js.map +1 -0
  59. package/dist/esm/playwright/setup.js +24 -0
  60. package/dist/esm/playwright/setup.js.map +1 -0
  61. package/dist/esm/playwright/test.js +22 -0
  62. package/dist/esm/playwright/test.js.map +1 -0
  63. package/dist/esm/suite/index.js +2 -0
  64. package/dist/esm/suite/index.js.map +1 -0
  65. package/dist/esm/suite/suite.js +144 -0
  66. package/dist/esm/suite/suite.js.map +1 -0
  67. package/dist/esm/utils/index.js +2 -0
  68. package/dist/esm/utils/index.js.map +1 -0
  69. package/dist/esm/utils/logger.js +9 -0
  70. package/dist/esm/utils/logger.js.map +1 -0
  71. package/dist/esm/uvu/index.js +2 -0
  72. package/dist/esm/uvu/index.js.map +1 -0
  73. package/dist/esm/uvu/uvu.js +8 -0
  74. package/dist/esm/uvu/uvu.js.map +1 -0
  75. package/dist/favicon.ico +0 -0
  76. package/dist/foundation-testing.api.json +1288 -0
  77. package/dist/foundation-testing.d.ts +255 -0
  78. package/dist/foundation-testing.iife.min.js +15 -0
  79. package/dist/foundation-testing.js +6991 -0
  80. package/dist/foundation-testing.min.js +15 -0
  81. package/dist/foundationTesting.db8dd99e6cb1a53c58d5d48831729dc0.js.map +1 -0
  82. package/dist/index.ejs +23 -0
  83. package/dist/index.html +14 -0
  84. package/dist/info.ejs +13 -0
  85. package/dist/main.c5f312e26acb28a2836d58614701899c.js.map +1 -0
  86. package/dist/main.ce9669d02474786f9fdc.js +2 -0
  87. package/dist/npm.consola.713.2f64f3cac7864c3b4057.js +2 -0
  88. package/dist/npm.consola.8813a44257414a02ed3be5608793f087.js.map +1 -0
  89. package/dist/npm.diff.83d06b572c2ee1bd4957fc9f121bf65a.js.map +1 -0
  90. package/dist/npm.diff.852.9166591dbfda57fefcc7.js +2 -0
  91. package/dist/npm.microsoft.127.8c2d0309b2c5ee49f9ed.js +1469 -0
  92. package/dist/npm.microsoft.127.8c2d0309b2c5ee49f9ed.js.LICENSE.txt +14 -0
  93. package/dist/npm.microsoft.53571229b0cfc6a6b1b069cfe9a8483d.js.map +1 -0
  94. package/dist/remoteEntry.js +2 -0
  95. package/dist/serve.json +3 -0
  96. package/dist/tsdoc-metadata.json +11 -0
  97. package/docs/api/foundation-testing.componentcontext.container.md +11 -0
  98. package/docs/api/foundation-testing.componentcontext.designsystem.md +11 -0
  99. package/docs/api/foundation-testing.componentcontext.md +22 -0
  100. package/docs/api/foundation-testing.createcomponentsuite.md +93 -0
  101. package/docs/api/foundation-testing.createlogicsuite.md +54 -0
  102. package/docs/api/foundation-testing.elementgetter.md +12 -0
  103. package/docs/api/foundation-testing.fixture.connect.md +21 -0
  104. package/docs/api/foundation-testing.fixture.disconnect.md +21 -0
  105. package/docs/api/foundation-testing.fixture.document.md +13 -0
  106. package/docs/api/foundation-testing.fixture.element.md +13 -0
  107. package/docs/api/foundation-testing.fixture.md +31 -0
  108. package/docs/api/foundation-testing.fixture.parent.md +18 -0
  109. package/docs/api/foundation-testing.fixture.template.md +13 -0
  110. package/docs/api/foundation-testing.fixture.view.md +13 -0
  111. package/docs/api/foundation-testing.fixtureoptions.context.md +13 -0
  112. package/docs/api/foundation-testing.fixtureoptions.designsystem.md +13 -0
  113. package/docs/api/foundation-testing.fixtureoptions.document.md +13 -0
  114. package/docs/api/foundation-testing.fixtureoptions.md +24 -0
  115. package/docs/api/foundation-testing.fixtureoptions.parent.md +13 -0
  116. package/docs/api/foundation-testing.fixtureoptions.source.md +13 -0
  117. package/docs/api/foundation-testing.logger.md +18 -0
  118. package/docs/api/foundation-testing.logiccontext.md +20 -0
  119. package/docs/api/foundation-testing.logiccontext.runcases.md +23 -0
  120. package/docs/api/foundation-testing.md +35 -0
  121. package/docs/api/index.md +12 -0
  122. package/docs/api-report.md +87 -0
  123. package/license.txt +46 -0
  124. package/package.json +116 -0
@@ -0,0 +1,1288 @@
1
+ {
2
+ "metadata": {
3
+ "toolPackage": "@microsoft/api-extractor",
4
+ "toolVersion": "7.34.4",
5
+ "schemaVersion": 1011,
6
+ "oldestForwardsCompatibleVersion": 1001,
7
+ "tsdocConfig": {
8
+ "$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
9
+ "noStandardTags": true,
10
+ "tagDefinitions": [
11
+ {
12
+ "tagName": "@alpha",
13
+ "syntaxKind": "modifier"
14
+ },
15
+ {
16
+ "tagName": "@beta",
17
+ "syntaxKind": "modifier"
18
+ },
19
+ {
20
+ "tagName": "@defaultValue",
21
+ "syntaxKind": "block"
22
+ },
23
+ {
24
+ "tagName": "@decorator",
25
+ "syntaxKind": "block",
26
+ "allowMultiple": true
27
+ },
28
+ {
29
+ "tagName": "@deprecated",
30
+ "syntaxKind": "block"
31
+ },
32
+ {
33
+ "tagName": "@eventProperty",
34
+ "syntaxKind": "modifier"
35
+ },
36
+ {
37
+ "tagName": "@example",
38
+ "syntaxKind": "block",
39
+ "allowMultiple": true
40
+ },
41
+ {
42
+ "tagName": "@experimental",
43
+ "syntaxKind": "modifier"
44
+ },
45
+ {
46
+ "tagName": "@inheritDoc",
47
+ "syntaxKind": "inline"
48
+ },
49
+ {
50
+ "tagName": "@internal",
51
+ "syntaxKind": "modifier"
52
+ },
53
+ {
54
+ "tagName": "@label",
55
+ "syntaxKind": "inline"
56
+ },
57
+ {
58
+ "tagName": "@link",
59
+ "syntaxKind": "inline",
60
+ "allowMultiple": true
61
+ },
62
+ {
63
+ "tagName": "@override",
64
+ "syntaxKind": "modifier"
65
+ },
66
+ {
67
+ "tagName": "@packageDocumentation",
68
+ "syntaxKind": "modifier"
69
+ },
70
+ {
71
+ "tagName": "@param",
72
+ "syntaxKind": "block",
73
+ "allowMultiple": true
74
+ },
75
+ {
76
+ "tagName": "@privateRemarks",
77
+ "syntaxKind": "block"
78
+ },
79
+ {
80
+ "tagName": "@public",
81
+ "syntaxKind": "modifier"
82
+ },
83
+ {
84
+ "tagName": "@readonly",
85
+ "syntaxKind": "modifier"
86
+ },
87
+ {
88
+ "tagName": "@remarks",
89
+ "syntaxKind": "block"
90
+ },
91
+ {
92
+ "tagName": "@returns",
93
+ "syntaxKind": "block"
94
+ },
95
+ {
96
+ "tagName": "@sealed",
97
+ "syntaxKind": "modifier"
98
+ },
99
+ {
100
+ "tagName": "@see",
101
+ "syntaxKind": "block"
102
+ },
103
+ {
104
+ "tagName": "@throws",
105
+ "syntaxKind": "block",
106
+ "allowMultiple": true
107
+ },
108
+ {
109
+ "tagName": "@typeParam",
110
+ "syntaxKind": "block",
111
+ "allowMultiple": true
112
+ },
113
+ {
114
+ "tagName": "@virtual",
115
+ "syntaxKind": "modifier"
116
+ },
117
+ {
118
+ "tagName": "@betaDocumentation",
119
+ "syntaxKind": "modifier"
120
+ },
121
+ {
122
+ "tagName": "@internalRemarks",
123
+ "syntaxKind": "block"
124
+ },
125
+ {
126
+ "tagName": "@preapproved",
127
+ "syntaxKind": "modifier"
128
+ }
129
+ ],
130
+ "supportForTags": {
131
+ "@alpha": true,
132
+ "@beta": true,
133
+ "@defaultValue": true,
134
+ "@decorator": true,
135
+ "@deprecated": true,
136
+ "@eventProperty": true,
137
+ "@example": true,
138
+ "@experimental": true,
139
+ "@inheritDoc": true,
140
+ "@internal": true,
141
+ "@label": true,
142
+ "@link": true,
143
+ "@override": true,
144
+ "@packageDocumentation": true,
145
+ "@param": true,
146
+ "@privateRemarks": true,
147
+ "@public": true,
148
+ "@readonly": true,
149
+ "@remarks": true,
150
+ "@returns": true,
151
+ "@sealed": true,
152
+ "@see": true,
153
+ "@throws": true,
154
+ "@typeParam": true,
155
+ "@virtual": true,
156
+ "@betaDocumentation": true,
157
+ "@internalRemarks": true,
158
+ "@preapproved": true
159
+ },
160
+ "reportUnsupportedHtmlElements": false
161
+ }
162
+ },
163
+ "kind": "Package",
164
+ "canonicalReference": "@genesislcap/foundation-testing!",
165
+ "docComment": "",
166
+ "name": "@genesislcap/foundation-testing",
167
+ "preserveMemberOrder": false,
168
+ "members": [
169
+ {
170
+ "kind": "EntryPoint",
171
+ "canonicalReference": "@genesislcap/foundation-testing!",
172
+ "name": "",
173
+ "preserveMemberOrder": false,
174
+ "members": [
175
+ {
176
+ "kind": "Interface",
177
+ "canonicalReference": "@genesislcap/foundation-testing!ComponentContext:interface",
178
+ "docComment": "/**\n * Component suite context interface\n *\n * @public\n */\n",
179
+ "excerptTokens": [
180
+ {
181
+ "kind": "Content",
182
+ "text": "export interface ComponentContext<TElement = "
183
+ },
184
+ {
185
+ "kind": "Reference",
186
+ "text": "HTMLElement",
187
+ "canonicalReference": "!HTMLElement:interface"
188
+ },
189
+ {
190
+ "kind": "Content",
191
+ "text": "> extends "
192
+ },
193
+ {
194
+ "kind": "Reference",
195
+ "text": "Pick",
196
+ "canonicalReference": "!Pick:type"
197
+ },
198
+ {
199
+ "kind": "Content",
200
+ "text": "<"
201
+ },
202
+ {
203
+ "kind": "Reference",
204
+ "text": "Fixture",
205
+ "canonicalReference": "@genesislcap/foundation-testing!Fixture:interface"
206
+ },
207
+ {
208
+ "kind": "Content",
209
+ "text": "<TElement>, 'element' | 'disconnect'>"
210
+ },
211
+ {
212
+ "kind": "Content",
213
+ "text": " "
214
+ }
215
+ ],
216
+ "fileUrlPath": "src/suite/suite.ts",
217
+ "releaseTag": "Public",
218
+ "typeParameters": [
219
+ {
220
+ "typeParameterName": "TElement",
221
+ "constraintTokenRange": {
222
+ "startIndex": 0,
223
+ "endIndex": 0
224
+ },
225
+ "defaultTypeTokenRange": {
226
+ "startIndex": 1,
227
+ "endIndex": 2
228
+ }
229
+ }
230
+ ],
231
+ "name": "ComponentContext",
232
+ "preserveMemberOrder": false,
233
+ "members": [
234
+ {
235
+ "kind": "PropertySignature",
236
+ "canonicalReference": "@genesislcap/foundation-testing!ComponentContext#container:member",
237
+ "docComment": "",
238
+ "excerptTokens": [
239
+ {
240
+ "kind": "Content",
241
+ "text": "container: "
242
+ },
243
+ {
244
+ "kind": "Reference",
245
+ "text": "Container",
246
+ "canonicalReference": "@microsoft/fast-foundation!Container:interface"
247
+ },
248
+ {
249
+ "kind": "Content",
250
+ "text": ";"
251
+ }
252
+ ],
253
+ "isReadonly": false,
254
+ "isOptional": false,
255
+ "releaseTag": "Public",
256
+ "name": "container",
257
+ "propertyTypeTokenRange": {
258
+ "startIndex": 1,
259
+ "endIndex": 2
260
+ }
261
+ },
262
+ {
263
+ "kind": "PropertySignature",
264
+ "canonicalReference": "@genesislcap/foundation-testing!ComponentContext#designSystem:member",
265
+ "docComment": "",
266
+ "excerptTokens": [
267
+ {
268
+ "kind": "Content",
269
+ "text": "designSystem: "
270
+ },
271
+ {
272
+ "kind": "Reference",
273
+ "text": "DesignSystem",
274
+ "canonicalReference": "@microsoft/fast-foundation!DesignSystem:interface"
275
+ },
276
+ {
277
+ "kind": "Content",
278
+ "text": ";"
279
+ }
280
+ ],
281
+ "isReadonly": false,
282
+ "isOptional": false,
283
+ "releaseTag": "Public",
284
+ "name": "designSystem",
285
+ "propertyTypeTokenRange": {
286
+ "startIndex": 1,
287
+ "endIndex": 2
288
+ }
289
+ }
290
+ ],
291
+ "extendsTokenRanges": [
292
+ {
293
+ "startIndex": 3,
294
+ "endIndex": 7
295
+ }
296
+ ]
297
+ },
298
+ {
299
+ "kind": "Function",
300
+ "canonicalReference": "@genesislcap/foundation-testing!createComponentSuite:function(1)",
301
+ "docComment": "/**\n * Create component test suite.\n *\n * @remarks\n *\n * Used to test function output given certain input arguments.\n *\n * @param title - Title of the test suite\n *\n * @param elementNameOrGetter - Element tag name or getter which is used to create the element within the fixture\n *\n * @param context - Optional component context {@link ComponentContext}\n *\n * @param registrations - Optional array of DI container registrations\n *\n * @typeParam TElement - The element interface.\n *\n * @returns The test suite\n *\n * @example\n *\n * Simple suite using the tag name of the component.\n * ```ts\n * import { createComponentSuite } from '@genesislcap/foundation-testing';\n * import { Component } from './component';\n * Component; // < As we're using tag name in the Suite, we hold a reference to avoid tree shaking.\n * const Suite = createComponentSuite<Component>('Component', 'my-component');\n * // test cases...\n * Suite.run();\n * ```\n *\n * @example\n *\n * Mocking a DI dependency for a composable component.\n * ```ts\n * const connectMock = new ConnectMock();\n * const mocks = [Registration.instance(Connect, connectMock)];\n * const Suite = createComponentSuite<ConnectionIndicator>('ConnectionIndicator Component', () => connectionIndicator(), null, mocks);\n * // test cases...\n * Suite.run();\n * ```\n *\n * @example\n *\n * An element will be required to test anything that directly or in-directly makes use of the DI container, for example, a service that can be injected into components, or has its own injected dependencies.\n * ```ts\n * import { Service } from './service';\n * @customElement({\n * name: 'test-element',\n * template: html`<slot></slot>`,\n * })\n * class TestElement extends FASTElement {}\n * const mocks = [...];\n * const Suite = createComponentSuite<TestElement>('Service', 'test-element', null, mocks);\n * // test cases...\n * Suite.run();\n * ```\n *\n * Importing the service should invoke the Service's DI registration, so in your test cases you can simply query the container to get a reference to your service.\n * ```ts\n * Suite('Service.x does something expected', async ({ container }) => {\n * const myService = container.get(Service);\n * // assert\n * });\n * ```\n *\n * You can optionally add the service to the test element for lookup convenience, but this is not required.\n * ```ts\n * class TestElement extends FASTElement {\n * @Service service: Service;\n * }\n * Suite('Element has service injected', async ({ element }) => {\n * assert.ok(element.service);\n * });\n * ```\n *\n * @public\n */\n",
302
+ "excerptTokens": [
303
+ {
304
+ "kind": "Content",
305
+ "text": "export declare function createComponentSuite<TElement = "
306
+ },
307
+ {
308
+ "kind": "Reference",
309
+ "text": "HTMLElement",
310
+ "canonicalReference": "!HTMLElement:interface"
311
+ },
312
+ {
313
+ "kind": "Content",
314
+ "text": ">(title: "
315
+ },
316
+ {
317
+ "kind": "Content",
318
+ "text": "string"
319
+ },
320
+ {
321
+ "kind": "Content",
322
+ "text": ", elementNameOrGetter: "
323
+ },
324
+ {
325
+ "kind": "Content",
326
+ "text": "string | "
327
+ },
328
+ {
329
+ "kind": "Reference",
330
+ "text": "ElementGetter",
331
+ "canonicalReference": "@genesislcap/foundation-testing!ElementGetter:type"
332
+ },
333
+ {
334
+ "kind": "Content",
335
+ "text": ", context?: "
336
+ },
337
+ {
338
+ "kind": "Reference",
339
+ "text": "ComponentContext",
340
+ "canonicalReference": "@genesislcap/foundation-testing!ComponentContext:interface"
341
+ },
342
+ {
343
+ "kind": "Content",
344
+ "text": "<TElement>"
345
+ },
346
+ {
347
+ "kind": "Content",
348
+ "text": ", registrations?: "
349
+ },
350
+ {
351
+ "kind": "Reference",
352
+ "text": "Registration",
353
+ "canonicalReference": "@microsoft/fast-foundation!Registration:interface"
354
+ },
355
+ {
356
+ "kind": "Content",
357
+ "text": "<any>[]"
358
+ },
359
+ {
360
+ "kind": "Content",
361
+ "text": "): "
362
+ },
363
+ {
364
+ "kind": "Reference",
365
+ "text": "uvu.Test",
366
+ "canonicalReference": "uvu!uvu.Test:interface"
367
+ },
368
+ {
369
+ "kind": "Content",
370
+ "text": "<"
371
+ },
372
+ {
373
+ "kind": "Reference",
374
+ "text": "ComponentContext",
375
+ "canonicalReference": "@genesislcap/foundation-testing!ComponentContext:interface"
376
+ },
377
+ {
378
+ "kind": "Content",
379
+ "text": "<TElement>>"
380
+ },
381
+ {
382
+ "kind": "Content",
383
+ "text": ";"
384
+ }
385
+ ],
386
+ "fileUrlPath": "src/suite/suite.ts",
387
+ "returnTypeTokenRange": {
388
+ "startIndex": 14,
389
+ "endIndex": 18
390
+ },
391
+ "releaseTag": "Public",
392
+ "overloadIndex": 1,
393
+ "parameters": [
394
+ {
395
+ "parameterName": "title",
396
+ "parameterTypeTokenRange": {
397
+ "startIndex": 3,
398
+ "endIndex": 4
399
+ },
400
+ "isOptional": false
401
+ },
402
+ {
403
+ "parameterName": "elementNameOrGetter",
404
+ "parameterTypeTokenRange": {
405
+ "startIndex": 5,
406
+ "endIndex": 7
407
+ },
408
+ "isOptional": false
409
+ },
410
+ {
411
+ "parameterName": "context",
412
+ "parameterTypeTokenRange": {
413
+ "startIndex": 8,
414
+ "endIndex": 10
415
+ },
416
+ "isOptional": true
417
+ },
418
+ {
419
+ "parameterName": "registrations",
420
+ "parameterTypeTokenRange": {
421
+ "startIndex": 11,
422
+ "endIndex": 13
423
+ },
424
+ "isOptional": true
425
+ }
426
+ ],
427
+ "typeParameters": [
428
+ {
429
+ "typeParameterName": "TElement",
430
+ "constraintTokenRange": {
431
+ "startIndex": 0,
432
+ "endIndex": 0
433
+ },
434
+ "defaultTypeTokenRange": {
435
+ "startIndex": 1,
436
+ "endIndex": 2
437
+ }
438
+ }
439
+ ],
440
+ "name": "createComponentSuite"
441
+ },
442
+ {
443
+ "kind": "Function",
444
+ "canonicalReference": "@genesislcap/foundation-testing!createLogicSuite:function(1)",
445
+ "docComment": "/**\n * Create logic test suite.\n *\n * @remarks\n *\n * Used to test function output given certain input arguments.\n *\n * @param title - Title of the test suite\n *\n * @param context - Optional context which extends {@link LogicContext}\n *\n * @typeParam TContext - The context interface.\n *\n * @returns The test suite\n *\n * @example\n * ```ts\n * import { createLogicSuite } from '@genesislcap/foundation-testing';\n * import { myFunction } from './logic';\n * const Suite = createLogicSuite('myFunction');\n * Suite('myFunction should provide expected results', ({ runCases }) => {\n * runCases(myFunction, [\n * [['1'], true],\n * [[123], true],\n * [['60%'], true],\n * [['$60'], false],\n * [['1.1'], false],\n * [[''], false],\n * [[true], false],\n * [[null], false],\n * [[undefined], false],\n * ]);\n * });\n * Suite.run();\n * ```\n *\n * @public\n */\n",
446
+ "excerptTokens": [
447
+ {
448
+ "kind": "Content",
449
+ "text": "export declare function createLogicSuite<TContext = "
450
+ },
451
+ {
452
+ "kind": "Reference",
453
+ "text": "LogicContext",
454
+ "canonicalReference": "@genesislcap/foundation-testing!LogicContext:interface"
455
+ },
456
+ {
457
+ "kind": "Content",
458
+ "text": ">(title: "
459
+ },
460
+ {
461
+ "kind": "Content",
462
+ "text": "string"
463
+ },
464
+ {
465
+ "kind": "Content",
466
+ "text": ", context?: "
467
+ },
468
+ {
469
+ "kind": "Content",
470
+ "text": "TContext"
471
+ },
472
+ {
473
+ "kind": "Content",
474
+ "text": "): "
475
+ },
476
+ {
477
+ "kind": "Reference",
478
+ "text": "uvu.Test",
479
+ "canonicalReference": "uvu!uvu.Test:interface"
480
+ },
481
+ {
482
+ "kind": "Content",
483
+ "text": "<TContext>"
484
+ },
485
+ {
486
+ "kind": "Content",
487
+ "text": ";"
488
+ }
489
+ ],
490
+ "fileUrlPath": "src/suite/suite.ts",
491
+ "returnTypeTokenRange": {
492
+ "startIndex": 7,
493
+ "endIndex": 9
494
+ },
495
+ "releaseTag": "Public",
496
+ "overloadIndex": 1,
497
+ "parameters": [
498
+ {
499
+ "parameterName": "title",
500
+ "parameterTypeTokenRange": {
501
+ "startIndex": 3,
502
+ "endIndex": 4
503
+ },
504
+ "isOptional": false
505
+ },
506
+ {
507
+ "parameterName": "context",
508
+ "parameterTypeTokenRange": {
509
+ "startIndex": 5,
510
+ "endIndex": 6
511
+ },
512
+ "isOptional": true
513
+ }
514
+ ],
515
+ "typeParameters": [
516
+ {
517
+ "typeParameterName": "TContext",
518
+ "constraintTokenRange": {
519
+ "startIndex": 0,
520
+ "endIndex": 0
521
+ },
522
+ "defaultTypeTokenRange": {
523
+ "startIndex": 1,
524
+ "endIndex": 2
525
+ }
526
+ }
527
+ ],
528
+ "name": "createLogicSuite"
529
+ },
530
+ {
531
+ "kind": "TypeAlias",
532
+ "canonicalReference": "@genesislcap/foundation-testing!ElementGetter:type",
533
+ "docComment": "/**\n * @public\n */\n",
534
+ "excerptTokens": [
535
+ {
536
+ "kind": "Content",
537
+ "text": "export type ElementGetter = "
538
+ },
539
+ {
540
+ "kind": "Content",
541
+ "text": "() => "
542
+ },
543
+ {
544
+ "kind": "Reference",
545
+ "text": "FoundationElementRegistry",
546
+ "canonicalReference": "@microsoft/fast-foundation!FoundationElementRegistry:class"
547
+ },
548
+ {
549
+ "kind": "Content",
550
+ "text": "<"
551
+ },
552
+ {
553
+ "kind": "Reference",
554
+ "text": "FoundationElementDefinition",
555
+ "canonicalReference": "@microsoft/fast-foundation!FoundationElementDefinition:interface"
556
+ },
557
+ {
558
+ "kind": "Content",
559
+ "text": ", "
560
+ },
561
+ {
562
+ "kind": "Reference",
563
+ "text": "FoundationElement",
564
+ "canonicalReference": "@microsoft/fast-foundation!FoundationElement:class"
565
+ },
566
+ {
567
+ "kind": "Content",
568
+ "text": ">"
569
+ },
570
+ {
571
+ "kind": "Content",
572
+ "text": ";"
573
+ }
574
+ ],
575
+ "fileUrlPath": "src/suite/suite.ts",
576
+ "releaseTag": "Public",
577
+ "name": "ElementGetter",
578
+ "typeTokenRange": {
579
+ "startIndex": 1,
580
+ "endIndex": 8
581
+ }
582
+ },
583
+ {
584
+ "kind": "Function",
585
+ "canonicalReference": "@genesislcap/foundation-testing!fixture:function(1)",
586
+ "docComment": "/**\n * Creates a test fixture suitable for testing custom elements, templates, and bindings.\n *\n * @remarks\n *\n * Yields control to the caller one Microtask later, in order to ensure that the DOM has settled. This has changed in the latest version of FAST!\n *\n * @param templateNameOrRegistry - An HTML template or single element name to create the fixture for.\n *\n * @param options - Enables customizing fixture creation behavior.\n *\n * @returns A promise of the test fixture {@link Fixture}.\n *\n * @public\n */\n",
587
+ "excerptTokens": [
588
+ {
589
+ "kind": "Content",
590
+ "text": "export declare function fixture<TElement = "
591
+ },
592
+ {
593
+ "kind": "Reference",
594
+ "text": "HTMLElement",
595
+ "canonicalReference": "!HTMLElement:interface"
596
+ },
597
+ {
598
+ "kind": "Content",
599
+ "text": ">(templateNameOrRegistry: "
600
+ },
601
+ {
602
+ "kind": "Reference",
603
+ "text": "ViewTemplate",
604
+ "canonicalReference": "@microsoft/fast-element!ViewTemplate:class"
605
+ },
606
+ {
607
+ "kind": "Content",
608
+ "text": " | string | "
609
+ },
610
+ {
611
+ "kind": "Reference",
612
+ "text": "FoundationElementRegistry",
613
+ "canonicalReference": "@microsoft/fast-foundation!FoundationElementRegistry:class"
614
+ },
615
+ {
616
+ "kind": "Content",
617
+ "text": "<"
618
+ },
619
+ {
620
+ "kind": "Reference",
621
+ "text": "FoundationElementDefinition",
622
+ "canonicalReference": "@microsoft/fast-foundation!FoundationElementDefinition:interface"
623
+ },
624
+ {
625
+ "kind": "Content",
626
+ "text": ", "
627
+ },
628
+ {
629
+ "kind": "Reference",
630
+ "text": "Constructable",
631
+ "canonicalReference": "@microsoft/fast-element!Constructable:type"
632
+ },
633
+ {
634
+ "kind": "Content",
635
+ "text": "<TElement>> | [\n "
636
+ },
637
+ {
638
+ "kind": "Reference",
639
+ "text": "FoundationElementRegistry",
640
+ "canonicalReference": "@microsoft/fast-foundation!FoundationElementRegistry:class"
641
+ },
642
+ {
643
+ "kind": "Content",
644
+ "text": "<"
645
+ },
646
+ {
647
+ "kind": "Reference",
648
+ "text": "FoundationElementDefinition",
649
+ "canonicalReference": "@microsoft/fast-foundation!FoundationElementDefinition:interface"
650
+ },
651
+ {
652
+ "kind": "Content",
653
+ "text": ", "
654
+ },
655
+ {
656
+ "kind": "Reference",
657
+ "text": "Constructable",
658
+ "canonicalReference": "@microsoft/fast-element!Constructable:type"
659
+ },
660
+ {
661
+ "kind": "Content",
662
+ "text": "<TElement>>,\n ..."
663
+ },
664
+ {
665
+ "kind": "Reference",
666
+ "text": "FoundationElementRegistry",
667
+ "canonicalReference": "@microsoft/fast-foundation!FoundationElementRegistry:class"
668
+ },
669
+ {
670
+ "kind": "Content",
671
+ "text": "<"
672
+ },
673
+ {
674
+ "kind": "Reference",
675
+ "text": "FoundationElementDefinition",
676
+ "canonicalReference": "@microsoft/fast-foundation!FoundationElementDefinition:interface"
677
+ },
678
+ {
679
+ "kind": "Content",
680
+ "text": ", "
681
+ },
682
+ {
683
+ "kind": "Reference",
684
+ "text": "Constructable",
685
+ "canonicalReference": "@microsoft/fast-element!Constructable:type"
686
+ },
687
+ {
688
+ "kind": "Content",
689
+ "text": ">[]\n]"
690
+ },
691
+ {
692
+ "kind": "Content",
693
+ "text": ", options?: "
694
+ },
695
+ {
696
+ "kind": "Reference",
697
+ "text": "FixtureOptions",
698
+ "canonicalReference": "@genesislcap/foundation-testing!FixtureOptions:interface"
699
+ },
700
+ {
701
+ "kind": "Content",
702
+ "text": "): "
703
+ },
704
+ {
705
+ "kind": "Reference",
706
+ "text": "Promise",
707
+ "canonicalReference": "!Promise:interface"
708
+ },
709
+ {
710
+ "kind": "Content",
711
+ "text": "<"
712
+ },
713
+ {
714
+ "kind": "Reference",
715
+ "text": "Fixture",
716
+ "canonicalReference": "@genesislcap/foundation-testing!Fixture:interface"
717
+ },
718
+ {
719
+ "kind": "Content",
720
+ "text": "<TElement>>"
721
+ },
722
+ {
723
+ "kind": "Content",
724
+ "text": ";"
725
+ }
726
+ ],
727
+ "fileUrlPath": "src/component/fixture.ts",
728
+ "returnTypeTokenRange": {
729
+ "startIndex": 26,
730
+ "endIndex": 30
731
+ },
732
+ "releaseTag": "Public",
733
+ "overloadIndex": 1,
734
+ "parameters": [
735
+ {
736
+ "parameterName": "templateNameOrRegistry",
737
+ "parameterTypeTokenRange": {
738
+ "startIndex": 3,
739
+ "endIndex": 23
740
+ },
741
+ "isOptional": false
742
+ },
743
+ {
744
+ "parameterName": "options",
745
+ "parameterTypeTokenRange": {
746
+ "startIndex": 24,
747
+ "endIndex": 25
748
+ },
749
+ "isOptional": true
750
+ }
751
+ ],
752
+ "typeParameters": [
753
+ {
754
+ "typeParameterName": "TElement",
755
+ "constraintTokenRange": {
756
+ "startIndex": 0,
757
+ "endIndex": 0
758
+ },
759
+ "defaultTypeTokenRange": {
760
+ "startIndex": 1,
761
+ "endIndex": 2
762
+ }
763
+ }
764
+ ],
765
+ "name": "fixture"
766
+ },
767
+ {
768
+ "kind": "Interface",
769
+ "canonicalReference": "@genesislcap/foundation-testing!Fixture:interface",
770
+ "docComment": "/**\n * Unit test fixture.\n *\n * @public\n */\n",
771
+ "excerptTokens": [
772
+ {
773
+ "kind": "Content",
774
+ "text": "export interface Fixture<TElement = "
775
+ },
776
+ {
777
+ "kind": "Reference",
778
+ "text": "HTMLElement",
779
+ "canonicalReference": "!HTMLElement:interface"
780
+ },
781
+ {
782
+ "kind": "Content",
783
+ "text": "> "
784
+ }
785
+ ],
786
+ "fileUrlPath": "src/component/fixture.ts",
787
+ "releaseTag": "Public",
788
+ "typeParameters": [
789
+ {
790
+ "typeParameterName": "TElement",
791
+ "constraintTokenRange": {
792
+ "startIndex": 0,
793
+ "endIndex": 0
794
+ },
795
+ "defaultTypeTokenRange": {
796
+ "startIndex": 1,
797
+ "endIndex": 2
798
+ }
799
+ }
800
+ ],
801
+ "name": "Fixture",
802
+ "preserveMemberOrder": false,
803
+ "members": [
804
+ {
805
+ "kind": "MethodSignature",
806
+ "canonicalReference": "@genesislcap/foundation-testing!Fixture#connect:member(1)",
807
+ "docComment": "/**\n * Adds the {@link Fixture.parent} to the DOM, causing the connect lifecycle to begin.\n *\n * @remarks\n *\n * Yields control to the caller one Microtask later, in order to ensure that the DOM has settled.\n */\n",
808
+ "excerptTokens": [
809
+ {
810
+ "kind": "Content",
811
+ "text": "connect(): "
812
+ },
813
+ {
814
+ "kind": "Reference",
815
+ "text": "Promise",
816
+ "canonicalReference": "!Promise:interface"
817
+ },
818
+ {
819
+ "kind": "Content",
820
+ "text": "<void>"
821
+ },
822
+ {
823
+ "kind": "Content",
824
+ "text": ";"
825
+ }
826
+ ],
827
+ "isOptional": false,
828
+ "returnTypeTokenRange": {
829
+ "startIndex": 1,
830
+ "endIndex": 3
831
+ },
832
+ "releaseTag": "Public",
833
+ "overloadIndex": 1,
834
+ "parameters": [],
835
+ "name": "connect"
836
+ },
837
+ {
838
+ "kind": "MethodSignature",
839
+ "canonicalReference": "@genesislcap/foundation-testing!Fixture#disconnect:member(1)",
840
+ "docComment": "/**\n * Removes the {@link Fixture.parent} from the DOM, causing the disconnect lifecycle to begin.\n *\n * @remarks\n *\n * Yields control to the caller one Microtask later, in order to ensure that the DOM has settled.\n */\n",
841
+ "excerptTokens": [
842
+ {
843
+ "kind": "Content",
844
+ "text": "disconnect(): "
845
+ },
846
+ {
847
+ "kind": "Reference",
848
+ "text": "Promise",
849
+ "canonicalReference": "!Promise:interface"
850
+ },
851
+ {
852
+ "kind": "Content",
853
+ "text": "<void>"
854
+ },
855
+ {
856
+ "kind": "Content",
857
+ "text": ";"
858
+ }
859
+ ],
860
+ "isOptional": false,
861
+ "returnTypeTokenRange": {
862
+ "startIndex": 1,
863
+ "endIndex": 3
864
+ },
865
+ "releaseTag": "Public",
866
+ "overloadIndex": 1,
867
+ "parameters": [],
868
+ "name": "disconnect"
869
+ },
870
+ {
871
+ "kind": "PropertySignature",
872
+ "canonicalReference": "@genesislcap/foundation-testing!Fixture#document:member",
873
+ "docComment": "/**\n * The document the fixture is running in.\n */\n",
874
+ "excerptTokens": [
875
+ {
876
+ "kind": "Content",
877
+ "text": "document: "
878
+ },
879
+ {
880
+ "kind": "Reference",
881
+ "text": "Document",
882
+ "canonicalReference": "!Document:interface"
883
+ },
884
+ {
885
+ "kind": "Content",
886
+ "text": ";"
887
+ }
888
+ ],
889
+ "isReadonly": false,
890
+ "isOptional": false,
891
+ "releaseTag": "Public",
892
+ "name": "document",
893
+ "propertyTypeTokenRange": {
894
+ "startIndex": 1,
895
+ "endIndex": 2
896
+ }
897
+ },
898
+ {
899
+ "kind": "PropertySignature",
900
+ "canonicalReference": "@genesislcap/foundation-testing!Fixture#element:member",
901
+ "docComment": "/**\n * The first element in the {@link Fixture.view}.\n */\n",
902
+ "excerptTokens": [
903
+ {
904
+ "kind": "Content",
905
+ "text": "element: "
906
+ },
907
+ {
908
+ "kind": "Content",
909
+ "text": "TElement"
910
+ },
911
+ {
912
+ "kind": "Content",
913
+ "text": ";"
914
+ }
915
+ ],
916
+ "isReadonly": false,
917
+ "isOptional": false,
918
+ "releaseTag": "Public",
919
+ "name": "element",
920
+ "propertyTypeTokenRange": {
921
+ "startIndex": 1,
922
+ "endIndex": 2
923
+ }
924
+ },
925
+ {
926
+ "kind": "PropertySignature",
927
+ "canonicalReference": "@genesislcap/foundation-testing!Fixture#parent:member",
928
+ "docComment": "/**\n * The parent element that the view was appended to.\n *\n * @remarks\n *\n * This element will be appended to the DOM only after {@link Fixture.connect} has been called.\n */\n",
929
+ "excerptTokens": [
930
+ {
931
+ "kind": "Content",
932
+ "text": "parent: "
933
+ },
934
+ {
935
+ "kind": "Reference",
936
+ "text": "HTMLElement",
937
+ "canonicalReference": "!HTMLElement:interface"
938
+ },
939
+ {
940
+ "kind": "Content",
941
+ "text": ";"
942
+ }
943
+ ],
944
+ "isReadonly": false,
945
+ "isOptional": false,
946
+ "releaseTag": "Public",
947
+ "name": "parent",
948
+ "propertyTypeTokenRange": {
949
+ "startIndex": 1,
950
+ "endIndex": 2
951
+ }
952
+ },
953
+ {
954
+ "kind": "PropertySignature",
955
+ "canonicalReference": "@genesislcap/foundation-testing!Fixture#template:member",
956
+ "docComment": "/**\n * The template the fixture was created from.\n */\n",
957
+ "excerptTokens": [
958
+ {
959
+ "kind": "Content",
960
+ "text": "template: "
961
+ },
962
+ {
963
+ "kind": "Reference",
964
+ "text": "ViewTemplate",
965
+ "canonicalReference": "@microsoft/fast-element!ViewTemplate:class"
966
+ },
967
+ {
968
+ "kind": "Content",
969
+ "text": ";"
970
+ }
971
+ ],
972
+ "isReadonly": false,
973
+ "isOptional": false,
974
+ "releaseTag": "Public",
975
+ "name": "template",
976
+ "propertyTypeTokenRange": {
977
+ "startIndex": 1,
978
+ "endIndex": 2
979
+ }
980
+ },
981
+ {
982
+ "kind": "PropertySignature",
983
+ "canonicalReference": "@genesislcap/foundation-testing!Fixture#view:member",
984
+ "docComment": "/**\n * The view that was created from the fixture's template.\n */\n",
985
+ "excerptTokens": [
986
+ {
987
+ "kind": "Content",
988
+ "text": "view: "
989
+ },
990
+ {
991
+ "kind": "Reference",
992
+ "text": "HTMLView",
993
+ "canonicalReference": "@microsoft/fast-element!HTMLView:class"
994
+ },
995
+ {
996
+ "kind": "Content",
997
+ "text": ";"
998
+ }
999
+ ],
1000
+ "isReadonly": false,
1001
+ "isOptional": false,
1002
+ "releaseTag": "Public",
1003
+ "name": "view",
1004
+ "propertyTypeTokenRange": {
1005
+ "startIndex": 1,
1006
+ "endIndex": 2
1007
+ }
1008
+ }
1009
+ ],
1010
+ "extendsTokenRanges": []
1011
+ },
1012
+ {
1013
+ "kind": "Interface",
1014
+ "canonicalReference": "@genesislcap/foundation-testing!FixtureOptions:interface",
1015
+ "docComment": "/**\n * Options used to customize the creation of the unit test fixture.\n *\n * @public\n */\n",
1016
+ "excerptTokens": [
1017
+ {
1018
+ "kind": "Content",
1019
+ "text": "export interface FixtureOptions "
1020
+ }
1021
+ ],
1022
+ "fileUrlPath": "src/component/fixture.ts",
1023
+ "releaseTag": "Public",
1024
+ "name": "FixtureOptions",
1025
+ "preserveMemberOrder": false,
1026
+ "members": [
1027
+ {
1028
+ "kind": "PropertySignature",
1029
+ "canonicalReference": "@genesislcap/foundation-testing!FixtureOptions#context:member",
1030
+ "docComment": "/**\n * The execution context to use during binding.\n *\n * @defaultValue\n *\n * {@link @microsoft/fast-element#defaultExecutionContext}\n */\n",
1031
+ "excerptTokens": [
1032
+ {
1033
+ "kind": "Content",
1034
+ "text": "context?: "
1035
+ },
1036
+ {
1037
+ "kind": "Reference",
1038
+ "text": "ExecutionContext",
1039
+ "canonicalReference": "@microsoft/fast-element!ExecutionContext:class"
1040
+ },
1041
+ {
1042
+ "kind": "Content",
1043
+ "text": ";"
1044
+ }
1045
+ ],
1046
+ "isReadonly": false,
1047
+ "isOptional": true,
1048
+ "releaseTag": "Public",
1049
+ "name": "context",
1050
+ "propertyTypeTokenRange": {
1051
+ "startIndex": 1,
1052
+ "endIndex": 2
1053
+ }
1054
+ },
1055
+ {
1056
+ "kind": "PropertySignature",
1057
+ "canonicalReference": "@genesislcap/foundation-testing!FixtureOptions#designSystem:member",
1058
+ "docComment": "/**\n * A pre-configured design system instance used in setting up the fixture.\n */\n",
1059
+ "excerptTokens": [
1060
+ {
1061
+ "kind": "Content",
1062
+ "text": "designSystem?: "
1063
+ },
1064
+ {
1065
+ "kind": "Reference",
1066
+ "text": "DesignSystem",
1067
+ "canonicalReference": "@microsoft/fast-foundation!DesignSystem:interface"
1068
+ },
1069
+ {
1070
+ "kind": "Content",
1071
+ "text": ";"
1072
+ }
1073
+ ],
1074
+ "isReadonly": false,
1075
+ "isOptional": true,
1076
+ "releaseTag": "Public",
1077
+ "name": "designSystem",
1078
+ "propertyTypeTokenRange": {
1079
+ "startIndex": 1,
1080
+ "endIndex": 2
1081
+ }
1082
+ },
1083
+ {
1084
+ "kind": "PropertySignature",
1085
+ "canonicalReference": "@genesislcap/foundation-testing!FixtureOptions#document:member",
1086
+ "docComment": "/**\n * The document to run the fixture in.\n *\n * @defaultValue\n *\n * `globalThis.document`\n */\n",
1087
+ "excerptTokens": [
1088
+ {
1089
+ "kind": "Content",
1090
+ "text": "document?: "
1091
+ },
1092
+ {
1093
+ "kind": "Reference",
1094
+ "text": "Document",
1095
+ "canonicalReference": "!Document:interface"
1096
+ },
1097
+ {
1098
+ "kind": "Content",
1099
+ "text": ";"
1100
+ }
1101
+ ],
1102
+ "isReadonly": false,
1103
+ "isOptional": true,
1104
+ "releaseTag": "Public",
1105
+ "name": "document",
1106
+ "propertyTypeTokenRange": {
1107
+ "startIndex": 1,
1108
+ "endIndex": 2
1109
+ }
1110
+ },
1111
+ {
1112
+ "kind": "PropertySignature",
1113
+ "canonicalReference": "@genesislcap/foundation-testing!FixtureOptions#parent:member",
1114
+ "docComment": "/**\n * The parent element to append the fixture to.\n *\n * @defaultValue\n *\n * An instance of `HTMLDivElement`.\n */\n",
1115
+ "excerptTokens": [
1116
+ {
1117
+ "kind": "Content",
1118
+ "text": "parent?: "
1119
+ },
1120
+ {
1121
+ "kind": "Reference",
1122
+ "text": "HTMLElement",
1123
+ "canonicalReference": "!HTMLElement:interface"
1124
+ },
1125
+ {
1126
+ "kind": "Content",
1127
+ "text": ";"
1128
+ }
1129
+ ],
1130
+ "isReadonly": false,
1131
+ "isOptional": true,
1132
+ "releaseTag": "Public",
1133
+ "name": "parent",
1134
+ "propertyTypeTokenRange": {
1135
+ "startIndex": 1,
1136
+ "endIndex": 2
1137
+ }
1138
+ },
1139
+ {
1140
+ "kind": "PropertySignature",
1141
+ "canonicalReference": "@genesislcap/foundation-testing!FixtureOptions#source:member",
1142
+ "docComment": "/**\n * The data source to bind the HTML to.\n *\n * @defaultValue\n *\n * An empty object.\n */\n",
1143
+ "excerptTokens": [
1144
+ {
1145
+ "kind": "Content",
1146
+ "text": "source?: "
1147
+ },
1148
+ {
1149
+ "kind": "Content",
1150
+ "text": "any"
1151
+ },
1152
+ {
1153
+ "kind": "Content",
1154
+ "text": ";"
1155
+ }
1156
+ ],
1157
+ "isReadonly": false,
1158
+ "isOptional": true,
1159
+ "releaseTag": "Public",
1160
+ "name": "source",
1161
+ "propertyTypeTokenRange": {
1162
+ "startIndex": 1,
1163
+ "endIndex": 2
1164
+ }
1165
+ }
1166
+ ],
1167
+ "extendsTokenRanges": []
1168
+ },
1169
+ {
1170
+ "kind": "Variable",
1171
+ "canonicalReference": "@genesislcap/foundation-testing!logger:var",
1172
+ "docComment": "/**\n * Test logger\n *\n * @remarks\n *\n * Exported so you can set log levels differently across packages when needed.\n *\n * @public\n */\n",
1173
+ "excerptTokens": [
1174
+ {
1175
+ "kind": "Content",
1176
+ "text": "logger: "
1177
+ },
1178
+ {
1179
+ "kind": "Content",
1180
+ "text": "import(\"@genesislcap/foundation-utils\")."
1181
+ },
1182
+ {
1183
+ "kind": "Reference",
1184
+ "text": "Logger",
1185
+ "canonicalReference": "@genesislcap/foundation-utils!Logger:interface"
1186
+ }
1187
+ ],
1188
+ "fileUrlPath": "src/utils/logger.ts",
1189
+ "isReadonly": true,
1190
+ "releaseTag": "Public",
1191
+ "name": "logger",
1192
+ "variableTypeTokenRange": {
1193
+ "startIndex": 1,
1194
+ "endIndex": 3
1195
+ }
1196
+ },
1197
+ {
1198
+ "kind": "Interface",
1199
+ "canonicalReference": "@genesislcap/foundation-testing!LogicContext:interface",
1200
+ "docComment": "/**\n * Logic suite context interface\n *\n * @public\n */\n",
1201
+ "excerptTokens": [
1202
+ {
1203
+ "kind": "Content",
1204
+ "text": "export interface LogicContext "
1205
+ }
1206
+ ],
1207
+ "fileUrlPath": "src/suite/suite.ts",
1208
+ "releaseTag": "Public",
1209
+ "name": "LogicContext",
1210
+ "preserveMemberOrder": false,
1211
+ "members": [
1212
+ {
1213
+ "kind": "MethodSignature",
1214
+ "canonicalReference": "@genesislcap/foundation-testing!LogicContext#runCases:member(1)",
1215
+ "docComment": "",
1216
+ "excerptTokens": [
1217
+ {
1218
+ "kind": "Content",
1219
+ "text": "runCases?(fn: "
1220
+ },
1221
+ {
1222
+ "kind": "Content",
1223
+ "text": "(value: any) => any"
1224
+ },
1225
+ {
1226
+ "kind": "Content",
1227
+ "text": ", cases: "
1228
+ },
1229
+ {
1230
+ "kind": "Content",
1231
+ "text": "[any, any, "
1232
+ },
1233
+ {
1234
+ "kind": "Reference",
1235
+ "text": "assert.Message",
1236
+ "canonicalReference": "uvu!Message:type"
1237
+ },
1238
+ {
1239
+ "kind": "Content",
1240
+ "text": "?][]"
1241
+ },
1242
+ {
1243
+ "kind": "Content",
1244
+ "text": "): "
1245
+ },
1246
+ {
1247
+ "kind": "Content",
1248
+ "text": "void"
1249
+ },
1250
+ {
1251
+ "kind": "Content",
1252
+ "text": ";"
1253
+ }
1254
+ ],
1255
+ "isOptional": true,
1256
+ "returnTypeTokenRange": {
1257
+ "startIndex": 7,
1258
+ "endIndex": 8
1259
+ },
1260
+ "releaseTag": "Public",
1261
+ "overloadIndex": 1,
1262
+ "parameters": [
1263
+ {
1264
+ "parameterName": "fn",
1265
+ "parameterTypeTokenRange": {
1266
+ "startIndex": 1,
1267
+ "endIndex": 2
1268
+ },
1269
+ "isOptional": false
1270
+ },
1271
+ {
1272
+ "parameterName": "cases",
1273
+ "parameterTypeTokenRange": {
1274
+ "startIndex": 3,
1275
+ "endIndex": 6
1276
+ },
1277
+ "isOptional": false
1278
+ }
1279
+ ],
1280
+ "name": "runCases"
1281
+ }
1282
+ ],
1283
+ "extendsTokenRanges": []
1284
+ }
1285
+ ]
1286
+ }
1287
+ ]
1288
+ }