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