@teambit/mocha 1.0.158 → 1.0.159

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.
@@ -1,4 +1,4 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuites>
3
- <testsuite name="teambit.defender/mocha@1.0.158" tests="0" failures="0" errors="0" skipped="0"/>
2
+ <testsuites tests="0" failures="0" errors="0" skipped="0">
3
+ <testsuite name="teambit.defender/mocha@1.0.159" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.defender/mocha-preview"]=t():e["teambit.defender/mocha-preview"]=t()}(self,(()=>(()=>{"use strict";var e={41563:(e,t,o)=>{var r={id:"teambit.defender/mocha@1.0.158",homepage:"https://bit.cloud/teambit/defender/mocha",exported:!0};function n(){const e=i(o(87363));return n=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,n.__bit_component=r,i.__bit_component=r;const a=()=>n().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},n().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/mocha.svg"}));a.__bit_component=r,t.Logo=a},87363:e=>{e.exports=React}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return(()=>{o.r(r),o.d(r,{compositions:()=>f,compositions_metadata:()=>l,overview:()=>u});var e={};o.r(e),o.d(e,{default:()=>s});var t=o(41563);o(87363);const n=MdxJsReact,i=TeambitMdxUiMdxScopeContext;var a=["components"];function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},c.apply(this,arguments)}var p={},d="wrapper";function s(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,r,n=function(e,t){if(null==e)return{};var o,r,n={},i=Object.keys(e);for(r=0;r<i.length;r++)o=i[r],t.indexOf(o)>=0||(n[o]=e[o]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)o=i[r],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}(e,a);return(0,n.mdx)(d,c({},p,o,{components:t,mdxType:"MDXLayout"}),(0,n.mdx)(i.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}s.isMDXComponent=!0;const f=[t],u=[e],l={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),r})()));
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.defender/mocha-preview"]=t():e["teambit.defender/mocha-preview"]=t()}(self,(()=>(()=>{"use strict";var e={12808:(e,t,o)=>{var r={id:"teambit.defender/mocha@1.0.159",homepage:"https://bit.cloud/teambit/defender/mocha",exported:!0};function n(){const e=i(o(6376));return n=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,n.__bit_component=r,i.__bit_component=r;const a=()=>n().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},n().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/mocha.svg"}));a.__bit_component=r,t.Logo=a},6376:e=>{e.exports=React}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return(()=>{o.r(r),o.d(r,{compositions:()=>f,compositions_metadata:()=>l,overview:()=>u});var e={};o.r(e),o.d(e,{default:()=>s});var t=o(12808);o(6376);const n=MdxJsReact,i=TeambitMdxUiMdxScopeContext;var a=["components"];function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},c.apply(this,arguments)}var p={},d="wrapper";function s(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,r,n=function(e,t){if(null==e)return{};var o,r,n={},i=Object.keys(e);for(r=0;r<i.length;r++)o=i[r],t.indexOf(o)>=0||(n[o]=e[o]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)o=i[r],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}(e,a);return(0,n.mdx)(d,c({},p,o,{components:t,mdxType:"MDXLayout"}),(0,n.mdx)(i.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}s.isMDXComponent=!0;const f=[t],u=[e],l={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),r})()));
@@ -0,0 +1,642 @@
1
+ {
2
+ "__schema": "APISchema",
3
+ "location": {
4
+ "filePath": "index.ts",
5
+ "line": 1,
6
+ "character": 1
7
+ },
8
+ "module": {
9
+ "__schema": "ModuleSchema",
10
+ "location": {
11
+ "filePath": "index.ts",
12
+ "line": 1,
13
+ "character": 1
14
+ },
15
+ "exports": [
16
+ {
17
+ "__schema": "ClassSchema",
18
+ "location": {
19
+ "filePath": "mocha.main.runtime.ts",
20
+ "line": 8,
21
+ "character": 1
22
+ },
23
+ "signature": "class MochaMain",
24
+ "name": "MochaMain",
25
+ "members": [
26
+ {
27
+ "__schema": "ConstructorSchema",
28
+ "location": {
29
+ "filePath": "mocha.main.runtime.ts",
30
+ "line": 9,
31
+ "character": 3
32
+ },
33
+ "signature": "constructor MochaMain(logger: Logger): MochaMain",
34
+ "name": "constructor",
35
+ "params": [
36
+ {
37
+ "__schema": "ParameterSchema",
38
+ "location": {
39
+ "filePath": "mocha.main.runtime.ts",
40
+ "line": 9,
41
+ "character": 15
42
+ },
43
+ "name": "logger",
44
+ "type": {
45
+ "__schema": "TypeRefSchema",
46
+ "location": {
47
+ "filePath": "mocha.main.runtime.ts",
48
+ "line": 9,
49
+ "character": 31
50
+ },
51
+ "name": "Logger"
52
+ },
53
+ "isOptional": false,
54
+ "isSpread": false
55
+ }
56
+ ],
57
+ "returnType": {
58
+ "__schema": "ThisTypeSchema",
59
+ "location": {
60
+ "filePath": "mocha.main.runtime.ts",
61
+ "line": 8,
62
+ "character": 1
63
+ },
64
+ "name": "MochaMain"
65
+ },
66
+ "modifiers": []
67
+ },
68
+ {
69
+ "__schema": "FunctionLikeSchema",
70
+ "location": {
71
+ "filePath": "mocha.main.runtime.ts",
72
+ "line": 11,
73
+ "character": 3
74
+ },
75
+ "signature": "(method) MochaMain.createTester(mochaConfig?: Mocha.MochaOptions, babelConfig?: TransformOptions, mochaModule?: any): MochaTester",
76
+ "name": "createTester",
77
+ "params": [
78
+ {
79
+ "__schema": "ParameterSchema",
80
+ "location": {
81
+ "filePath": "mocha.main.runtime.ts",
82
+ "line": 12,
83
+ "character": 5
84
+ },
85
+ "name": "mochaConfig",
86
+ "type": {
87
+ "__schema": "TypeRefSchema",
88
+ "location": {
89
+ "filePath": "mocha.main.runtime.ts",
90
+ "line": 12,
91
+ "character": 18
92
+ },
93
+ "name": "Mocha.MochaOptions"
94
+ },
95
+ "isOptional": true,
96
+ "defaultValue": "{}",
97
+ "isSpread": false
98
+ },
99
+ {
100
+ "__schema": "ParameterSchema",
101
+ "location": {
102
+ "filePath": "mocha.main.runtime.ts",
103
+ "line": 13,
104
+ "character": 5
105
+ },
106
+ "name": "babelConfig",
107
+ "type": {
108
+ "__schema": "TypeRefSchema",
109
+ "location": {
110
+ "filePath": "mocha.main.runtime.ts",
111
+ "line": 13,
112
+ "character": 18
113
+ },
114
+ "name": "TransformOptions"
115
+ },
116
+ "isOptional": true,
117
+ "defaultValue": "{}",
118
+ "isSpread": false
119
+ },
120
+ {
121
+ "__schema": "ParameterSchema",
122
+ "location": {
123
+ "filePath": "mocha.main.runtime.ts",
124
+ "line": 15,
125
+ "character": 5
126
+ },
127
+ "name": "mochaModule",
128
+ "type": {
129
+ "__schema": "InferenceTypeSchema",
130
+ "location": {
131
+ "filePath": "mocha.main.runtime.ts",
132
+ "line": 15,
133
+ "character": 5
134
+ },
135
+ "type": "any"
136
+ },
137
+ "isOptional": true,
138
+ "defaultValue": "require('mocha')",
139
+ "isSpread": false
140
+ }
141
+ ],
142
+ "returnType": {
143
+ "__schema": "TypeRefSchema",
144
+ "location": {
145
+ "filePath": "mocha.main.runtime.ts",
146
+ "line": 11,
147
+ "character": 3
148
+ },
149
+ "name": "MochaTester",
150
+ "internalFilePath": "mocha.tester.ts"
151
+ },
152
+ "modifiers": []
153
+ },
154
+ {
155
+ "__schema": "VariableLikeSchema",
156
+ "location": {
157
+ "filePath": "mocha.main.runtime.ts",
158
+ "line": 20,
159
+ "character": 3
160
+ },
161
+ "signature": "(property) MochaMain.slots: never[]",
162
+ "name": "slots",
163
+ "type": {
164
+ "__schema": "InferenceTypeSchema",
165
+ "location": {
166
+ "filePath": "mocha.main.runtime.ts",
167
+ "line": 20,
168
+ "character": 3
169
+ },
170
+ "type": "never[]"
171
+ },
172
+ "isOptional": true,
173
+ "defaultValue": "[]"
174
+ },
175
+ {
176
+ "__schema": "VariableLikeSchema",
177
+ "location": {
178
+ "filePath": "mocha.main.runtime.ts",
179
+ "line": 21,
180
+ "character": 3
181
+ },
182
+ "signature": "(property) MochaMain.dependencies: Aspect[]",
183
+ "name": "dependencies",
184
+ "type": {
185
+ "__schema": "InferenceTypeSchema",
186
+ "location": {
187
+ "filePath": "mocha.main.runtime.ts",
188
+ "line": 21,
189
+ "character": 3
190
+ },
191
+ "type": "Aspect[]"
192
+ },
193
+ "isOptional": true,
194
+ "defaultValue": "[LoggerAspect]"
195
+ },
196
+ {
197
+ "__schema": "VariableLikeSchema",
198
+ "location": {
199
+ "filePath": "mocha.main.runtime.ts",
200
+ "line": 22,
201
+ "character": 3
202
+ },
203
+ "signature": "(property) MochaMain.runtime: RuntimeDefinition",
204
+ "name": "runtime",
205
+ "type": {
206
+ "__schema": "InferenceTypeSchema",
207
+ "location": {
208
+ "filePath": "mocha.main.runtime.ts",
209
+ "line": 22,
210
+ "character": 3
211
+ },
212
+ "type": "RuntimeDefinition"
213
+ },
214
+ "isOptional": true,
215
+ "defaultValue": "MainRuntime"
216
+ },
217
+ {
218
+ "__schema": "FunctionLikeSchema",
219
+ "location": {
220
+ "filePath": "mocha.main.runtime.ts",
221
+ "line": 23,
222
+ "character": 3
223
+ },
224
+ "signature": "(method) MochaMain.provider([loggerMain]: [LoggerMain]): Promise<MochaMain>",
225
+ "name": "provider",
226
+ "params": [
227
+ {
228
+ "__schema": "ParameterSchema",
229
+ "location": {
230
+ "filePath": "mocha.main.runtime.ts",
231
+ "line": 23,
232
+ "character": 25
233
+ },
234
+ "name": "[ loggerMain ]",
235
+ "type": {
236
+ "__schema": "TupleTypeSchema",
237
+ "location": {
238
+ "filePath": "mocha.main.runtime.ts",
239
+ "line": 23,
240
+ "character": 39
241
+ },
242
+ "elements": [
243
+ {
244
+ "__schema": "TypeRefSchema",
245
+ "location": {
246
+ "filePath": "mocha.main.runtime.ts",
247
+ "line": 23,
248
+ "character": 40
249
+ },
250
+ "name": "LoggerMain"
251
+ }
252
+ ]
253
+ },
254
+ "isOptional": false,
255
+ "isSpread": false
256
+ }
257
+ ],
258
+ "returnType": {
259
+ "__schema": "InferenceTypeSchema",
260
+ "location": {
261
+ "filePath": "mocha.main.runtime.ts",
262
+ "line": 23,
263
+ "character": 3
264
+ },
265
+ "type": "Promise<MochaMain>"
266
+ },
267
+ "modifiers": [
268
+ "static",
269
+ "async"
270
+ ]
271
+ }
272
+ ],
273
+ "extendsNodes": [],
274
+ "implementNodes": []
275
+ },
276
+ {
277
+ "__schema": "UnImplementedSchema",
278
+ "location": {
279
+ "filePath": "index.ts",
280
+ "line": 4,
281
+ "character": 16
282
+ },
283
+ "name": "MochaAspect",
284
+ "type": "Identifier"
285
+ },
286
+ {
287
+ "__schema": "VariableLikeSchema",
288
+ "location": {
289
+ "filePath": "mocha.aspect.ts",
290
+ "line": 3,
291
+ "character": 14
292
+ },
293
+ "signature": "const MochaAspect: Aspect",
294
+ "name": "MochaAspect",
295
+ "type": {
296
+ "__schema": "TypeRefSchema",
297
+ "location": {
298
+ "filePath": "mocha.aspect.ts",
299
+ "line": 3,
300
+ "character": 14
301
+ },
302
+ "name": "Aspect",
303
+ "componentId": {
304
+ "scope": "teambit.harmony",
305
+ "name": "harmony",
306
+ "version": "0.4.6"
307
+ }
308
+ },
309
+ "isOptional": false,
310
+ "defaultValue": "Aspect.create({\n id: 'teambit.defender/mocha',\n})"
311
+ }
312
+ ],
313
+ "internals": []
314
+ },
315
+ "internals": [
316
+ {
317
+ "__schema": "ModuleSchema",
318
+ "location": {
319
+ "filePath": "mocha.main.runtime.ts",
320
+ "line": 1,
321
+ "character": 1
322
+ },
323
+ "exports": [
324
+ {
325
+ "__schema": "ClassSchema",
326
+ "location": {
327
+ "filePath": "mocha.main.runtime.ts",
328
+ "line": 8,
329
+ "character": 1
330
+ },
331
+ "signature": "class MochaMain",
332
+ "name": "MochaMain",
333
+ "members": [
334
+ {
335
+ "__schema": "ConstructorSchema",
336
+ "location": {
337
+ "filePath": "mocha.main.runtime.ts",
338
+ "line": 9,
339
+ "character": 3
340
+ },
341
+ "signature": "constructor MochaMain(logger: Logger): MochaMain",
342
+ "name": "constructor",
343
+ "params": [
344
+ {
345
+ "__schema": "ParameterSchema",
346
+ "location": {
347
+ "filePath": "mocha.main.runtime.ts",
348
+ "line": 9,
349
+ "character": 15
350
+ },
351
+ "name": "logger",
352
+ "type": {
353
+ "__schema": "TypeRefSchema",
354
+ "location": {
355
+ "filePath": "mocha.main.runtime.ts",
356
+ "line": 9,
357
+ "character": 31
358
+ },
359
+ "name": "Logger"
360
+ },
361
+ "isOptional": false,
362
+ "isSpread": false
363
+ }
364
+ ],
365
+ "returnType": {
366
+ "__schema": "ThisTypeSchema",
367
+ "location": {
368
+ "filePath": "mocha.main.runtime.ts",
369
+ "line": 8,
370
+ "character": 1
371
+ },
372
+ "name": "MochaMain"
373
+ },
374
+ "modifiers": []
375
+ },
376
+ {
377
+ "__schema": "FunctionLikeSchema",
378
+ "location": {
379
+ "filePath": "mocha.main.runtime.ts",
380
+ "line": 11,
381
+ "character": 3
382
+ },
383
+ "signature": "(method) MochaMain.createTester(mochaConfig?: Mocha.MochaOptions, babelConfig?: TransformOptions, mochaModule?: any): MochaTester",
384
+ "name": "createTester",
385
+ "params": [
386
+ {
387
+ "__schema": "ParameterSchema",
388
+ "location": {
389
+ "filePath": "mocha.main.runtime.ts",
390
+ "line": 12,
391
+ "character": 5
392
+ },
393
+ "name": "mochaConfig",
394
+ "type": {
395
+ "__schema": "TypeRefSchema",
396
+ "location": {
397
+ "filePath": "mocha.main.runtime.ts",
398
+ "line": 12,
399
+ "character": 18
400
+ },
401
+ "name": "Mocha.MochaOptions"
402
+ },
403
+ "isOptional": true,
404
+ "defaultValue": "{}",
405
+ "isSpread": false
406
+ },
407
+ {
408
+ "__schema": "ParameterSchema",
409
+ "location": {
410
+ "filePath": "mocha.main.runtime.ts",
411
+ "line": 13,
412
+ "character": 5
413
+ },
414
+ "name": "babelConfig",
415
+ "type": {
416
+ "__schema": "TypeRefSchema",
417
+ "location": {
418
+ "filePath": "mocha.main.runtime.ts",
419
+ "line": 13,
420
+ "character": 18
421
+ },
422
+ "name": "TransformOptions"
423
+ },
424
+ "isOptional": true,
425
+ "defaultValue": "{}",
426
+ "isSpread": false
427
+ },
428
+ {
429
+ "__schema": "ParameterSchema",
430
+ "location": {
431
+ "filePath": "mocha.main.runtime.ts",
432
+ "line": 15,
433
+ "character": 5
434
+ },
435
+ "name": "mochaModule",
436
+ "type": {
437
+ "__schema": "InferenceTypeSchema",
438
+ "location": {
439
+ "filePath": "mocha.main.runtime.ts",
440
+ "line": 15,
441
+ "character": 5
442
+ },
443
+ "type": "any"
444
+ },
445
+ "isOptional": true,
446
+ "defaultValue": "require('mocha')",
447
+ "isSpread": false
448
+ }
449
+ ],
450
+ "returnType": {
451
+ "__schema": "TypeRefSchema",
452
+ "location": {
453
+ "filePath": "mocha.main.runtime.ts",
454
+ "line": 11,
455
+ "character": 3
456
+ },
457
+ "name": "MochaTester",
458
+ "internalFilePath": "mocha.tester.ts"
459
+ },
460
+ "modifiers": []
461
+ },
462
+ {
463
+ "__schema": "VariableLikeSchema",
464
+ "location": {
465
+ "filePath": "mocha.main.runtime.ts",
466
+ "line": 20,
467
+ "character": 3
468
+ },
469
+ "signature": "(property) MochaMain.slots: never[]",
470
+ "name": "slots",
471
+ "type": {
472
+ "__schema": "InferenceTypeSchema",
473
+ "location": {
474
+ "filePath": "mocha.main.runtime.ts",
475
+ "line": 20,
476
+ "character": 3
477
+ },
478
+ "type": "never[]"
479
+ },
480
+ "isOptional": true,
481
+ "defaultValue": "[]"
482
+ },
483
+ {
484
+ "__schema": "VariableLikeSchema",
485
+ "location": {
486
+ "filePath": "mocha.main.runtime.ts",
487
+ "line": 21,
488
+ "character": 3
489
+ },
490
+ "signature": "(property) MochaMain.dependencies: Aspect[]",
491
+ "name": "dependencies",
492
+ "type": {
493
+ "__schema": "InferenceTypeSchema",
494
+ "location": {
495
+ "filePath": "mocha.main.runtime.ts",
496
+ "line": 21,
497
+ "character": 3
498
+ },
499
+ "type": "Aspect[]"
500
+ },
501
+ "isOptional": true,
502
+ "defaultValue": "[LoggerAspect]"
503
+ },
504
+ {
505
+ "__schema": "VariableLikeSchema",
506
+ "location": {
507
+ "filePath": "mocha.main.runtime.ts",
508
+ "line": 22,
509
+ "character": 3
510
+ },
511
+ "signature": "(property) MochaMain.runtime: RuntimeDefinition",
512
+ "name": "runtime",
513
+ "type": {
514
+ "__schema": "InferenceTypeSchema",
515
+ "location": {
516
+ "filePath": "mocha.main.runtime.ts",
517
+ "line": 22,
518
+ "character": 3
519
+ },
520
+ "type": "RuntimeDefinition"
521
+ },
522
+ "isOptional": true,
523
+ "defaultValue": "MainRuntime"
524
+ },
525
+ {
526
+ "__schema": "FunctionLikeSchema",
527
+ "location": {
528
+ "filePath": "mocha.main.runtime.ts",
529
+ "line": 23,
530
+ "character": 3
531
+ },
532
+ "signature": "(method) MochaMain.provider([loggerMain]: [LoggerMain]): Promise<MochaMain>",
533
+ "name": "provider",
534
+ "params": [
535
+ {
536
+ "__schema": "ParameterSchema",
537
+ "location": {
538
+ "filePath": "mocha.main.runtime.ts",
539
+ "line": 23,
540
+ "character": 25
541
+ },
542
+ "name": "[ loggerMain ]",
543
+ "type": {
544
+ "__schema": "TupleTypeSchema",
545
+ "location": {
546
+ "filePath": "mocha.main.runtime.ts",
547
+ "line": 23,
548
+ "character": 39
549
+ },
550
+ "elements": [
551
+ {
552
+ "__schema": "TypeRefSchema",
553
+ "location": {
554
+ "filePath": "mocha.main.runtime.ts",
555
+ "line": 23,
556
+ "character": 40
557
+ },
558
+ "name": "LoggerMain"
559
+ }
560
+ ]
561
+ },
562
+ "isOptional": false,
563
+ "isSpread": false
564
+ }
565
+ ],
566
+ "returnType": {
567
+ "__schema": "InferenceTypeSchema",
568
+ "location": {
569
+ "filePath": "mocha.main.runtime.ts",
570
+ "line": 23,
571
+ "character": 3
572
+ },
573
+ "type": "Promise<MochaMain>"
574
+ },
575
+ "modifiers": [
576
+ "static",
577
+ "async"
578
+ ]
579
+ }
580
+ ],
581
+ "extendsNodes": [],
582
+ "implementNodes": []
583
+ }
584
+ ],
585
+ "internals": [
586
+ {
587
+ "__schema": "UnImplementedSchema",
588
+ "location": {
589
+ "filePath": "mocha.main.runtime.ts",
590
+ "line": 29,
591
+ "character": 1
592
+ },
593
+ "name": "MochaAspect.addRuntime(MochaMain);",
594
+ "type": "ExpressionStatement"
595
+ }
596
+ ]
597
+ },
598
+ {
599
+ "__schema": "ModuleSchema",
600
+ "location": {
601
+ "filePath": "mocha.aspect.ts",
602
+ "line": 1,
603
+ "character": 1
604
+ },
605
+ "exports": [
606
+ {
607
+ "__schema": "VariableLikeSchema",
608
+ "location": {
609
+ "filePath": "mocha.aspect.ts",
610
+ "line": 3,
611
+ "character": 14
612
+ },
613
+ "signature": "const MochaAspect: Aspect",
614
+ "name": "MochaAspect",
615
+ "type": {
616
+ "__schema": "TypeRefSchema",
617
+ "location": {
618
+ "filePath": "mocha.aspect.ts",
619
+ "line": 3,
620
+ "character": 14
621
+ },
622
+ "name": "Aspect",
623
+ "componentId": {
624
+ "scope": "teambit.harmony",
625
+ "name": "harmony",
626
+ "version": "0.4.6"
627
+ }
628
+ },
629
+ "isOptional": false,
630
+ "defaultValue": "Aspect.create({\n id: 'teambit.defender/mocha',\n})"
631
+ }
632
+ ],
633
+ "internals": []
634
+ }
635
+ ],
636
+ "componentId": {
637
+ "scope": "teambit.defender",
638
+ "name": "mocha",
639
+ "version": "1.0.159"
640
+ },
641
+ "taggedModuleExports": []
642
+ }
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.defender_mocha@1.0.158/dist/mocha.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.defender_mocha@1.0.158/dist/mocha.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.defender_mocha@1.0.159/dist/mocha.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.defender_mocha@1.0.159/dist/mocha.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/mocha",
3
- "version": "1.0.158",
3
+ "version": "1.0.159",
4
4
  "homepage": "https://bit.cloud/teambit/defender/mocha",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.defender",
8
8
  "name": "mocha",
9
- "version": "1.0.158"
9
+ "version": "1.0.159"
10
10
  },
11
11
  "dependencies": {
12
12
  "@babel/core": "7.19.6",
@@ -15,15 +15,15 @@
15
15
  "p-map-series": "2.1.0",
16
16
  "@teambit/harmony": "0.4.6",
17
17
  "@teambit/tests-results": "1.0.4",
18
- "@teambit/cli": "0.0.850",
19
- "@teambit/logger": "0.0.943",
20
- "@teambit/tester": "1.0.158"
18
+ "@teambit/cli": "0.0.851",
19
+ "@teambit/logger": "0.0.944",
20
+ "@teambit/tester": "1.0.159"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@types/mocha": "9.1.0",
24
24
  "@types/lodash": "4.14.165",
25
25
  "chai": "4.3.0",
26
- "@teambit/harmony.envs.core-aspect-env": "0.0.24"
26
+ "@teambit/harmony.envs.core-aspect-env": "0.0.25"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "react": "^17.0.0 || ^18.0.0",