@teambit/jest 1.0.424 → 1.0.426

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/jest@1.0.424" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.defender/jest@1.0.426" 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/jest-preview"]=t():e["teambit.defender/jest-preview"]=t()}(self,(()=>(()=>{"use strict";var e={63552:(e,t,o)=>{var r={id:"teambit.defender/jest@1.0.424",homepage:"https://bit.cloud/teambit/defender/jest",exported:!0};function n(){const e=i(o(41594));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/brands/logo-jest.svg"}));a.__bit_component=r,t.Logo=a},41594: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(63552);o(41594);const a=MdxJsReact,s=TeambitMdxUiMdxScopeContext;var c=["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,c);return(0,a.mdx)(u,d({},p,o,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)(s.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}l.isMDXComponent=!0;const f=[i],m=[n],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/jest-preview"]=t():e["teambit.defender/jest-preview"]=t()}(self,(()=>(()=>{"use strict";var e={210:(e,t,o)=>{var r={id:"teambit.defender/jest@1.0.426",homepage:"https://bit.cloud/teambit/defender/jest",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/brands/logo-jest.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(210);o(594);const a=MdxJsReact,s=TeambitMdxUiMdxScopeContext;var c=["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,c);return(0,a.mdx)(u,d({},p,o,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)(s.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}l.isMDXComponent=!0;const f=[i],m=[n],v={compositions:[{displayName:"Logo",identifier:"Logo"}]};return r})()));
@@ -521,7 +521,7 @@
521
521
  "_legacy": {
522
522
  "scope": "teambit.defender",
523
523
  "name": "jest",
524
- "version": "1.0.424"
524
+ "version": "1.0.426"
525
525
  },
526
526
  "_scope": "teambit.defender"
527
527
  }
@@ -563,16 +563,16 @@
563
563
  "__schema": "ParameterSchema",
564
564
  "location": {
565
565
  "filePath": "jest.main.runtime.ts",
566
- "line": 12,
567
- "character": 15
566
+ "line": 13,
567
+ "character": 5
568
568
  },
569
569
  "name": "jestWorker",
