@teambit/multi-tester 1.0.509 → 1.0.511

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/multi-tester@1.0.509" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.defender/multi-tester@1.0.511" 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/multi-tester-preview"]=t():e["teambit.defender/multi-tester-preview"]=t()}(self,(()=>(()=>{"use strict";var e={86:(e,t,n)=>{Object.defineProperty(t,"Ay",{enumerable:!0,get:function(){return r.default}});var r=o(n(674));function o(e){return e&&e.__esModule?e:{default:e}}o.__bit_component={id:"teambit.defender/content/tester-overview@1.95.0",homepage:"https://bit.dev/teambit/defender/content/tester-overview",exported:!0}},674:(e,t,n)=>{var r={id:"teambit.defender/content/tester-overview@1.95.0",homepage:"https://bit.dev/teambit/defender/content/tester-overview",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=c,s(n(594));var o=n(16),i=n(682),a=["components"];function s(e){return e&&e.__esModule?e:{default:e}}function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}function d(e,t){if(null==e)return{};var n,r,o=l(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function l(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}s.__bit_component=r,p.__bit_component=r,d.__bit_component=r,l.__bit_component=r;var m={},u="wrapper";function c(e){var t=e.components,n=d(e,a);return(0,o.mdx)(u,p({},m,n,{components:t,mdxType:"MDXLayout"}),(0,o.mdx)(i.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"},(0,o.mdx)("h1",null,"Tester Overview"),(0,o.mdx)("p",null,"The ",(0,o.mdx)("em",{parentName:"p"},"Tester")," provides a unified interface for testing components regardless of the specific tester they use."),(0,o.mdx)("p",null,"Software testing is a way to validate that an application or a module of it, behaves as expected."),(0,o.mdx)("p",null,"Web applications and services are often tested using a set of testing tools, where each tool plays a different role. For example, ",(0,o.mdx)("a",{parentName:"p",href:"https://jestjs.io/"},"Jest")," can be used as a test runner and as an assertion library, while ",(0,o.mdx)("a",{parentName:"p",href:"https://testing-library.com/"},"React Testing Library")," can be used for testing utilities."),(0,o.mdx)("p",null,"The Tester aspect is responsible for standardizing test execution for components; That is, it standardizes the way test runners are used. Other testing libraries used for utils, mocks, etc., are irrelevant, in that sense."),(0,o.mdx)("p",null,"Standardization is done for component testing during development (in the workspace) as well as for distribution (in a capsule ",", as part of the component ",(0,o.mdx)("a",{parentName:"p",href:"/builder/build-pipelines"},"build pipeline"),")."),(0,o.mdx)("h2",null,"Testing in development"),(0,o.mdx)("p",null,"Bit tests all components in the ",(0,o.mdx)("a",{parentName:"p",href:"/workspace/overview"},"Workspace")," using just a single command. That is true for components of all types, regardless of their specific ",(0,o.mdx)("a",{parentName:"p",href:"/envs/overview"},"Env"),", and as a consequence of that, their specific ",(0,o.mdx)("a",{parentName:"p",href:"/tester/overview"},"Tester implementation")," and configuration."),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},"bit test\n")),(0,o.mdx)("p",null,"Components can be watched for changes and retested with a single command, as well."),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},"bit test -w\n")),(0,o.mdx)("p",null,"To learn more on testing during development, please refer to ",(0,o.mdx)("a",{parentName:"p",href:"/tester/workspace-testing"},"Workspace Testing"),"."),(0,o.mdx)("h2",null,"Testing during build"),(0,o.mdx)("p",null,"Testing components for distribution is done during ",(0,o.mdx)("inlineCode",{parentName:"p"},"build")," by the Bit ",(0,o.mdx)("a",{parentName:"p",href:"/builder/overview"},"Builder"),"."),(0,o.mdx)("p",null,"Component build can be simulated with ",(0,o.mdx)("inlineCode",{parentName:"p"},"bit build")," and done through ",(0,o.mdx)("a",{parentName:"p",href:"/components/tags"},"Tag")," or ",(0,o.mdx)("a",{parentName:"p",href:"/components/snaps"},"Snap")),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},"bit build\n")),(0,o.mdx)("p",null,"By default, Bit's pre-configured Envs includes a ",(0,o.mdx)("a",{parentName:"p",href:"/builder/overview#build-task"},"Build Task")," for testing components in the ",(0,o.mdx)("a",{parentName:"p",href:"/builder/build-pipelines"},"Build Pipeline"),", each using the Env's specific test configs."),(0,o.mdx)("p",null,"Testing during build provides the highest \"external validity\" by running tests on the distributable code that was generated by the Env's compiler and not by the tester's.\nThat way, the exact same code that will be consumed by other components, is tested before it is released. Moreover, since each component is tested in a capsule ",", isolated from the rest of the workspace, tests are guaranteed to provide results that are context-agnostic and free of false-positives."),(0,o.mdx)("h2",null,"Configuring and implementing Testers"),(0,o.mdx)("p",null,"Testers are configured in the ",(0,o.mdx)("a",{parentName:"p",href:"/envs/overview"},"Env")," which is configured on your ",(0,o.mdx)("a",{parentName:"p",href:"/components/overview"},"Component"),". Customizing the Tester can be done by ",(0,o.mdx)("a",{parentName:"p",href:"/envs/services/testing"},"customizing an existing env with your tester")," or by ",(0,o.mdx)("a",{parentName:"p",href:"/envs/customizing-env"},"implementing your own Env"),"."),(0,o.mdx)("p",null,"Tester can also be implemented into Bit through few interfaces. \x3c!--TODO For more information on implementing your own compiler please refer to ",(0,o.mdx)("a",{parentName:"p",href:"/"},"Implement a Compiler"),".")))}c.__bit_component=r,c.isMDXComponent=!0},43:(e,t,n)=>{var r={id:"teambit.defender/multi-tester@1.0.509",homepage:"https://bit.cloud/teambit/defender/multi-tester",exported:!0};function o(){const e=i(n(594));return o=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,o.__bit_component=r,i.__bit_component=r;const a=()=>o().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},o().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/tester.svg"}));a.__bit_component=r,t.Logo=a},16:e=>{e.exports=MdxJsReact},594:e=>{e.exports=React},682:e=>{e.exports=TeambitMdxUiMdxScopeContext}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};n.r(r),n.d(r,{compositions:()=>f,compositions_metadata:()=>v,overview:()=>b});var o={};n.r(o),n.d(o,{default:()=>c});var i=n(43),a=(n(594),n(16)),s=n(682),p=n(86),d=["components"];function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(null,arguments)}var m={},u="wrapper";function c(e){var t=e.components,n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,d);return(0,a.mdx)(u,l({},m,n,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)(s.MDXScopeProvider,{components:{TesterOverview:p.Ay},mdxType:"MDXScopeProvider"},(0,a.mdx)(p.Ay,{mdxType:"TesterOverview"})))}c.isMDXComponent=!0;const f=[i],b=[o],v={compositions:[{displayName:"Logo",identifier:"Logo"}]};return 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/multi-tester-preview"]=t():e["teambit.defender/multi-tester-preview"]=t()}(self,(()=>(()=>{"use strict";var e={86:(e,t,n)=>{Object.defineProperty(t,"Ay",{enumerable:!0,get:function(){return r.default}});var r=o(n(674));function o(e){return e&&e.__esModule?e:{default:e}}o.__bit_component={id:"teambit.defender/content/tester-overview@1.95.0",homepage:"https://bit.dev/teambit/defender/content/tester-overview",exported:!0}},674:(e,t,n)=>{var r={id:"teambit.defender/content/tester-overview@1.95.0",homepage:"https://bit.dev/teambit/defender/content/tester-overview",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=c,s(n(594));var o=n(16),i=n(682),a=["components"];function s(e){return e&&e.__esModule?e:{default:e}}function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}function d(e,t){if(null==e)return{};var n,r,o=l(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function l(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}s.__bit_component=r,p.__bit_component=r,d.__bit_component=r,l.__bit_component=r;var m={},u="wrapper";function c(e){var t=e.components,n=d(e,a);return(0,o.mdx)(u,p({},m,n,{components:t,mdxType:"MDXLayout"}),(0,o.mdx)(i.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"},(0,o.mdx)("h1",null,"Tester Overview"),(0,o.mdx)("p",null,"The ",(0,o.mdx)("em",{parentName:"p"},"Tester")," provides a unified interface for testing components regardless of the specific tester they use."),(0,o.mdx)("p",null,"Software testing is a way to validate that an application or a module of it, behaves as expected."),(0,o.mdx)("p",null,"Web applications and services are often tested using a set of testing tools, where each tool plays a different role. For example, ",(0,o.mdx)("a",{parentName:"p",href:"https://jestjs.io/"},"Jest")," can be used as a test runner and as an assertion library, while ",(0,o.mdx)("a",{parentName:"p",href:"https://testing-library.com/"},"React Testing Library")," can be used for testing utilities."),(0,o.mdx)("p",null,"The Tester aspect is responsible for standardizing test execution for components; That is, it standardizes the way test runners are used. Other testing libraries used for utils, mocks, etc., are irrelevant, in that sense."),(0,o.mdx)("p",null,"Standardization is done for component testing during development (in the workspace) as well as for distribution (in a capsule ",", as part of the component ",(0,o.mdx)("a",{parentName:"p",href:"/builder/build-pipelines"},"build pipeline"),")."),(0,o.mdx)("h2",null,"Testing in development"),(0,o.mdx)("p",null,"Bit tests all components in the ",(0,o.mdx)("a",{parentName:"p",href:"/workspace/overview"},"Workspace")," using just a single command. That is true for components of all types, regardless of their specific ",(0,o.mdx)("a",{parentName:"p",href:"/envs/overview"},"Env"),", and as a consequence of that, their specific ",(0,o.mdx)("a",{parentName:"p",href:"/tester/overview"},"Tester implementation")," and configuration."),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},"bit test\n")),(0,o.mdx)("p",null,"Components can be watched for changes and retested with a single command, as well."),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},"bit test -w\n")),(0,o.mdx)("p",null,"To learn more on testing during development, please refer to ",(0,o.mdx)("a",{parentName:"p",href:"/tester/workspace-testing"},"Workspace Testing"),"."),(0,o.mdx)("h2",null,"Testing during build"),(0,o.mdx)("p",null,"Testing components for distribution is done during ",(0,o.mdx)("inlineCode",{parentName:"p"},"build")," by the Bit ",(0,o.mdx)("a",{parentName:"p",href:"/builder/overview"},"Builder"),"."),(0,o.mdx)("p",null,"Component build can be simulated with ",(0,o.mdx)("inlineCode",{parentName:"p"},"bit build")," and done through ",(0,o.mdx)("a",{parentName:"p",href:"/components/tags"},"Tag")," or ",(0,o.mdx)("a",{parentName:"p",href:"/components/snaps"},"Snap")),(0,o.mdx)("pre",null,(0,o.mdx)("code",{parentName:"pre",className:"language-bash"},"bit build\n")),(0,o.mdx)("p",null,"By default, Bit's pre-configured Envs includes a ",(0,o.mdx)("a",{parentName:"p",href:"/builder/overview#build-task"},"Build Task")," for testing components in the ",(0,o.mdx)("a",{parentName:"p",href:"/builder/build-pipelines"},"Build Pipeline"),", each using the Env's specific test configs."),(0,o.mdx)("p",null,"Testing during build provides the highest \"external validity\" by running tests on the distributable code that was generated by the Env's compiler and not by the tester's.\nThat way, the exact same code that will be consumed by other components, is tested before it is released. Moreover, since each component is tested in a capsule ",", isolated from the rest of the workspace, tests are guaranteed to provide results that are context-agnostic and free of false-positives."),(0,o.mdx)("h2",null,"Configuring and implementing Testers"),(0,o.mdx)("p",null,"Testers are configured in the ",(0,o.mdx)("a",{parentName:"p",href:"/envs/overview"},"Env")," which is configured on your ",(0,o.mdx)("a",{parentName:"p",href:"/components/overview"},"Component"),". Customizing the Tester can be done by ",(0,o.mdx)("a",{parentName:"p",href:"/envs/services/testing"},"customizing an existing env with your tester")," or by ",(0,o.mdx)("a",{parentName:"p",href:"/envs/customizing-env"},"implementing your own Env"),"."),(0,o.mdx)("p",null,"Tester can also be implemented into Bit through few interfaces. \x3c!--TODO For more information on implementing your own compiler please refer to ",(0,o.mdx)("a",{parentName:"p",href:"/"},"Implement a Compiler"),".")))}c.__bit_component=r,c.isMDXComponent=!0},746:(e,t,n)=>{var r={id:"teambit.defender/multi-tester@1.0.511",homepage:"https://bit.cloud/teambit/defender/multi-tester",exported:!0};function o(){const e=i(n(594));return o=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,o.__bit_component=r,i.__bit_component=r;const a=()=>o().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},o().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/tester.svg"}));a.__bit_component=r,t.Logo=a},16:e=>{e.exports=MdxJsReact},594:e=>{e.exports=React},682:e=>{e.exports=TeambitMdxUiMdxScopeContext}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};n.r(r),n.d(r,{compositions:()=>f,compositions_metadata:()=>v,overview:()=>b});var o={};n.r(o),n.d(o,{default:()=>c});var i=n(746),a=(n(594),n(16)),s=n(682),p=n(86),d=["components"];function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(null,arguments)}var m={},u="wrapper";function c(e){var t=e.components,n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,d);return(0,a.mdx)(u,l({},m,n,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)(s.MDXScopeProvider,{components:{TesterOverview:p.Ay},mdxType:"MDXScopeProvider"},(0,a.mdx)(p.Ay,{mdxType:"TesterOverview"})))}c.isMDXComponent=!0;const f=[i],b=[o],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_multi-tester@1.0.509/dist/multi-tester.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.defender_multi-tester@1.0.509/dist/multi-tester.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.defender_multi-tester@1.0.511/dist/multi-tester.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.defender_multi-tester@1.0.511/dist/multi-tester.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
package/package.json CHANGED
@@ -1,22 +1,22 @@
1
1
  {
2
2
  "name": "@teambit/multi-tester",
3
- "version": "1.0.509",
3
+ "version": "1.0.511",
4
4
  "homepage": "https://bit.cloud/teambit/defender/multi-tester",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.defender",
8
8
  "name": "multi-tester",
9
- "version": "1.0.509"
9
+ "version": "1.0.511"
10
10
  },