570
570
  "type": {
571
571
  "__schema": "TypeRefSchema",
572
572
  "location": {
573
573
  "filePath": "jest.main.runtime.ts",
574
- "line": 12,
575
- "character": 35
574
+ "line": 13,
575
+ "character": 25
576
576
  },
577
577
  "name": "HarmonyWorker",
578
578
  "componentId": {
@@ -584,8 +584,8 @@
584
584
  "__schema": "TypeRefSchema",
585
585
  "location": {
586
586
  "filePath": "jest.main.runtime.ts",
587
- "line": 12,
588
- "character": 49
587
+ "line": 13,
588
+ "character": 39
589
589
  },
590
590
  "name": "JestWorker",
591
591
  "internalFilePath": "jest.worker.ts"
@@ -599,16 +599,16 @@
599
599
  "__schema": "ParameterSchema",
600
600
  "location": {
601
601
  "filePath": "jest.main.runtime.ts",
602
- "line": 12,
603
- "character": 62
602
+ "line": 14,
603
+ "character": 5
604
604
  },
605
605
  "name": "logger",
606
606
  "type": {
607
607
  "__schema": "TypeRefSchema",
608
608
  "location": {
609
609
  "filePath": "jest.main.runtime.ts",
610
- "line": 12,
611
- "character": 78
610
+ "line": 14,
611
+ "character": 21
612
612
  },
613
613
  "name": "Logger",
614
614
  "componentId": {
@@ -635,14 +635,14 @@
635
635
  "__schema": "FunctionLikeSchema",
636
636
  "location": {
637
637
  "filePath": "jest.main.runtime.ts",
638
- "line": 17,
638
+ "line": 20,
639
639
  "character": 3
640
640
  },
641
641
  "doc": {
642
642
  "__schema": "DocSchema",
643
643
  "location": {
644
644
  "filePath": "jest.main.runtime.ts",
645
- "line": 14,
645
+ "line": 17,
646
646
  "character": 3
647
647
  },
648
648
  "raw": "/**\n * @deprecated use jest tester from https://bit.cloud/teambit/defender/jest-tester\n */",
@@ -652,7 +652,7 @@
652
652
  "__schema": "TagSchema",
653
653
  "location": {
654
654
  "filePath": "jest.main.runtime.ts",
655
- "line": 15,
655
+ "line": 18,
656
656
  "character": 6
657
657
  },
658
658
  "tagName": "deprecated",
@@ -667,7 +667,7 @@
667
667
  "__schema": "ParameterSchema",
668
668
  "location": {
669
669
  "filePath": "jest.main.runtime.ts",
670
- "line": 17,
670
+ "line": 20,
671
671
  "character": 16
672
672
  },
673
673
  "name": "jestConfig",
@@ -675,7 +675,7 @@
675
675
  "__schema": "KeywordTypeSchema",
676
676
  "location": {
677
677
  "filePath": "jest.main.runtime.ts",
678
- "line": 17,
678
+ "line": 20,
679
679
  "character": 28
680
680
  },
681
681
  "name": "any"
@@ -687,7 +687,7 @@
687
687
  "__schema": "ParameterSchema",
688
688
  "location": {
689
689
  "filePath": "jest.main.runtime.ts",
690
- "line": 17,
690
+ "line": 20,
691
691
  "character": 33
692
692
  },
693
693
  "name": "jestModulePath",
@@ -695,7 +695,7 @@
695
695
  "__schema": "InferenceTypeSchema",
696
696
  "location": {
697
697
  "filePath": "jest.main.runtime.ts",
698
- "line": 17,
698
+ "line": 20,
699
699
  "character": 33
700
700
  },
701
701
  "type": "string"
@@ -708,7 +708,7 @@
708
708
  "__schema": "ParameterSchema",
709
709
  "location": {
710
710
  "filePath": "jest.main.runtime.ts",
711
- "line": 17,
711
+ "line": 20,
712
712
  "character": 75
713
713
  },
714
714
  "name": "opts",
@@ -716,7 +716,7 @@
716
716
  "__schema": "TypeRefSchema",
717
717
  "location": {
718
718
  "filePath": "jest.main.runtime.ts",
719
- "line": 17,
719
+ "line": 20,
720
720
  "character": 82
721
721
  },
722
722
  "name": "JestTesterOptions",
@@ -730,7 +730,7 @@
730
730
  "__schema": "TypeRefSchema",
731
731
  "location": {
732
732
  "filePath": "jest.main.runtime.ts",
733
- "line": 17,
733
+ "line": 20,
734
734
  "character": 3
735
735
  },
736
736
  "name": "JestTester"
@@ -741,7 +741,7 @@
741
741
  "__schema": "VariableLikeSchema",
742
742
  "location": {
743
743
  "filePath": "jest.main.runtime.ts",
744
- "line": 24,
744
+ "line": 27,
745
745
  "character": 3
746
746
  },
747
747
  "signature": "(property) JestMain.runtime: RuntimeDefinition",
@@ -750,7 +750,7 @@
750
750
  "__schema": "InferenceTypeSchema",
751
751
  "location": {
752
752
  "filePath": "jest.main.runtime.ts",
753
- "line": 24,
753
+ "line": 27,
754
754
  "character": 3
755
755
  },
756
756
  "type": "RuntimeDefinition"
@@ -762,7 +762,7 @@
762
762
  "__schema": "VariableLikeSchema",
763
763
  "location": {
764
764
  "filePath": "jest.main.runtime.ts",
765
- "line": 25,
765
+ "line": 28,
766
766
  "character": 3
767
767
  },
768
768
  "signature": "(property) JestMain.dependencies: Aspect[]",
@@ -771,7 +771,7 @@
771
771
  "__schema": "InferenceTypeSchema",
772
772
  "location": {
773
773
  "filePath": "jest.main.runtime.ts",
774
- "line": 25,
774
+ "line": 28,
775
775
  "character": 3
776
776
  },
777
777
  "type": "Aspect[]"
@@ -783,7 +783,7 @@
783
783
  "__schema": "FunctionLikeSchema",
784
784
  "location": {
785
785
  "filePath": "jest.main.runtime.ts",
786
- "line": 27,
786
+ "line": 30,
787
787
  "character": 3
788
788
  },
789
789
  "signature": "(method) JestMain.provider([worker, loggerAspect]: [WorkerMain, LoggerMain]): Promise<JestMain>",
@@ -793,7 +793,7 @@
793
793
  "__schema": "ParameterSchema",
794
794
  "location": {
795
795
  "filePath": "jest.main.runtime.ts",
796
- "line": 27,
796
+ "line": 30,
797
797
  "character": 25
798
798
  },
799
799
  "name": "[ worker, loggerAspect ]",
@@ -801,7 +801,7 @@
801
801
  "__schema": "TupleTypeSchema",
802
802
  "location": {
803
803
  "filePath": "jest.main.runtime.ts",
804
- "line": 27,
804
+ "line": 30,
805
805
  "character": 49
806
806
  },
807
807
  "elements": [
@@ -809,7 +809,7 @@
809
809
  "__schema": "TypeRefSchema",
810
810
  "location": {
811
811
  "filePath": "jest.main.runtime.ts",
812
- "line": 27,
812
+ "line": 30,
813
813
  "character": 50
814
814
  },
815
815
  "name": "WorkerMain",
@@ -822,7 +822,7 @@
822
822
  "__schema": "TypeRefSchema",
823
823
  "location": {
824
824
  "filePath": "jest.main.runtime.ts",
825
- "line": 27,
825
+ "line": 30,
826
826
  "character": 62
827
827
  },
828
828
  "name": "LoggerMain",
@@ -841,7 +841,7 @@
841
841
  "__schema": "InferenceTypeSchema",
842
842
  "location": {
843
843
  "filePath": "jest.main.runtime.ts",
844
- "line": 27,
844
+ "line": 30,
845
845
  "character": 3
846
846
  },
847
847
  "type": "Promise<JestMain>"
@@ -1601,7 +1601,7 @@
1601
1601
  "_legacy": {
1602
1602
  "scope": "teambit.defender",
1603
1603
  "name": "jest",
1604
- "version": "1.0.424"
1604
+ "version": "1.0.426"
1605
1605
  },
1606
1606
  "_scope": "teambit.defender"
1607
1607
  }
@@ -1665,16 +1665,16 @@
1665
1665
  "__schema": "ParameterSchema",
1666
1666
  "location": {
1667
1667
  "filePath": "jest.main.runtime.ts",
1668
- "line": 12,
1669
- "character": 15
1668
+ "line": 13,
1669
+ "character": 5
1670
1670
  },
1671
1671
  "name": "jestWorker",
1672
1672
  "type": {
1673
1673
  "__schema": "TypeRefSchema",
1674
1674
  "location": {
1675
1675
  "filePath": "jest.main.runtime.ts",
1676
- "line": 12,
1677
- "character": 35
1676
+ "line": 13,
1677
+ "character": 25
1678
1678
  },
1679
1679
  "name": "HarmonyWorker",
1680
1680
  "componentId": {
@@ -1686,8 +1686,8 @@
1686
1686
  "__schema": "TypeRefSchema",
1687
1687
  "location": {
1688
1688
  "filePath": "jest.main.runtime.ts",
1689
- "line": 12,
1690
- "character": 49
1689
+ "line": 13,
1690
+ "character": 39
1691
1691
  },
1692
1692
  "name": "JestWorker",
1693
1693
  "internalFilePath": "jest.worker.ts"
@@ -1701,16 +1701,16 @@
1701
1701
  "__schema": "ParameterSchema",
1702
1702
  "location": {
1703
1703
  "filePath": "jest.main.runtime.ts",
1704
- "line": 12,
1705
- "character": 62
1704
+ "line": 14,
1705
+ "character": 5
1706
1706
  },
1707
1707
  "name": "logger",
1708
1708
  "type": {
1709
1709
  "__schema": "TypeRefSchema",
1710
1710
  "location": {
1711
1711
  "filePath": "jest.main.runtime.ts",
1712
- "line": 12,
1713
- "character": 78
1712
+ "line": 14,
1713
+ "character": 21
1714
1714
  },
1715
1715
  "name": "Logger",
1716
1716
  "componentId": {
@@ -1737,14 +1737,14 @@
1737
1737
  "__schema": "FunctionLikeSchema",
1738
1738
  "location": {
1739
1739
  "filePath": "jest.main.runtime.ts",
1740
- "line": 17,
1740
+ "line": 20,
1741
1741
  "character": 3
1742
1742
  },
1743
1743
  "doc": {
1744
1744
  "__schema": "DocSchema",
1745
1745
  "location": {
1746
1746
  "filePath": "jest.main.runtime.ts",
1747
- "line": 14,
1747
+ "line": 17,
1748
1748
  "character": 3
1749
1749
  },
1750
1750
  "raw": "/**\n * @deprecated use jest tester from https://bit.cloud/teambit/defender/jest-tester\n */",
@@ -1754,7 +1754,7 @@
1754
1754
  "__schema": "TagSchema",
1755
1755
  "location": {
1756
1756
  "filePath": "jest.main.runtime.ts",
1757
- "line": 15,
1757
+ "line": 18,
1758
1758
  "character": 6
1759
1759
  },
1760
1760
  "tagName": "deprecated",
@@ -1769,7 +1769,7 @@
1769
1769
  "__schema": "ParameterSchema",
1770
1770
  "location": {
1771
1771
  "filePath": "jest.main.runtime.ts",
1772
- "line": 17,
1772
+ "line": 20,
1773
1773
  "character": 16
1774
1774
  },
1775
1775
  "name": "jestConfig",
@@ -1777,7 +1777,7 @@
1777
1777
  "__schema": "KeywordTypeSchema",
1778
1778
  "location": {
1779
1779
  "filePath": "jest.main.runtime.ts",
1780
- "line": 17,
1780
+ "line": 20,
1781
1781
  "character": 28
1782
1782
  },
1783
1783
  "name": "any"
@@ -1789,7 +1789,7 @@
1789
1789
  "__schema": "ParameterSchema",
1790
1790
  "location": {
1791
1791
  "filePath": "jest.main.runtime.ts",
1792
- "line": 17,
1792
+ "line": 20,
1793
1793
  "character": 33
1794
1794
  },
1795
1795
  "name": "jestModulePath",
@@ -1797,7 +1797,7 @@
1797
1797
  "__schema": "InferenceTypeSchema",
1798
1798
  "location": {
1799
1799
  "filePath": "jest.main.runtime.ts",
1800
- "line": 17,
1800
+ "line": 20,
1801
1801
  "character": 33
1802
1802
  },
1803
1803
  "type": "string"
@@ -1810,7 +1810,7 @@
1810
1810
  "__schema": "ParameterSchema",
1811
1811
  "location": {
1812
1812
  "filePath": "jest.main.runtime.ts",
1813
- "line": 17,
1813
+ "line": 20,
1814
1814
  "character": 75
1815
1815
  },
1816
1816
  "name": "opts",
@@ -1818,7 +1818,7 @@
1818
1818
  "__schema": "TypeRefSchema",
1819
1819
  "location": {
1820
1820
  "filePath": "jest.main.runtime.ts",
1821
- "line": 17,
1821
+ "line": 20,
1822
1822
  "character": 82
1823
1823
  },
1824
1824
  "name": "JestTesterOptions",
@@ -1832,7 +1832,7 @@
1832
1832
  "__schema": "TypeRefSchema",
1833
1833
  "location": {
1834
1834
  "filePath": "jest.main.runtime.ts",
1835
- "line": 17,
1835
+ "line": 20,
1836
1836
  "character": 3
1837
1837
  },
1838
1838
  "name": "JestTester"
@@ -1843,7 +1843,7 @@
1843
1843
  "__schema": "VariableLikeSchema",
1844
1844
  "location": {
1845
1845
  "filePath": "jest.main.runtime.ts",
1846
- "line": 24,
1846
+ "line": 27,
1847
1847
  "character": 3
1848
1848
  },
1849
1849
  "signature": "(property) JestMain.runtime: RuntimeDefinition",
@@ -1852,7 +1852,7 @@
1852
1852
  "__schema": "InferenceTypeSchema",
1853
1853
  "location": {
1854
1854
  "filePath": "jest.main.runtime.ts",
1855
- "line": 24,
1855
+ "line": 27,
1856
1856
  "character": 3
1857
1857
  },
1858
1858
  "type": "RuntimeDefinition"
@@ -1864,7 +1864,7 @@
1864
1864
  "__schema": "VariableLikeSchema",
1865
1865
  "location": {
1866
1866
  "filePath": "jest.main.runtime.ts",
1867
- "line": 25,
1867
+ "line": 28,
1868
1868
  "character": 3
1869
1869
  },
1870
1870
  "signature": "(property) JestMain.dependencies: Aspect[]",
@@ -1873,7 +1873,7 @@
1873
1873
  "__schema": "InferenceTypeSchema",
1874
1874
  "location": {
1875
1875
  "filePath": "jest.main.runtime.ts",
1876
- "line": 25,
1876
+ "line": 28,
1877
1877
  "character": 3
1878
1878
  },
1879
1879
  "type": "Aspect[]"
@@ -1885,7 +1885,7 @@
1885
1885
  "__schema": "FunctionLikeSchema",
1886
1886
  "location": {
1887
1887
  "filePath": "jest.main.runtime.ts",
1888
- "line": 27,
1888
+ "line": 30,
1889
1889
  "character": 3
1890
1890
  },
1891
1891
  "signature": "(method) JestMain.provider([worker, loggerAspect]: [WorkerMain, LoggerMain]): Promise<JestMain>",
@@ -1895,7 +1895,7 @@
1895
1895
  "__schema": "ParameterSchema",
1896
1896
  "location": {
1897
1897
  "filePath": "jest.main.runtime.ts",
1898
- "line": 27,
1898
+ "line": 30,
1899
1899
  "character": 25
1900
1900
  },
1901
1901
  "name": "[ worker, loggerAspect ]",
@@ -1903,7 +1903,7 @@
1903
1903
  "__schema": "TupleTypeSchema",
1904
1904
  "location": {
1905
1905
  "filePath": "jest.main.runtime.ts",
1906
- "line": 27,
1906
+ "line": 30,
1907
1907
  "character": 49
1908
1908
  },
1909
1909
  "elements": [
@@ -1911,7 +1911,7 @@
1911
1911
  "__schema": "TypeRefSchema",
1912
1912
  "location": {
1913
1913
  "filePath": "jest.main.runtime.ts",
1914
- "line": 27,
1914
+ "line": 30,
1915
1915
  "character": 50
1916
1916
  },
1917
1917
  "name": "WorkerMain",
@@ -1924,7 +1924,7 @@
1924
1924
  "__schema": "TypeRefSchema",
1925
1925
  "location": {
1926
1926
  "filePath": "jest.main.runtime.ts",
1927
- "line": 27,
1927
+ "line": 30,
1928
1928
  "character": 62
1929
1929
  },
1930
1930
  "name": "LoggerMain",
@@ -1943,7 +1943,7 @@
1943
1943
  "__schema": "InferenceTypeSchema",
1944
1944
  "location": {
1945
1945
  "filePath": "jest.main.runtime.ts",
1946
- "line": 27,
1946
+ "line": 30,
1947
1947
  "character": 3
1948
1948
  },
1949
1949
  "type": "Promise<JestMain>"
@@ -1963,7 +1963,7 @@
1963
1963
  "__schema": "UnImplementedSchema",
1964
1964
  "location": {
1965
1965
  "filePath": "jest.main.runtime.ts",
1966
- "line": 34,
1966
+ "line": 37,
1967
1967
  "character": 1
1968
1968
  },
1969
1969
  "name": "JestAspect.addRuntime(JestMain);",
@@ -2012,7 +2012,7 @@
2012
2012
  "componentId": {
2013
2013
  "scope": "teambit.defender",
2014
2014
  "name": "jest",
2015
- "version": "1.0.424"
2015
+ "version": "1.0.426"
2016
2016
  },
2017
2017
  "taggedModuleExports": []
2018
2018
  }
package/dist/error.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"names":["JestError","Error","constructor","message","stack","code","type","exports"],"sources":["error.ts"],"sourcesContent":["export class JestError extends Error {\n constructor(message: string, stack?: string | null, public readonly code?: unknown, public readonly type?: string) {\n super(message);\n }\n\n get stack() {\n return this.stack;\n }\n}\n"],"mappings":";;;;;;AAAO,MAAMA,SAAS,SAASC,KAAK,CAAC;EACnCC,WAAWA,CAACC,OAAe,EAAEC,KAAqB,EAAkBC,IAAc,EAAkBC,IAAa,EAAE;IACjH,KAAK,CAACH,OAAO,CAAC;IAAC,KADmDE,IAAc,GAAdA,IAAc;IAAA,KAAkBC,IAAa,GAAbA,IAAa;EAEjH;EAEA,IAAIF,KAAKA,CAAA,EAAG;IACV,OAAO,IAAI,CAACA,KAAK;EACnB;AACF;AAACG,OAAA,CAAAP,SAAA,GAAAA,SAAA","ignoreList":[]}
1
+ {"version":3,"names":["JestError","Error","constructor","message","stack","code","type","exports"],"sources":["error.ts"],"sourcesContent":["export class JestError extends Error {\n constructor(\n message: string,\n stack?: string | null,\n public readonly code?: unknown,\n public readonly type?: string\n ) {\n super(message);\n }\n\n get stack() {\n return this.stack;\n }\n}\n"],"mappings":";;;;;;AAAO,MAAMA,SAAS,SAASC,KAAK,CAAC;EACnCC,WAAWA,CACTC,OAAe,EACfC,KAAqB,EACLC,IAAc,EACdC,IAAa,EAC7B;IACA,KAAK,CAACH,OAAO,CAAC;IAAC,KAHCE,IAAc,GAAdA,IAAc;IAAA,KACdC,IAAa,GAAbA,IAAa;EAG/B;EAEA,IAAIF,KAAKA,CAAA,EAAG;IACV,OAAO,IAAI,CAACA,KAAK;EACnB;AACF;AAACG,OAAA,CAAAP,SAAA,GAAAA,SAAA","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_cli","data","require","_logger","_worker","_constants","_jest","_jest2","_defineProperty","e","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","WORKER_NAME","exports","JestMain","constructor","jestWorker","logger","createTester","jestConfig","jestModulePath","resolve","opts","consoleWarning","getCloudDomain","JestTester","JestAspect","id","provider","worker","loggerAspect","createLogger","declareWorker","MainRuntime","WorkerAspect","LoggerAspect","addRuntime"],"sources":["jest.main.runtime.ts"],"sourcesContent":["import { MainRuntime } from '@teambit/cli';\nimport { LoggerAspect, LoggerMain, Logger } from '@teambit/logger';\nimport { WorkerAspect, WorkerMain, HarmonyWorker } from '@teambit/worker';\nimport { getCloudDomain } from '@teambit/legacy/dist/constants';\nimport { JestAspect } from './jest.aspect';\nimport { JestTester, JestTesterOptions } from './jest.tester';\nimport type { JestWorker } from './jest.worker';\n\nexport const WORKER_NAME = 'jest';\n\nexport class JestMain {\n constructor(private jestWorker: HarmonyWorker<JestWorker>, private logger: Logger) {}\n\n /**\n * @deprecated use jest tester from https://bit.cloud/teambit/defender/jest-tester\n */\n createTester(jestConfig: any, jestModulePath = require.resolve('jest'), opts?: JestTesterOptions) {\n this.logger.consoleWarning(\n `The 'Jest' aspect is deprecated. Please use the 'jest tester' component instead. For more details, visit: https://${getCloudDomain()}/teambit/defender/jest-tester`\n );\n return new JestTester(JestAspect.id, jestConfig, jestModulePath, this.jestWorker, this.logger, opts);\n }\n\n static runtime = MainRuntime;\n static dependencies = [WorkerAspect, LoggerAspect];\n\n static async provider([worker, loggerAspect]: [WorkerMain, LoggerMain]) {\n const logger = loggerAspect.createLogger(JestAspect.id);\n const jestWorker = worker.declareWorker<JestWorker>(WORKER_NAME, require.resolve('./jest.worker'));\n return new JestMain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AAArB,eAAA,CArBYqB,QAAQ,aAaFmB,kBAAW;AAAAxC,eAAA,CAbjBqB,QAAQ,kBAcG,CAACoB,sBAAY,EAAEC,sBAAY,CAAC;AASpDT,kBAAU,CAACU,UAAU,CAACtB,QAAQ,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_cli","data","require","_logger","_worker","_constants","_jest","_jest2","_defineProperty","e","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","WORKER_NAME","exports","JestMain","constructor","jestWorker","logger","createTester","jestConfig","jestModulePath","resolve","opts","consoleWarning","getCloudDomain","JestTester","JestAspect","id","provider","worker","loggerAspect","createLogger","declareWorker","MainRuntime","WorkerAspect","LoggerAspect","addRuntime"],"sources":["jest.main.runtime.ts"],"sourcesContent":["import { MainRuntime } from '@teambit/cli';\nimport { LoggerAspect, LoggerMain, Logger } from '@teambit/logger';\nimport { WorkerAspect, WorkerMain, HarmonyWorker } from '@teambit/worker';\nimport { getCloudDomain } from '@teambit/legacy/dist/constants';\nimport { JestAspect } from './jest.aspect';\nimport { JestTester, JestTesterOptions } from './jest.tester';\nimport type { JestWorker } from './jest.worker';\n\nexport const WORKER_NAME = 'jest';\n\nexport class JestMain {\n constructor(\n private jestWorker: HarmonyWorker<JestWorker>,\n private logger: Logger\n ) {}\n\n /**\n * @deprecated use jest tester from https://bit.cloud/teambit/defender/jest-tester\n */\n createTester(jestConfig: any, jestModulePath = require.resolve('jest'), opts?: JestTesterOptions) {\n this.logger.consoleWarning(\n `The 'Jest' aspect is deprecated. Please use the 'jest tester' component instead. For more details, visit: https://${getCloudDomain()}/teambit/defender/jest-tester`\n );\n return new JestTester(JestAspect.id, jestConfig, jestModulePath, this.jestWorker, this.logger, opts);\n }\n\n static runtime = MainRuntime;\n static dependencies = [WorkerAspect, LoggerAspect];\n\n static async provider([worker, loggerAspect]: [WorkerMain, LoggerMain]) {\n const logger = loggerAspect.createLogger(JestAspect.id);\n const jestWorker = worker.declareWorker<JestWorker>(WORKER_NAME, require.resolve('./jest.worker'));\n return new JestMain(jestWorker, logger);\n }\n}\n\nJestAspect.addRuntime(JestMain);\n"],"mappings":";;;;;;AAAA,SAAAA,KAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,IAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,QAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,OAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,QAAA;EAAA,MAAAH,IAAA,GAAAC,OAAA;EAAAE,OAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAI,WAAA;EAAA,MAAAJ,IAAA,GAAAC,OAAA;EAAAG,UAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAK,MAAA;EAAA,MAAAL,IAAA,GAAAC,OAAA;EAAAI,KAAA,YAAAA,CAAA;IAAA,OAAAL,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAM,OAAA;EAAA,MAAAN,IAAA,GAAAC,OAAA;EAAAK,MAAA,YAAAA,CAAA;IAAA,OAAAN,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAA8D,SAAAO,gBAAAC,CAAA,EAAAC,CAAA,EAAAC,CAAA,YAAAD,CAAA,GAAAE,cAAA,CAAAF,CAAA,MAAAD,CAAA,GAAAI,MAAA,CAAAC,cAAA,CAAAL,CAAA,EAAAC,CAAA,IAAAK,KAAA,EAAAJ,CAAA,EAAAK,UAAA,MAAAC,YAAA,MAAAC,QAAA,UAAAT,CAAA,CAAAC,CAAA,IAAAC,CAAA,EAAAF,CAAA;AAAA,SAAAG,eAAAD,CAAA,QAAAQ,CAAA,GAAAC,YA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C,MAAM,CAAC;EACzC;AACF;AAACJ,OAAA,CAAAC,QAAA,GAAAA,QAAA;AAAArB,eAAA,CAxBYqB,QAAQ,aAgBFmB,kBAAW;AAAAxC,eAAA,CAhBjBqB,QAAQ,kBAiBG,CAACoB,sBAAY,EAAEC,sBAAY,CAAC;AASpDT,kBAAU,CAACU,UAAU,CAACtB,QAAQ,CAAC","ignoreList":[]}
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.defender_jest@1.0.424/dist/jest.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.defender_jest@1.0.424/dist/jest.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.defender_jest@1.0.426/dist/jest.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.defender_jest@1.0.426/dist/jest.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/jest",
3
- "version": "1.0.424",
3
+ "version": "1.0.426",
4
4
  "homepage": "https://bit.cloud/teambit/defender/jest",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.defender",
8
8
  "name": "jest",
9
- "version": "1.0.424"
9
+ "version": "1.0.426"
10
10
  },
11
11
  "dependencies": {
12
12
  "lodash": "4.17.21",
@@ -21,11 +21,11 @@
21
21
  "jest-watcher": "29.7.0",
22
22
  "@teambit/harmony": "0.4.6",
23
23
  "@teambit/tests-results": "1.0.5",
24
- "@teambit/cli": "0.0.1001",
25
- "@teambit/logger": "0.0.1094",
26
- "@teambit/worker": "0.0.1305",
27
- "@teambit/component": "1.0.424",
28
- "@teambit/tester": "1.0.424"
24
+ "@teambit/cli": "0.0.1003",
25
+ "@teambit/logger": "0.0.1096",
26
+ "@teambit/worker": "0.0.1307",
27
+ "@teambit/component": "1.0.426",
28
+ "@teambit/tester": "1.0.426"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/lodash": "4.14.165",
@@ -36,7 +36,7 @@
36
36
  "@teambit/harmony.envs.core-aspect-env": "0.0.60"
37
37
  },
38
38
  "peerDependencies": {
39
- "@teambit/legacy": "1.0.750",
39
+ "@teambit/legacy": "1.0.751",
40
40
  "react": "^17.0.0 || ^18.0.0",
41
41
  "@types/react": "^17.0.73"
42
42
  },