11
11
  "dependencies": {
12
12
  "lodash": "4.17.21",
13
13
  "p-map-series": "2.1.0",
14
14
  "@teambit/harmony": "0.4.6",
15
15
  "@teambit/tests-results": "1.0.5",
16
- "@teambit/cli": "0.0.1086",
17
- "@teambit/legacy.constants": "0.0.4",
18
- "@teambit/logger": "0.0.1179",
19
- "@teambit/tester": "1.0.509"
16
+ "@teambit/cli": "0.0.1088",
17
+ "@teambit/legacy.constants": "0.0.5",
18
+ "@teambit/logger": "0.0.1181",
19
+ "@teambit/tester": "1.0.511"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@types/lodash": "4.14.165",
@@ -1,1267 +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": 10
22
- },
23
- "signature": "const MultiTesterAspect: Aspect",
24
- "name": "MultiTesterAspect",
25
- "exportNode": {
26
- "__schema": "VariableLikeSchema",
27
- "location": {
28
- "filePath": "multi-tester.aspect.ts",
29
- "line": 3,
30
- "character": 14
31
- },
32
- "signature": "const MultiTesterAspect: Aspect",
33
- "name": "MultiTesterAspect",
34
- "type": {
35
- "__schema": "TypeRefSchema",
36
- "location": {
37
- "filePath": "multi-tester.aspect.ts",
38
- "line": 3,
39
- "character": 14
40
- },
41
- "name": "Aspect",
42
- "componentId": {
43
- "scope": "teambit.harmony",
44
- "name": "harmony",
45
- "version": "0.4.6"
46
- }
47
- },
48
- "isOptional": false,
49
- "defaultValue": "Aspect.create({\n id: 'teambit.defender/multi-tester',\n})"
50
- }
51
- },
52
- {
53
- "__schema": "ExportSchema",
54
- "location": {
55
- "filePath": "index.ts",
56
- "line": 4,
57
- "character": 15
58
- },
59
- "signature": "class MultiTesterMain",
60
- "name": "MultiTesterMain",
61
- "exportNode": {
62
- "__schema": "ClassSchema",
63
- "location": {
64
- "filePath": "multi-tester.main.runtime.ts",
65
- "line": 8,
66
- "character": 1
67
- },
68
- "signature": "class MultiTesterMain",
69
- "name": "MultiTesterMain",
70
- "members": [
71
- {
72
- "__schema": "ConstructorSchema",
73
- "location": {
74
- "filePath": "multi-tester.main.runtime.ts",
75
- "line": 9,
76
- "character": 3
77
- },
78
- "signature": "constructor MultiTesterMain(logger: Logger): MultiTesterMain",
79
- "name": "constructor",
80
- "params": [
81
- {
82
- "__schema": "ParameterSchema",
83
- "location": {
84
- "filePath": "multi-tester.main.runtime.ts",
85
- "line": 9,
86
- "character": 15
87
- },
88
- "name": "logger",
89
- "type": {
90
- "__schema": "TypeRefSchema",
91
- "location": {
92
- "filePath": "multi-tester.main.runtime.ts",
93
- "line": 9,
94
- "character": 31
95
- },
96
- "name": "Logger"
97
- },
98
- "isOptional": false,
99
- "isSpread": false
100
- }
101
- ],
102
- "returnType": {
103
- "__schema": "ThisTypeSchema",
104
- "location": {
105
- "filePath": "multi-tester.main.runtime.ts",
106
- "line": 8,
107
- "character": 1
108
- },
109
- "name": "MultiTesterMain"
110
- },
111
- "modifiers": []
112
- },
113
- {
114
- "__schema": "FunctionLikeSchema",
115
- "location": {
116
- "filePath": "multi-tester.main.runtime.ts",
117
- "line": 17,
118
- "character": 3
119
- },
120
- "doc": {
121
- "__schema": "DocSchema",
122
- "location": {
123
- "filePath": "multi-tester.main.runtime.ts",
124
- "line": 11,
125
- "character": 3
126
- },
127
- "raw": "/**\n *\n * @deprecated use jest tester from https://bit.cloud/teambit/defender/testers/multi-tester\n * create a multi-tester `Tester` instance.\n * @param testers list of testers to include.\n */",
128
- "comment": "",
129
- "tags": [
130
- {
131
- "__schema": "TagSchema",
132
- "location": {
133
- "filePath": "multi-tester.main.runtime.ts",
134
- "line": 13,
135
- "character": 6
136
- },
137
- "tagName": "deprecated",
138
- "comment": "use jest tester from https://bit.cloud/teambit/defender/testers/multi-tester\ncreate a multi-tester `Tester` instance."
139
- },
140
- {
141
- "__schema": "PropertyLikeTagSchema",
142
- "location": {
143
- "filePath": "multi-tester.main.runtime.ts",
144
- "line": 15,
145
- "character": 6
146
- },
147
- "name": "testers",
148
- "tagName": "parameter",
149
- "comment": "list of testers to include."
150
- }
151
- ]
152
- },
153
- "signature": "(method) MultiTesterMain.createTester(testers: Tester[]): MultiTester",
154
- "name": "createTester",
155
- "params": [
156
- {
157
- "__schema": "ParameterSchema",
158
- "location": {
159
- "filePath": "multi-tester.main.runtime.ts",
160
- "line": 17,
161
- "character": 16
162
- },
163
- "name": "testers",
164
- "type": {
165
- "__schema": "TypeArraySchema",
166
- "location": {
167
- "filePath": "multi-tester.main.runtime.ts",
168
- "line": 17,
169
- "character": 25
170
- },
171
- "type": {
172
- "__schema": "TypeRefSchema",
173
- "location": {
174
- "filePath": "multi-tester.main.runtime.ts",
175
- "line": 17,
176
- "character": 25
177
- },
178
- "name": "Tester"
179
- }
180
- },
181
- "isOptional": false,
182
- "isSpread": false
183
- }
184
- ],
185
- "returnType": {
186
- "__schema": "TypeRefSchema",
187
- "location": {
188
- "filePath": "multi-tester.main.runtime.ts",
189
- "line": 17,
190
- "character": 3
191
- },
192
- "name": "MultiTester"
193
- },
194
- "modifiers": []
195
- },
196
- {
197
- "__schema": "VariableLikeSchema",
198
- "location": {
199
- "filePath": "multi-tester.main.runtime.ts",
200
- "line": 24,
201
- "character": 3
202
- },
203
- "signature": "(property) MultiTesterMain.runtime: RuntimeDefinition",
204
- "name": "runtime",
205
- "type": {
206
- "__schema": "InferenceTypeSchema",
207
- "location": {
208
- "filePath": "multi-tester.main.runtime.ts",
209
- "line": 24,
210
- "character": 3
211
- },
212
- "type": "RuntimeDefinition"
213
- },
214
- "isOptional": true,
215
- "defaultValue": "MainRuntime"
216
- },
217
- {
218
- "__schema": "VariableLikeSchema",
219
- "location": {
220
- "filePath": "multi-tester.main.runtime.ts",
221
- "line": 25,
222
- "character": 3
223
- },
224
- "signature": "(property) MultiTesterMain.dependencies: Aspect[]",
225
- "name": "dependencies",
226
- "type": {
227
- "__schema": "InferenceTypeSchema",
228
- "location": {
229
- "filePath": "multi-tester.main.runtime.ts",
230
- "line": 25,
231
- "character": 3
232
- },
233
- "type": "Aspect[]"
234
- },
235
- "isOptional": true,
236
- "defaultValue": "[LoggerAspect]"
237
- },
238
- {
239
- "__schema": "FunctionLikeSchema",
240
- "location": {
241
- "filePath": "multi-tester.main.runtime.ts",
242
- "line": 27,
243
- "character": 3
244
- },
245
- "signature": "(method) MultiTesterMain.provider([loggerAspect]: [LoggerMain]): Promise<MultiTesterMain>",
246
- "name": "provider",
247
- "params": [
248
- {
249
- "__schema": "ParameterSchema",
250
- "location": {
251
- "filePath": "multi-tester.main.runtime.ts",
252
- "line": 27,
253
- "character": 25
254
- },
255
- "name": "[ loggerAspect ]",
256
- "type": {
257
- "__schema": "TupleTypeSchema",
258
- "location": {
259
- "filePath": "multi-tester.main.runtime.ts",
260
- "line": 27,
261
- "character": 41
262
- },
263
- "elements": [
264
- {
265
- "__schema": "TypeRefSchema",
266
- "location": {
267
- "filePath": "multi-tester.main.runtime.ts",
268
- "line": 27,
269
- "character": 42
270
- },
271
- "name": "LoggerMain"
272
- }
273
- ]
274
- },
275
- "isOptional": false,
276
- "isSpread": false
277
- }
278
- ],
279
- "returnType": {
280
- "__schema": "InferenceTypeSchema",
281
- "location": {
282
- "filePath": "multi-tester.main.runtime.ts",
283
- "line": 27,
284
- "character": 3
285
- },
286
- "type": "Promise<MultiTesterMain>"
287
- },
288
- "modifiers": [
289
- "static",
290
- "async"
291
- ]
292
- }
293
- ],
294
- "extendsNodes": [],
295
- "implementNodes": []
296
- }
297
- },
298
- {
299
- "__schema": "ExportSchema",
300
- "location": {
301
- "filePath": "index.ts",
302
- "line": 5,
303
- "character": 15
304
- },
305
- "signature": "class MultiTester",
306
- "name": "MultiTester",
307
- "exportNode": {
308
- "__schema": "ClassSchema",
309
- "location": {
310
- "filePath": "multi-tester.tester.ts",
311
- "line": 10,
312
- "character": 1
313
- },
314
- "signature": "class MultiTester",
315
- "name": "MultiTester",
316
- "members": [
317
- {
318
- "__schema": "VariableLikeSchema",
319
- "location": {
320
- "filePath": "multi-tester.tester.ts",
321
- "line": 11,
322
- "character": 3
323
- },
324
- "signature": "(property) MultiTester.displayName: string",
325
- "name": "displayName",
326
- "type": {
327
- "__schema": "InferenceTypeSchema",
328
- "location": {
329
- "filePath": "multi-tester.tester.ts",
330
- "line": 11,
331
- "character": 3
332
- },
333
- "type": "string"
334
- },
335
- "isOptional": true,
336
- "defaultValue": "'Multi tester'"
337
- },
338
- {
339
- "__schema": "ConstructorSchema",
340
- "location": {
341
- "filePath": "multi-tester.tester.ts",
342
- "line": 13,
343
- "character": 3
344
- },
345
- "signature": "constructor MultiTester(id: string, testers: Tester[]): MultiTester",
346
- "name": "constructor",
347
- "params": [
348
- {
349
- "__schema": "ParameterSchema",
350
- "location": {
351
- "filePath": "multi-tester.tester.ts",
352
- "line": 14,
353
- "character": 5
354
- },
355
- "name": "id",
356
- "type": {
357
- "__schema": "KeywordTypeSchema",
358
- "location": {
359
- "filePath": "multi-tester.tester.ts",
360
- "line": 14,
361
- "character": 18
362
- },
363
- "name": "string"
364
- },
365
- "isOptional": false,
366
- "isSpread": false
367
- },
368
- {
369
- "__schema": "ParameterSchema",
370
- "location": {
371
- "filePath": "multi-tester.tester.ts",
372
- "line": 15,
373
- "character": 5
374
- },
375
- "name": "testers",
376
- "type": {
377
- "__schema": "TypeArraySchema",
378
- "location": {
379
- "filePath": "multi-tester.tester.ts",
380
- "line": 15,
381
- "character": 23
382
- },
383
- "type": {
384
- "__schema": "TypeRefSchema",
385
- "location": {
386
- "filePath": "multi-tester.tester.ts",
387
- "line": 15,
388
- "character": 23
389
- },
390
- "name": "Tester"
391
- }
392
- },
393
- "isOptional": false,
394
- "isSpread": false
395
- }
396
- ],
397
- "returnType": {
398
- "__schema": "ThisTypeSchema",
399
- "location": {
400
- "filePath": "multi-tester.tester.ts",
401
- "line": 10,
402
- "character": 1
403
- },
404
- "name": "MultiTester"
405
- },
406
- "modifiers": []
407
- },
408
- {
409
- "__schema": "FunctionLikeSchema",
410
- "location": {
411
- "filePath": "multi-tester.tester.ts",
412
- "line": 18,
413
- "character": 3
414
- },
415
- "signature": "(method) MultiTester.displayConfig(): string",
416
- "name": "displayConfig",
417
- "params": [],
418
- "returnType": {
419
- "__schema": "InferenceTypeSchema",
420
- "location": {
421
- "filePath": "multi-tester.tester.ts",
422
- "line": 18,
423
- "character": 3
424
- },
425
- "type": "string"
426
- },
427
- "modifiers": []
428
- },
429
- {
430
- "__schema": "FunctionLikeSchema",
431
- "location": {
432
- "filePath": "multi-tester.tester.ts",
433
- "line": 26,
434
- "character": 3
435
- },
436
- "signature": "(method) MultiTester.test(context: TesterContext): Promise<Tests>",
437
- "name": "test",
438
- "params": [
439
- {
440
- "__schema": "ParameterSchema",
441
- "location": {
442
- "filePath": "multi-tester.tester.ts",
443
- "line": 26,
444
- "character": 14
445
- },
446
- "name": "context",
447
- "type": {
448
- "__schema": "TypeRefSchema",
449
- "location": {
450
- "filePath": "multi-tester.tester.ts",
451
- "line": 26,
452
- "character": 23
453
- },
454
- "name": "TesterContext"
455
- },
456
- "isOptional": false,
457
- "isSpread": false
458
- }
459
- ],
460
- "returnType": {
461
- "__schema": "TypeRefSchema",
462
- "location": {
463
- "filePath": "multi-tester.tester.ts",
464
- "line": 26,
465
- "character": 39
466
- },
467
- "name": "Promise",
468
- "typeArgs": [
469
- {
470
- "__schema": "TypeRefSchema",
471
- "location": {
472
- "filePath": "multi-tester.tester.ts",
473
- "line": 26,
474
- "character": 47
475
- },
476
- "name": "Tests"
477
- }
478
- ]
479
- },
480
- "modifiers": [
481
- "async"
482
- ]
483
- },
484
- {
485
- "__schema": "FunctionLikeSchema",
486
- "location": {
487
- "filePath": "multi-tester.tester.ts",
488
- "line": 35,
489
- "character": 3
490
- },
491
- "signature": "(method) MultiTester.watch(context: TesterContext): Promise<Tests>",
492
- "name": "watch",
493
- "params": [
494
- {
495
- "__schema": "ParameterSchema",
496
- "location": {
497
- "filePath": "multi-tester.tester.ts",
498
- "line": 35,
499
- "character": 15
500
- },
501
- "name": "context",
502
- "type": {
503
- "__schema": "TypeRefSchema",
504
- "location": {
505
- "filePath": "multi-tester.tester.ts",
506
- "line": 35,
507
- "character": 24
508
- },
509
- "name": "TesterContext"
510
- },
511
- "isOptional": false,
512
- "isSpread": false
513
- }
514
- ],
515
- "returnType": {
516
- "__schema": "TypeRefSchema",
517
- "location": {
518
- "filePath": "multi-tester.tester.ts",
519
- "line": 35,
520
- "character": 40
521
- },
522
- "name": "Promise",
523
- "typeArgs": [
524
- {
525
- "__schema": "TypeRefSchema",
526
- "location": {
527
- "filePath": "multi-tester.tester.ts",
528
- "line": 35,
529
- "character": 48
530
- },
531
- "name": "Tests"
532
- }
533
- ]
534
- },
535
- "modifiers": [
536
- "async"
537
- ]
538
- },
539
- {
540
- "__schema": "FunctionLikeSchema",
541
- "location": {
542
- "filePath": "multi-tester.tester.ts",
543
- "line": 46,
544
- "character": 3
545
- },
546
- "doc": {
547
- "__schema": "DocSchema",
548
- "location": {
549
- "filePath": "multi-tester.tester.ts",
550
- "line": 43,
551
- "character": 3
552
- },
553
- "raw": "/**\n * returns the version of all testers instance (e.g. '4.0.1').\n */",
554
- "comment": "returns the version of all testers instance (e.g. '4.0.1').",
555
- "tags": []
556
- },
557
- "signature": "(method) MultiTester.version(): string",
558
- "name": "version",
559
- "params": [],
560
- "returnType": {
561
- "__schema": "KeywordTypeSchema",
562
- "location": {
563
- "filePath": "multi-tester.tester.ts",
564
- "line": 46,
565
- "character": 14
566
- },
567
- "name": "string"
568
- },
569
- "modifiers": []
570
- }
571
- ],
572
- "extendsNodes": [],
573
- "implementNodes": [
574
- {
575
- "__schema": "ExpressionWithTypeArgumentsSchema",
576
- "location": {
577
- "filePath": "multi-tester.tester.ts",
578
- "line": 10,
579
- "character": 37
580
- },
581
- "name": "implements Tester",
582
- "typeArgs": [],
583
- "expression": {
584
- "__schema": "TypeRefSchema",
585
- "location": {
586
- "filePath": "multi-tester.tester.ts",
587
- "line": 10,
588
- "character": 37
589
- },
590
- "name": "Tester",
591
- "componentId": {
592
- "_legacy": {
593
- "scope": "teambit.defender",
594
- "name": "multi-tester",
595
- "version": "1.0.509"
596
- },
597
- "_scope": "teambit.defender"
598
- }
599
- }
600
- }
601
- ]
602
- }
603
- },
604
- {
605
- "__schema": "UnImplementedSchema",
606
- "location": {
607
- "filePath": "index.ts",
608
- "line": 6,
609
- "character": 16
610
- },
611
- "name": "MultiTesterAspect",
612
- "type": "Identifier"
613
- }
614
- ],
615
- "internals": []
616
- },
617
- "internals": [
618
- {
619
- "__schema": "ModuleSchema",
620
- "location": {
621
- "filePath": "multi-tester.aspect.ts",
622
- "line": 1,
623
- "character": 1
624
- },
625
- "exports": [
626
- {
627
- "__schema": "VariableLikeSchema",
628
- "location": {
629
- "filePath": "multi-tester.aspect.ts",
630
- "line": 3,
631
- "character": 14
632
- },
633
- "signature": "const MultiTesterAspect: Aspect",
634
- "name": "MultiTesterAspect",
635
- "type": {
636
- "__schema": "TypeRefSchema",
637
- "location": {
638
- "filePath": "multi-tester.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/multi-tester',\n})"
651
- }
652
- ],
653
- "internals": []
654
- },
655
- {
656
- "__schema": "ModuleSchema",
657
- "location": {
658
- "filePath": "multi-tester.main.runtime.ts",
659
- "line": 1,
660
- "character": 1
661
- },
662
- "exports": [
663
- {
664
- "__schema": "ClassSchema",
665
- "location": {
666
- "filePath": "multi-tester.main.runtime.ts",
667
- "line": 8,
668
- "character": 1
669
- },
670
- "signature": "class MultiTesterMain",
671
- "name": "MultiTesterMain",
672
- "members": [
673
- {
674
- "__schema": "ConstructorSchema",
675
- "location": {
676
- "filePath": "multi-tester.main.runtime.ts",
677
- "line": 9,
678
- "character": 3
679
- },
680
- "signature": "constructor MultiTesterMain(logger: Logger): MultiTesterMain",
681
- "name": "constructor",
682
- "params": [
683
- {
684
- "__schema": "ParameterSchema",
685
- "location": {
686
- "filePath": "multi-tester.main.runtime.ts",
687
- "line": 9,
688
- "character": 15
689
- },
690
- "name": "logger",
691
- "type": {
692
- "__schema": "TypeRefSchema",
693
- "location": {
694
- "filePath": "multi-tester.main.runtime.ts",
695
- "line": 9,
696
- "character": 31
697
- },
698
- "name": "Logger"
699
- },
700
- "isOptional": false,
701
- "isSpread": false
702
- }
703
- ],
704
- "returnType": {
705
- "__schema": "ThisTypeSchema",
706
- "location": {
707
- "filePath": "multi-tester.main.runtime.ts",
708
- "line": 8,
709
- "character": 1
710
- },
711
- "name": "MultiTesterMain"
712
- },
713
- "modifiers": []
714
- },
715
- {
716
- "__schema": "FunctionLikeSchema",
717
- "location": {
718
- "filePath": "multi-tester.main.runtime.ts",
719
- "line": 17,
720
- "character": 3
721
- },
722
- "doc": {
723
- "__schema": "DocSchema",
724
- "location": {
725
- "filePath": "multi-tester.main.runtime.ts",
726
- "line": 11,
727
- "character": 3
728
- },
729
- "raw": "/**\n *\n * @deprecated use jest tester from https://bit.cloud/teambit/defender/testers/multi-tester\n * create a multi-tester `Tester` instance.\n * @param testers list of testers to include.\n */",
730
- "comment": "",
731
- "tags": [
732
- {
733
- "__schema": "TagSchema",
734
- "location": {
735
- "filePath": "multi-tester.main.runtime.ts",
736
- "line": 13,
737
- "character": 6
738
- },
739
- "tagName": "deprecated",
740
- "comment": "use jest tester from https://bit.cloud/teambit/defender/testers/multi-tester\ncreate a multi-tester `Tester` instance."
741
- },
742
- {
743
- "__schema": "PropertyLikeTagSchema",
744
- "location": {
745
- "filePath": "multi-tester.main.runtime.ts",
746
- "line": 15,
747
- "character": 6
748
- },
749
- "name": "testers",
750
- "tagName": "parameter",
751
- "comment": "list of testers to include."
752
- }
753
- ]
754
- },
755
- "signature": "(method) MultiTesterMain.createTester(testers: Tester[]): MultiTester",
756
- "name": "createTester",
757
- "params": [
758
- {
759
- "__schema": "ParameterSchema",
760
- "location": {
761
- "filePath": "multi-tester.main.runtime.ts",
762
- "line": 17,
763
- "character": 16
764
- },
765
- "name": "testers",
766
- "type": {
767
- "__schema": "TypeArraySchema",
768
- "location": {
769
- "filePath": "multi-tester.main.runtime.ts",
770
- "line": 17,
771
- "character": 25
772
- },
773
- "type": {
774
- "__schema": "TypeRefSchema",
775
- "location": {
776
- "filePath": "multi-tester.main.runtime.ts",
777
- "line": 17,
778
- "character": 25
779
- },
780
- "name": "Tester"
781
- }
782
- },
783
- "isOptional": false,
784
- "isSpread": false
785
- }
786
- ],
787
- "returnType": {
788
- "__schema": "TypeRefSchema",
789
- "location": {
790
- "filePath": "multi-tester.main.runtime.ts",
791
- "line": 17,
792
- "character": 3
793
- },
794
- "name": "MultiTester"
795
- },
796
- "modifiers": []
797
- },
798
- {
799
- "__schema": "VariableLikeSchema",
800
- "location": {
801
- "filePath": "multi-tester.main.runtime.ts",
802
- "line": 24,
803
- "character": 3
804
- },
805
- "signature": "(property) MultiTesterMain.runtime: RuntimeDefinition",
806
- "name": "runtime",
807
- "type": {
808
- "__schema": "InferenceTypeSchema",
809
- "location": {
810
- "filePath": "multi-tester.main.runtime.ts",
811
- "line": 24,
812
- "character": 3
813
- },
814
- "type": "RuntimeDefinition"
815
- },
816
- "isOptional": true,
817
- "defaultValue": "MainRuntime"
818
- },
819
- {
820
- "__schema": "VariableLikeSchema",
821
- "location": {
822
- "filePath": "multi-tester.main.runtime.ts",
823
- "line": 25,
824
- "character": 3
825
- },
826
- "signature": "(property) MultiTesterMain.dependencies: Aspect[]",
827
- "name": "dependencies",
828
- "type": {
829
- "__schema": "InferenceTypeSchema",
830
- "location": {
831
- "filePath": "multi-tester.main.runtime.ts",
832
- "line": 25,
833
- "character": 3
834
- },
835
- "type": "Aspect[]"
836
- },
837
- "isOptional": true,
838
- "defaultValue": "[LoggerAspect]"
839
- },
840
- {
841
- "__schema": "FunctionLikeSchema",
842
- "location": {
843
- "filePath": "multi-tester.main.runtime.ts",
844
- "line": 27,
845
- "character": 3
846
- },
847
- "signature": "(method) MultiTesterMain.provider([loggerAspect]: [LoggerMain]): Promise<MultiTesterMain>",
848
- "name": "provider",
849
- "params": [
850
- {
851
- "__schema": "ParameterSchema",
852
- "location": {
853
- "filePath": "multi-tester.main.runtime.ts",
854
- "line": 27,
855
- "character": 25
856
- },
857
- "name": "[ loggerAspect ]",
858
- "type": {
859
- "__schema": "TupleTypeSchema",
860
- "location": {
861
- "filePath": "multi-tester.main.runtime.ts",
862
- "line": 27,
863
- "character": 41
864
- },
865
- "elements": [
866
- {
867
- "__schema": "TypeRefSchema",
868
- "location": {
869
- "filePath": "multi-tester.main.runtime.ts",
870
- "line": 27,
871
- "character": 42
872
- },
873
- "name": "LoggerMain"
874
- }
875
- ]
876
- },
877
- "isOptional": false,
878
- "isSpread": false
879
- }
880
- ],
881
- "returnType": {
882
- "__schema": "InferenceTypeSchema",
883
- "location": {
884
- "filePath": "multi-tester.main.runtime.ts",
885
- "line": 27,
886
- "character": 3
887
- },
888
- "type": "Promise<MultiTesterMain>"
889
- },
890
- "modifiers": [
891
- "static",
892
- "async"
893
- ]
894
- }
895
- ],
896
- "extendsNodes": [],
897
- "implementNodes": []
898
- }
899
- ],
900
- "internals": [
901
- {
902
- "__schema": "UnImplementedSchema",
903
- "location": {
904
- "filePath": "multi-tester.main.runtime.ts",
905
- "line": 33,
906
- "character": 1
907
- },
908
- "name": "MultiTesterAspect.addRuntime(MultiTesterMain);",
909
- "type": "ExpressionStatement"
910
- }
911
- ]
912
- },
913
- {
914
- "__schema": "ModuleSchema",
915
- "location": {
916
- "filePath": "multi-tester.tester.ts",
917
- "line": 1,
918
- "character": 1
919
- },
920
- "exports": [
921
- {
922
- "__schema": "TypeSchema",
923
- "location": {
924
- "filePath": "multi-tester.tester.ts",
925
- "line": 6,
926
- "character": 1
927
- },
928
- "signature": "type MultiCompilerOptions = {\n targetExtension?: string | undefined;\n}",
929
- "name": "MultiCompilerOptions",
930
- "type": {
931
- "__schema": "TypeLiteralSchema",
932
- "location": {
933
- "filePath": "multi-tester.tester.ts",
934
- "line": 6,
935
- "character": 36
936
- },
937
- "members": [
938
- {
939
- "__schema": "VariableLikeSchema",
940
- "location": {
941
- "filePath": "multi-tester.tester.ts",
942
- "line": 7,
943
- "character": 3
944
- },
945
- "signature": "(property) targetExtension?: string | undefined",
946
- "name": "targetExtension",
947
- "type": {
948
- "__schema": "KeywordTypeSchema",
949
- "location": {
950
- "filePath": "multi-tester.tester.ts",
951
- "line": 7,
952
- "character": 21
953
- },
954
- "name": "string"
955
- },
956
- "isOptional": true
957
- }
958
- ]
959
- }
960
- },
961
- {
962
- "__schema": "ClassSchema",
963
- "location": {
964
- "filePath": "multi-tester.tester.ts",
965
- "line": 10,
966
- "character": 1
967
- },
968
- "signature": "class MultiTester",
969
- "name": "MultiTester",
970
- "members": [
971
- {
972
- "__schema": "VariableLikeSchema",
973
- "location": {
974
- "filePath": "multi-tester.tester.ts",
975
- "line": 11,
976
- "character": 3
977
- },
978
- "signature": "(property) MultiTester.displayName: string",
979
- "name": "displayName",
980
- "type": {
981
- "__schema": "InferenceTypeSchema",
982
- "location": {
983
- "filePath": "multi-tester.tester.ts",
984
- "line": 11,
985
- "character": 3
986
- },
987
- "type": "string"
988
- },
989
- "isOptional": true,
990
- "defaultValue": "'Multi tester'"
991
- },
992
- {
993
- "__schema": "ConstructorSchema",
994
- "location": {
995
- "filePath": "multi-tester.tester.ts",
996
- "line": 13,
997
- "character": 3
998
- },
999
- "signature": "constructor MultiTester(id: string, testers: Tester[]): MultiTester",
1000
- "name": "constructor",
1001
- "params": [
1002
- {
1003
- "__schema": "ParameterSchema",
1004
- "location": {
1005
- "filePath": "multi-tester.tester.ts",
1006
- "line": 14,
1007
- "character": 5
1008
- },
1009
- "name": "id",
1010
- "type": {
1011
- "__schema": "KeywordTypeSchema",
1012
- "location": {
1013
- "filePath": "multi-tester.tester.ts",
1014
- "line": 14,
1015
- "character": 18
1016
- },
1017
- "name": "string"
1018
- },
1019
- "isOptional": false,
1020
- "isSpread": false
1021
- },
1022
- {
1023
- "__schema": "ParameterSchema",
1024
- "location": {
1025
- "filePath": "multi-tester.tester.ts",
1026
- "line": 15,
1027
- "character": 5
1028
- },
1029
- "name": "testers",
1030
- "type": {
1031
- "__schema": "TypeArraySchema",
1032
- "location": {
1033
- "filePath": "multi-tester.tester.ts",
1034
- "line": 15,
1035
- "character": 23
1036
- },
1037
- "type": {
1038
- "__schema": "TypeRefSchema",
1039
- "location": {
1040
- "filePath": "multi-tester.tester.ts",
1041
- "line": 15,
1042
- "character": 23
1043
- },
1044
- "name": "Tester"
1045
- }
1046
- },
1047
- "isOptional": false,
1048
- "isSpread": false
1049
- }
1050
- ],
1051
- "returnType": {
1052
- "__schema": "ThisTypeSchema",
1053
- "location": {
1054
- "filePath": "multi-tester.tester.ts",
1055
- "line": 10,
1056
- "character": 1
1057
- },
1058
- "name": "MultiTester"
1059
- },
1060
- "modifiers": []
1061
- },
1062
- {
1063
- "__schema": "FunctionLikeSchema",
1064
- "location": {
1065
- "filePath": "multi-tester.tester.ts",
1066
- "line": 18,
1067
- "character": 3
1068
- },
1069
- "signature": "(method) MultiTester.displayConfig(): string",
1070
- "name": "displayConfig",
1071
- "params": [],
1072
- "returnType": {
1073
- "__schema": "InferenceTypeSchema",
1074
- "location": {
1075
- "filePath": "multi-tester.tester.ts",
1076
- "line": 18,
1077
- "character": 3
1078
- },
1079
- "type": "string"
1080
- },
1081
- "modifiers": []
1082
- },
1083
- {
1084
- "__schema": "FunctionLikeSchema",
1085
- "location": {
1086
- "filePath": "multi-tester.tester.ts",
1087
- "line": 26,
1088
- "character": 3
1089
- },
1090
- "signature": "(method) MultiTester.test(context: TesterContext): Promise<Tests>",
1091
- "name": "test",
1092
- "params": [
1093
- {
1094
- "__schema": "ParameterSchema",
1095
- "location": {
1096
- "filePath": "multi-tester.tester.ts",
1097
- "line": 26,
1098
- "character": 14
1099
- },
1100
- "name": "context",
1101
- "type": {
1102
- "__schema": "TypeRefSchema",
1103
- "location": {
1104
- "filePath": "multi-tester.tester.ts",
1105
- "line": 26,
1106
- "character": 23
1107
- },
1108
- "name": "TesterContext"
1109
- },
1110
- "isOptional": false,
1111
- "isSpread": false
1112
- }
1113
- ],
1114
- "returnType": {
1115
- "__schema": "TypeRefSchema",
1116
- "location": {
1117
- "filePath": "multi-tester.tester.ts",
1118
- "line": 26,
1119
- "character": 39
1120
- },
1121
- "name": "Promise",
1122
- "typeArgs": [
1123
- {
1124
- "__schema": "TypeRefSchema",
1125
- "location": {
1126
- "filePath": "multi-tester.tester.ts",
1127
- "line": 26,
1128
- "character": 47
1129
- },
1130
- "name": "Tests"
1131
- }
1132
- ]
1133
- },
1134
- "modifiers": [
1135
- "async"
1136
- ]
1137
- },
1138
- {
1139
- "__schema": "FunctionLikeSchema",
1140
- "location": {
1141
- "filePath": "multi-tester.tester.ts",
1142
- "line": 35,
1143
- "character": 3
1144
- },
1145
- "signature": "(method) MultiTester.watch(context: TesterContext): Promise<Tests>",
1146
- "name": "watch",
1147
- "params": [
1148
- {
1149
- "__schema": "ParameterSchema",
1150
- "location": {
1151
- "filePath": "multi-tester.tester.ts",
1152
- "line": 35,
1153
- "character": 15
1154
- },
1155
- "name": "context",
1156
- "type": {
1157
- "__schema": "TypeRefSchema",
1158
- "location": {
1159
- "filePath": "multi-tester.tester.ts",
1160
- "line": 35,
1161
- "character": 24
1162
- },
1163
- "name": "TesterContext"
1164
- },
1165
- "isOptional": false,
1166
- "isSpread": false
1167
- }
1168
- ],
1169
- "returnType": {
1170
- "__schema": "TypeRefSchema",
1171
- "location": {
1172
- "filePath": "multi-tester.tester.ts",
1173
- "line": 35,
1174
- "character": 40
1175
- },
1176
- "name": "Promise",
1177
- "typeArgs": [
1178
- {
1179
- "__schema": "TypeRefSchema",
1180
- "location": {
1181
- "filePath": "multi-tester.tester.ts",
1182
- "line": 35,
1183
- "character": 48
1184
- },
1185
- "name": "Tests"
1186
- }
1187
- ]
1188
- },
1189
- "modifiers": [
1190
- "async"
1191
- ]
1192
- },
1193
- {
1194
- "__schema": "FunctionLikeSchema",
1195
- "location": {
1196
- "filePath": "multi-tester.tester.ts",
1197
- "line": 46,
1198
- "character": 3
1199
- },
1200
- "doc": {
1201
- "__schema": "DocSchema",
1202
- "location": {
1203
- "filePath": "multi-tester.tester.ts",
1204
- "line": 43,
1205
- "character": 3
1206
- },
1207
- "raw": "/**\n * returns the version of all testers instance (e.g. '4.0.1').\n */",
1208
- "comment": "returns the version of all testers instance (e.g. '4.0.1').",
1209
- "tags": []
1210
- },
1211
- "signature": "(method) MultiTester.version(): string",
1212
- "name": "version",
1213
- "params": [],
1214
- "returnType": {
1215
- "__schema": "KeywordTypeSchema",
1216
- "location": {
1217
- "filePath": "multi-tester.tester.ts",
1218
- "line": 46,
1219
- "character": 14
1220
- },
1221
- "name": "string"
1222
- },
1223
- "modifiers": []
1224
- }
1225
- ],
1226
- "extendsNodes": [],
1227
- "implementNodes": [
1228
- {
1229
- "__schema": "ExpressionWithTypeArgumentsSchema",
1230
- "location": {
1231
- "filePath": "multi-tester.tester.ts",
1232
- "line": 10,
1233
- "character": 37
1234
- },
1235
- "name": "implements Tester",
1236
- "typeArgs": [],
1237
- "expression": {
1238
- "__schema": "TypeRefSchema",
1239
- "location": {
1240
- "filePath": "multi-tester.tester.ts",
1241
- "line": 10,
1242
- "character": 37
1243
- },
1244
- "name": "Tester",
1245
- "componentId": {
1246
- "_legacy": {
1247
- "scope": "teambit.defender",
1248
- "name": "multi-tester",
1249
- "version": "1.0.509"
1250
- },
1251
- "_scope": "teambit.defender"
1252
- }
1253
- }
1254
- }
1255
- ]
1256
- }
1257
- ],
1258
- "internals": []
1259
- }
1260
- ],
1261
- "componentId": {
1262
- "scope": "teambit.defender",
1263
- "name": "multi-tester",
1264
- "version": "1.0.509"
1265
- },
1266
- "taggedModuleExports": []
1267
- }