vitest 2.1.0-beta.6 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +52 -342
- package/dist/browser.d.ts +4 -2
- package/dist/browser.js +1 -1
- package/dist/chunks/{RandomSequencer.CjkAy_bL.js → RandomSequencer.Bh5-tlNJ.js} +10 -37
- package/dist/chunks/{base.BH-FAiX7.js → base.BlXpj3e_.js} +1 -29
- package/dist/chunks/{base.B-9RAXb6.js → base.CsQmmYBA.js} +2 -4
- package/dist/chunks/{cac.BZlOqtiQ.js → cac.Ce8UWvQp.js} +25 -16
- package/dist/chunks/{cli-api.B-2f6g4d.js → cli-api.KmLFBnKP.js} +2778 -3488
- package/dist/chunks/{creator.D0TxjnLa.js → creator.zfBZSJzo.js} +8 -11
- package/dist/chunks/{execute.DT9BA6zp.js → execute._eQQfgI8.js} +322 -232
- package/dist/chunks/{git.ZtkbKc8u.js → git.B5SDxu-n.js} +5 -5
- package/dist/chunks/{globals.Br36EZIp.js → globals.C03P0O1a.js} +3 -3
- package/dist/chunks/{index.CM5UI-4O.js → index.Bn75ITYg.js} +3 -3
- package/dist/chunks/index.CPD77dLA.js +133 -0
- package/dist/chunks/{index.dWDhoZDV.js → index.DkN6V87F.js} +1 -1
- package/dist/chunks/{index.m3Xip5Zz.js → index.iyKRMe3s.js} +1 -1
- package/dist/chunks/{index.C4LZENmc.js → index.zPibhCkV.js} +43 -45
- package/dist/chunks/mocker.cRtM890J.d.ts +17 -0
- package/dist/chunks/{reporters.B0Ao6Zu1.d.ts → reporters.WnPwkmgA.d.ts} +30 -22
- package/dist/chunks/{resolveConfig.C0vpvVRF.js → resolveConfig.-K5hHm0S.js} +19 -6
- package/dist/chunks/{runBaseTests.Cf8lGnUq.js → runBaseTests.9YDrdSI4.js} +6 -6
- package/dist/chunks/{setup-common.B7uEQsGB.js → setup-common.DV1PI68g.js} +1 -1
- package/dist/chunks/{utils.C3_cBsyn.js → utils.Cn0zI1t3.js} +16 -3
- package/dist/chunks/{utils.DO38lwfj.js → utils.Dbnmsfq1.js} +1 -1
- package/dist/chunks/{vi.DBepMgvg.js → vi.D6IHiKAI.js} +40 -46
- package/dist/chunks/{vite.Bvz2vSw0.d.ts → vite.D2yAwzwa.d.ts} +1 -1
- package/dist/chunks/{vm.kl9T_5ai.js → vm.CPXwWp4C.js} +1 -2
- package/dist/chunks/{worker.DTM-0OlZ.d.ts → worker.Bws9Zuxu.d.ts} +1 -1
- package/dist/chunks/{worker.CTdJUeeB.d.ts → worker.CmPmTxgH.d.ts} +1 -14
- package/dist/cli.js +2 -2
- package/dist/config.d.ts +2 -2
- package/dist/coverage.d.ts +1 -1
- package/dist/coverage.js +4 -4
- package/dist/execute.d.ts +12 -13
- package/dist/execute.js +3 -2
- package/dist/index.d.ts +17 -15
- package/dist/index.js +4 -4
- package/dist/mocker.d.ts +1 -0
- package/dist/mocker.js +1 -0
- package/dist/node.d.ts +15 -7
- package/dist/node.js +18 -16
- package/dist/reporters.d.ts +1 -1
- package/dist/reporters.js +5 -5
- package/dist/runners.js +2 -2
- package/dist/utils.d.ts +1 -0
- package/dist/worker.js +3 -2
- package/dist/workers/forks.js +5 -4
- package/dist/workers/runVmTests.js +5 -5
- package/dist/workers/threads.js +5 -4
- package/dist/workers/vmForks.js +4 -4
- package/dist/workers/vmThreads.js +4 -4
- package/dist/workers.d.ts +2 -2
- package/dist/workers.js +6 -5
- package/mocker.d.ts +1 -0
- package/package.json +22 -17
- package/dist/chunks/index.CWhwfxXK.js +0 -835
package/LICENSE.md
CHANGED
|
@@ -57,90 +57,6 @@ Repository: git+https://github.com/antfu/install-pkg.git
|
|
|
57
57
|
|
|
58
58
|
---------------------------------------
|
|
59
59
|
|
|
60
|
-
## @nodelib/fs.scandir
|
|
61
|
-
License: MIT
|
|
62
|
-
Repository: https://github.com/nodelib/nodelib/tree/master/packages/fs/fs.scandir
|
|
63
|
-
|
|
64
|
-
> The MIT License (MIT)
|
|
65
|
-
>
|
|
66
|
-
> Copyright (c) Denis Malinochkin
|
|
67
|
-
>
|
|
68
|
-
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
69
|
-
> of this software and associated documentation files (the "Software"), to deal
|
|
70
|
-
> in the Software without restriction, including without limitation the rights
|
|
71
|
-
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
72
|
-
> copies of the Software, and to permit persons to whom the Software is
|
|
73
|
-
> furnished to do so, subject to the following conditions:
|
|
74
|
-
>
|
|
75
|
-
> The above copyright notice and this permission notice shall be included in all
|
|
76
|
-
> copies or substantial portions of the Software.
|
|
77
|
-
>
|
|
78
|
-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
79
|
-
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
80
|
-
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
81
|
-
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
82
|
-
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
83
|
-
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
84
|
-
> SOFTWARE.
|
|
85
|
-
|
|
86
|
-
---------------------------------------
|
|
87
|
-
|
|
88
|
-
## @nodelib/fs.stat
|
|
89
|
-
License: MIT
|
|
90
|
-
Repository: https://github.com/nodelib/nodelib/tree/master/packages/fs/fs.stat
|
|
91
|
-
|
|
92
|
-
> The MIT License (MIT)
|
|
93
|
-
>
|
|
94
|
-
> Copyright (c) Denis Malinochkin
|
|
95
|
-
>
|
|
96
|
-
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
97
|
-
> of this software and associated documentation files (the "Software"), to deal
|
|
98
|
-
> in the Software without restriction, including without limitation the rights
|
|
99
|
-
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
100
|
-
> copies of the Software, and to permit persons to whom the Software is
|
|
101
|
-
> furnished to do so, subject to the following conditions:
|
|
102
|
-
>
|
|
103
|
-
> The above copyright notice and this permission notice shall be included in all
|
|
104
|
-
> copies or substantial portions of the Software.
|
|
105
|
-
>
|
|
106
|
-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
107
|
-
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
108
|
-
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
109
|
-
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
110
|
-
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
111
|
-
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
112
|
-
> SOFTWARE.
|
|
113
|
-
|
|
114
|
-
---------------------------------------
|
|
115
|
-
|
|
116
|
-
## @nodelib/fs.walk
|
|
117
|
-
License: MIT
|
|
118
|
-
Repository: https://github.com/nodelib/nodelib/tree/master/packages/fs/fs.walk
|
|
119
|
-
|
|
120
|
-
> The MIT License (MIT)
|
|
121
|
-
>
|
|
122
|
-
> Copyright (c) Denis Malinochkin
|
|
123
|
-
>
|
|
124
|
-
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
125
|
-
> of this software and associated documentation files (the "Software"), to deal
|
|
126
|
-
> in the Software without restriction, including without limitation the rights
|
|
127
|
-
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
128
|
-
> copies of the Software, and to permit persons to whom the Software is
|
|
129
|
-
> furnished to do so, subject to the following conditions:
|
|
130
|
-
>
|
|
131
|
-
> The above copyright notice and this permission notice shall be included in all
|
|
132
|
-
> copies or substantial portions of the Software.
|
|
133
|
-
>
|
|
134
|
-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
135
|
-
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
136
|
-
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
137
|
-
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
138
|
-
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
139
|
-
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
140
|
-
> SOFTWARE.
|
|
141
|
-
|
|
142
|
-
---------------------------------------
|
|
143
|
-
|
|
144
60
|
## @sinonjs/commons
|
|
145
61
|
License: BSD-3-Clause
|
|
146
62
|
Repository: git+https://github.com/sinonjs/commons.git
|
|
@@ -669,53 +585,18 @@ Repository: https://github.com/mmkal/expect-type.git
|
|
|
669
585
|
|
|
670
586
|
---------------------------------------
|
|
671
587
|
|
|
672
|
-
##
|
|
588
|
+
## fdir
|
|
673
589
|
License: MIT
|
|
674
|
-
By:
|
|
675
|
-
Repository:
|
|
590
|
+
By: thecodrr
|
|
591
|
+
Repository: git+https://github.com/thecodrr/fdir.git
|
|
676
592
|
|
|
677
|
-
>
|
|
678
|
-
>
|
|
679
|
-
> Copyright (c) Denis Malinochkin
|
|
680
|
-
>
|
|
681
|
-
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
682
|
-
> of this software and associated documentation files (the "Software"), to deal
|
|
683
|
-
> in the Software without restriction, including without limitation the rights
|
|
684
|
-
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
685
|
-
> copies of the Software, and to permit persons to whom the Software is
|
|
686
|
-
> furnished to do so, subject to the following conditions:
|
|
593
|
+
> Copyright 2023 Abdullah Atta
|
|
687
594
|
>
|
|
688
|
-
>
|
|
689
|
-
> copies or substantial portions of the Software.
|
|
690
|
-
>
|
|
691
|
-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
692
|
-
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
693
|
-
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
694
|
-
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
695
|
-
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
696
|
-
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
697
|
-
> SOFTWARE.
|
|
698
|
-
|
|
699
|
-
---------------------------------------
|
|
700
|
-
|
|
701
|
-
## fastq
|
|
702
|
-
License: ISC
|
|
703
|
-
By: Matteo Collina
|
|
704
|
-
Repository: git+https://github.com/mcollina/fastq.git
|
|
705
|
-
|
|
706
|
-
> Copyright (c) 2015-2020, Matteo Collina <matteo.collina@gmail.com>
|
|
595
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
707
596
|
>
|
|
708
|
-
>
|
|
709
|
-
> purpose with or without fee is hereby granted, provided that the above
|
|
710
|
-
> copyright notice and this permission notice appear in all copies.
|
|
597
|
+
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
711
598
|
>
|
|
712
|
-
> THE SOFTWARE IS PROVIDED "AS IS" AND THE
|
|
713
|
-
> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
714
|
-
> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
715
|
-
> ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
716
|
-
> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
717
|
-
> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
718
|
-
> OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
599
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
719
600
|
|
|
720
601
|
---------------------------------------
|
|
721
602
|
|
|
@@ -834,58 +715,6 @@ Repository: privatenumber/get-tsconfig
|
|
|
834
715
|
|
|
835
716
|
---------------------------------------
|
|
836
717
|
|
|
837
|
-
## glob-parent
|
|
838
|
-
License: ISC
|
|
839
|
-
By: Gulp Team, Elan Shanker, Blaine Bublitz
|
|
840
|
-
Repository: gulpjs/glob-parent
|
|
841
|
-
|
|
842
|
-
> The ISC License
|
|
843
|
-
>
|
|
844
|
-
> Copyright (c) 2015, 2019 Elan Shanker
|
|
845
|
-
>
|
|
846
|
-
> Permission to use, copy, modify, and/or distribute this software for any
|
|
847
|
-
> purpose with or without fee is hereby granted, provided that the above
|
|
848
|
-
> copyright notice and this permission notice appear in all copies.
|
|
849
|
-
>
|
|
850
|
-
> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
851
|
-
> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
852
|
-
> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
853
|
-
> ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
854
|
-
> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
855
|
-
> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
|
856
|
-
> IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
857
|
-
|
|
858
|
-
---------------------------------------
|
|
859
|
-
|
|
860
|
-
## is-extglob
|
|
861
|
-
License: MIT
|
|
862
|
-
By: Jon Schlinkert
|
|
863
|
-
Repository: jonschlinkert/is-extglob
|
|
864
|
-
|
|
865
|
-
> The MIT License (MIT)
|
|
866
|
-
>
|
|
867
|
-
> Copyright (c) 2014-2016, Jon Schlinkert
|
|
868
|
-
>
|
|
869
|
-
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
870
|
-
> of this software and associated documentation files (the "Software"), to deal
|
|
871
|
-
> in the Software without restriction, including without limitation the rights
|
|
872
|
-
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
873
|
-
> copies of the Software, and to permit persons to whom the Software is
|
|
874
|
-
> furnished to do so, subject to the following conditions:
|
|
875
|
-
>
|
|
876
|
-
> The above copyright notice and this permission notice shall be included in
|
|
877
|
-
> all copies or substantial portions of the Software.
|
|
878
|
-
>
|
|
879
|
-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
880
|
-
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
881
|
-
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
882
|
-
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
883
|
-
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
884
|
-
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
885
|
-
> THE SOFTWARE.
|
|
886
|
-
|
|
887
|
-
---------------------------------------
|
|
888
|
-
|
|
889
718
|
## is-fullwidth-code-point
|
|
890
719
|
License: MIT
|
|
891
720
|
By: Sindre Sorhus
|
|
@@ -903,35 +732,6 @@ Repository: sindresorhus/is-fullwidth-code-point
|
|
|
903
732
|
|
|
904
733
|
---------------------------------------
|
|
905
734
|
|
|
906
|
-
## is-glob
|
|
907
|
-
License: MIT
|
|
908
|
-
By: Jon Schlinkert, Brian Woodward, Daniel Perez
|
|
909
|
-
Repository: micromatch/is-glob
|
|
910
|
-
|
|
911
|
-
> The MIT License (MIT)
|
|
912
|
-
>
|
|
913
|
-
> Copyright (c) 2014-2017, Jon Schlinkert.
|
|
914
|
-
>
|
|
915
|
-
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
916
|
-
> of this software and associated documentation files (the "Software"), to deal
|
|
917
|
-
> in the Software without restriction, including without limitation the rights
|
|
918
|
-
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
919
|
-
> copies of the Software, and to permit persons to whom the Software is
|
|
920
|
-
> furnished to do so, subject to the following conditions:
|
|
921
|
-
>
|
|
922
|
-
> The above copyright notice and this permission notice shall be included in
|
|
923
|
-
> all copies or substantial portions of the Software.
|
|
924
|
-
>
|
|
925
|
-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
926
|
-
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
927
|
-
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
928
|
-
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
929
|
-
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
930
|
-
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
931
|
-
> THE SOFTWARE.
|
|
932
|
-
|
|
933
|
-
---------------------------------------
|
|
934
|
-
|
|
935
735
|
## is-number
|
|
936
736
|
License: MIT
|
|
937
737
|
By: Jon Schlinkert, Olsten Larck, Rouven Weßling
|
|
@@ -1082,34 +882,6 @@ Repository: sindresorhus/log-update
|
|
|
1082
882
|
|
|
1083
883
|
---------------------------------------
|
|
1084
884
|
|
|
1085
|
-
## merge2
|
|
1086
|
-
License: MIT
|
|
1087
|
-
Repository: git@github.com:teambition/merge2.git
|
|
1088
|
-
|
|
1089
|
-
> The MIT License (MIT)
|
|
1090
|
-
>
|
|
1091
|
-
> Copyright (c) 2014-2020 Teambition
|
|
1092
|
-
>
|
|
1093
|
-
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1094
|
-
> of this software and associated documentation files (the "Software"), to deal
|
|
1095
|
-
> in the Software without restriction, including without limitation the rights
|
|
1096
|
-
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
1097
|
-
> copies of the Software, and to permit persons to whom the Software is
|
|
1098
|
-
> furnished to do so, subject to the following conditions:
|
|
1099
|
-
>
|
|
1100
|
-
> The above copyright notice and this permission notice shall be included in all
|
|
1101
|
-
> copies or substantial portions of the Software.
|
|
1102
|
-
>
|
|
1103
|
-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1104
|
-
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1105
|
-
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1106
|
-
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1107
|
-
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1108
|
-
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1109
|
-
> SOFTWARE.
|
|
1110
|
-
|
|
1111
|
-
---------------------------------------
|
|
1112
|
-
|
|
1113
885
|
## micromatch
|
|
1114
886
|
License: MIT
|
|
1115
887
|
By: Jon Schlinkert, Amila Welihinda, Bogdan Chadkin, Brian Woodward, Devon Govett, Elan Shanker, Fabrício Matté, Martin Kolárik, Olsten Larck, Paul Miller, Tom Byrer, Tyler Akins, Peter Bright, Kuba Juszczyk
|
|
@@ -1235,6 +1007,35 @@ Repository: sindresorhus/p-locate
|
|
|
1235
1007
|
|
|
1236
1008
|
---------------------------------------
|
|
1237
1009
|
|
|
1010
|
+
## package-manager-detector
|
|
1011
|
+
License: MIT
|
|
1012
|
+
By: Anthony Fu
|
|
1013
|
+
Repository: git+https://github.com/antfu-collective/package-manager-detector.git
|
|
1014
|
+
|
|
1015
|
+
> MIT License
|
|
1016
|
+
>
|
|
1017
|
+
> Copyright (c) 2020-PRESENT Anthony Fu <https://github.com/antfu>
|
|
1018
|
+
>
|
|
1019
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1020
|
+
> of this software and associated documentation files (the "Software"), to deal
|
|
1021
|
+
> in the Software without restriction, including without limitation the rights
|
|
1022
|
+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
1023
|
+
> copies of the Software, and to permit persons to whom the Software is
|
|
1024
|
+
> furnished to do so, subject to the following conditions:
|
|
1025
|
+
>
|
|
1026
|
+
> The above copyright notice and this permission notice shall be included in all
|
|
1027
|
+
> copies or substantial portions of the Software.
|
|
1028
|
+
>
|
|
1029
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1030
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1031
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1032
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1033
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1034
|
+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1035
|
+
> SOFTWARE.
|
|
1036
|
+
|
|
1037
|
+
---------------------------------------
|
|
1038
|
+
|
|
1238
1039
|
## picomatch
|
|
1239
1040
|
License: MIT
|
|
1240
1041
|
By: Jon Schlinkert
|
|
@@ -1293,34 +1094,6 @@ Repository: terkelg/prompts
|
|
|
1293
1094
|
|
|
1294
1095
|
---------------------------------------
|
|
1295
1096
|
|
|
1296
|
-
## queue-microtask
|
|
1297
|
-
License: MIT
|
|
1298
|
-
By: Feross Aboukhadijeh
|
|
1299
|
-
Repository: git://github.com/feross/queue-microtask.git
|
|
1300
|
-
|
|
1301
|
-
> The MIT License (MIT)
|
|
1302
|
-
>
|
|
1303
|
-
> Copyright (c) Feross Aboukhadijeh
|
|
1304
|
-
>
|
|
1305
|
-
> Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
1306
|
-
> this software and associated documentation files (the "Software"), to deal in
|
|
1307
|
-
> the Software without restriction, including without limitation the rights to
|
|
1308
|
-
> use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
1309
|
-
> the Software, and to permit persons to whom the Software is furnished to do so,
|
|
1310
|
-
> subject to the following conditions:
|
|
1311
|
-
>
|
|
1312
|
-
> The above copyright notice and this permission notice shall be included in all
|
|
1313
|
-
> copies or substantial portions of the Software.
|
|
1314
|
-
>
|
|
1315
|
-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1316
|
-
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
1317
|
-
> FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
1318
|
-
> COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
1319
|
-
> IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
1320
|
-
> CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1321
|
-
|
|
1322
|
-
---------------------------------------
|
|
1323
|
-
|
|
1324
1097
|
## resolve-pkg-maps
|
|
1325
1098
|
License: MIT
|
|
1326
1099
|
By: Hiroki Osame
|
|
@@ -1367,63 +1140,6 @@ Repository: sindresorhus/restore-cursor
|
|
|
1367
1140
|
|
|
1368
1141
|
---------------------------------------
|
|
1369
1142
|
|
|
1370
|
-
## reusify
|
|
1371
|
-
License: MIT
|
|
1372
|
-
By: Matteo Collina
|
|
1373
|
-
Repository: git+https://github.com/mcollina/reusify.git
|
|
1374
|
-
|
|
1375
|
-
> The MIT License (MIT)
|
|
1376
|
-
>
|
|
1377
|
-
> Copyright (c) 2015 Matteo Collina
|
|
1378
|
-
>
|
|
1379
|
-
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1380
|
-
> of this software and associated documentation files (the "Software"), to deal
|
|
1381
|
-
> in the Software without restriction, including without limitation the rights
|
|
1382
|
-
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
1383
|
-
> copies of the Software, and to permit persons to whom the Software is
|
|
1384
|
-
> furnished to do so, subject to the following conditions:
|
|
1385
|
-
>
|
|
1386
|
-
> The above copyright notice and this permission notice shall be included in all
|
|
1387
|
-
> copies or substantial portions of the Software.
|
|
1388
|
-
>
|
|
1389
|
-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1390
|
-
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1391
|
-
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1392
|
-
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1393
|
-
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1394
|
-
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1395
|
-
> SOFTWARE.
|
|
1396
|
-
|
|
1397
|
-
---------------------------------------
|
|
1398
|
-
|
|
1399
|
-
## run-parallel
|
|
1400
|
-
License: MIT
|
|
1401
|
-
By: Feross Aboukhadijeh
|
|
1402
|
-
Repository: git://github.com/feross/run-parallel.git
|
|
1403
|
-
|
|
1404
|
-
> The MIT License (MIT)
|
|
1405
|
-
>
|
|
1406
|
-
> Copyright (c) Feross Aboukhadijeh
|
|
1407
|
-
>
|
|
1408
|
-
> Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
1409
|
-
> this software and associated documentation files (the "Software"), to deal in
|
|
1410
|
-
> the Software without restriction, including without limitation the rights to
|
|
1411
|
-
> use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
1412
|
-
> the Software, and to permit persons to whom the Software is furnished to do so,
|
|
1413
|
-
> subject to the following conditions:
|
|
1414
|
-
>
|
|
1415
|
-
> The above copyright notice and this permission notice shall be included in all
|
|
1416
|
-
> copies or substantial portions of the Software.
|
|
1417
|
-
>
|
|
1418
|
-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1419
|
-
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
1420
|
-
> FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
1421
|
-
> COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
1422
|
-
> IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
1423
|
-
> CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1424
|
-
|
|
1425
|
-
---------------------------------------
|
|
1426
|
-
|
|
1427
1143
|
## signal-exit
|
|
1428
1144
|
License: ISC
|
|
1429
1145
|
By: Ben Coe
|
|
@@ -1557,32 +1273,26 @@ Repository: git+https://github.com/antfu/strip-literal.git
|
|
|
1557
1273
|
|
|
1558
1274
|
---------------------------------------
|
|
1559
1275
|
|
|
1560
|
-
##
|
|
1561
|
-
License:
|
|
1562
|
-
By:
|
|
1563
|
-
Repository: git+https://github.com/
|
|
1276
|
+
## tinyglobby
|
|
1277
|
+
License: ISC
|
|
1278
|
+
By: Superchupu
|
|
1279
|
+
Repository: git+https://github.com/SuperchupuDev/tinyglobby.git
|
|
1564
1280
|
|
|
1565
|
-
>
|
|
1281
|
+
> ISC License
|
|
1566
1282
|
>
|
|
1567
|
-
> Copyright (c) 2024
|
|
1283
|
+
> Copyright (c) 2024 Madeline Gurriarán
|
|
1568
1284
|
>
|
|
1569
|
-
> Permission
|
|
1570
|
-
>
|
|
1571
|
-
>
|
|
1572
|
-
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
1573
|
-
> copies of the Software, and to permit persons to whom the Software is
|
|
1574
|
-
> furnished to do so, subject to the following conditions:
|
|
1575
|
-
>
|
|
1576
|
-
> The above copyright notice and this permission notice shall be included in all
|
|
1577
|
-
> copies or substantial portions of the Software.
|
|
1285
|
+
> Permission to use, copy, modify, and/or distribute this software for any
|
|
1286
|
+
> purpose with or without fee is hereby granted, provided that the above
|
|
1287
|
+
> copyright notice and this permission notice appear in all copies.
|
|
1578
1288
|
>
|
|
1579
|
-
> THE SOFTWARE IS PROVIDED "AS IS"
|
|
1580
|
-
>
|
|
1581
|
-
>
|
|
1582
|
-
>
|
|
1583
|
-
>
|
|
1584
|
-
>
|
|
1585
|
-
> SOFTWARE.
|
|
1289
|
+
> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
1290
|
+
> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
1291
|
+
> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
1292
|
+
> ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
1293
|
+
> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
1294
|
+
> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
1295
|
+
> OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
1586
1296
|
|
|
1587
1297
|
---------------------------------------
|
|
1588
1298
|
|
package/dist/browser.d.ts
CHANGED
|
@@ -2,14 +2,16 @@ export { collectTests, processError, startTests } from '@vitest/runner';
|
|
|
2
2
|
import { DiffOptions } from '@vitest/expect';
|
|
3
3
|
import { VitestExecutor } from './execute.js';
|
|
4
4
|
import { S as SerializedConfig, a as SerializedCoverageConfig } from './chunks/config.CHuotKvS.js';
|
|
5
|
-
import { C as CoverageProvider, a as CoverageProviderModule } from './chunks/reporters.
|
|
5
|
+
import { C as CoverageProvider, a as CoverageProviderModule } from './chunks/reporters.WnPwkmgA.js';
|
|
6
6
|
import * as spy$1 from '@vitest/spy';
|
|
7
7
|
import 'node:vm';
|
|
8
8
|
import 'vite-node/client';
|
|
9
9
|
import 'vite-node';
|
|
10
|
-
import './chunks/worker.
|
|
10
|
+
import './chunks/worker.CmPmTxgH.js';
|
|
11
11
|
import '@vitest/snapshot';
|
|
12
12
|
import './chunks/environment.C5eAp3K6.js';
|
|
13
|
+
import '@vitest/mocker';
|
|
14
|
+
import './chunks/mocker.cRtM890J.js';
|
|
13
15
|
import '@vitest/pretty-format';
|
|
14
16
|
import '@vitest/snapshot/environment';
|
|
15
17
|
import 'vite';
|
package/dist/browser.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { collectTests, processError, startTests } from '@vitest/runner';
|
|
2
|
-
export { l as loadDiffConfig, a as loadSnapshotSerializers, s as setupCommonEnv } from './chunks/setup-common.
|
|
2
|
+
export { l as loadDiffConfig, a as loadSnapshotSerializers, s as setupCommonEnv } from './chunks/setup-common.DV1PI68g.js';
|
|
3
3
|
export { g as getCoverageProvider, a as startCoverageInsideWorker, s as stopCoverageInsideWorker, t as takeCoverageInsideWorker } from './chunks/coverage.zlNdAMHK.js';
|
|
4
4
|
export { s as SpyModule } from './chunks/spy.Cf_4R5Oe.js';
|
|
5
5
|
import '@vitest/utils';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { writeFile, rm } from 'node:fs/promises';
|
|
2
2
|
import { performance } from 'node:perf_hooks';
|
|
3
|
-
import { execa } from 'execa';
|
|
4
3
|
import { basename, dirname, resolve, join, relative, extname } from 'pathe';
|
|
5
4
|
import { TraceMap, generatedPositionFor } from '@vitest/utils/source-map';
|
|
5
|
+
import { x as x$1 } from 'tinyexec';
|
|
6
6
|
import { generateHash, calculateSuiteHash, someTasksAreOnly, interpretTaskModes, getTasks } from '@vitest/runner/utils';
|
|
7
7
|
import { shuffle } from '@vitest/utils';
|
|
8
8
|
import './env.CmHVDJnw.js';
|
|
@@ -181,35 +181,6 @@ function ancestor(node, visitors, baseVisitor, state, override) {
|
|
|
181
181
|
})(node, state, override);
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
-
function makeTest(test) {
|
|
185
|
-
if (typeof test === "string")
|
|
186
|
-
{ return function (type) { return type === test; } }
|
|
187
|
-
else if (!test)
|
|
188
|
-
{ return function () { return true; } }
|
|
189
|
-
else
|
|
190
|
-
{ return test }
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
var Found = function Found(node, state) { this.node = node; this.state = state; };
|
|
194
|
-
|
|
195
|
-
// Find the innermost node of a given type that contains the given
|
|
196
|
-
// position. Interface similar to findNodeAt.
|
|
197
|
-
function findNodeAround(node, pos, test, baseVisitor, state) {
|
|
198
|
-
test = makeTest(test);
|
|
199
|
-
if (!baseVisitor) { baseVisitor = base; }
|
|
200
|
-
try {
|
|
201
|
-
(function c(node, st, override) {
|
|
202
|
-
var type = override || node.type;
|
|
203
|
-
if (node.start > pos || node.end < pos) { return }
|
|
204
|
-
baseVisitor[type](node, st, c);
|
|
205
|
-
if (test(type, node)) { throw new Found(node, st) }
|
|
206
|
-
})(node, state);
|
|
207
|
-
} catch (e) {
|
|
208
|
-
if (e instanceof Found) { return e }
|
|
209
|
-
throw e
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
|
|
213
184
|
function skipThrough(node, st, c) { c(node, st); }
|
|
214
185
|
function ignore(_node, _st, _c) {}
|
|
215
186
|
|
|
@@ -893,15 +864,17 @@ class Typechecker {
|
|
|
893
864
|
}
|
|
894
865
|
this._output = "";
|
|
895
866
|
this._startTime = performance.now();
|
|
896
|
-
const child =
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
867
|
+
const child = x$1(typecheck.checker, args, {
|
|
868
|
+
nodeOptions: {
|
|
869
|
+
cwd: root,
|
|
870
|
+
stdio: "pipe"
|
|
871
|
+
},
|
|
872
|
+
throwOnError: false
|
|
900
873
|
});
|
|
901
|
-
this.process = child;
|
|
874
|
+
this.process = child.process;
|
|
902
875
|
await this._onParseStart?.();
|
|
903
876
|
let rerunTriggered = false;
|
|
904
|
-
child.stdout?.on("data", (chunk) => {
|
|
877
|
+
child.process?.stdout?.on("data", (chunk) => {
|
|
905
878
|
this._output += chunk;
|
|
906
879
|
if (!watch) {
|
|
907
880
|
return;
|
|
@@ -995,4 +968,4 @@ class RandomSequencer extends BaseSequencer {
|
|
|
995
968
|
}
|
|
996
969
|
}
|
|
997
970
|
|
|
998
|
-
export { BaseSequencer as B, RandomSequencer as R, Typechecker as T, TypeCheckError as a,
|
|
971
|
+
export { BaseSequencer as B, RandomSequencer as R, Typechecker as T, TypeCheckError as a, getOutputFile as g, wrapSerializableConfig as w };
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import '@vitest/utils';
|
|
2
2
|
|
|
3
|
-
function collectOwnProperties(obj, collector) {
|
|
4
|
-
const collect = typeof collector === "function" ? collector : (key) => collector.add(key);
|
|
5
|
-
Object.getOwnPropertyNames(obj).forEach(collect);
|
|
6
|
-
Object.getOwnPropertySymbols(obj).forEach(collect);
|
|
7
|
-
}
|
|
8
3
|
function groupBy(collection, iteratee) {
|
|
9
4
|
return collection.reduce((acc, item) => {
|
|
10
5
|
const key = iteratee(item);
|
|
@@ -16,29 +11,6 @@ function groupBy(collection, iteratee) {
|
|
|
16
11
|
function isPrimitive(value) {
|
|
17
12
|
return value === null || typeof value !== "function" && typeof value !== "object";
|
|
18
13
|
}
|
|
19
|
-
function getAllMockableProperties(obj, isModule, constructors) {
|
|
20
|
-
const { Map, Object: Object2, Function, RegExp: RegExp2, Array: Array2 } = constructors;
|
|
21
|
-
const allProps = new Map();
|
|
22
|
-
let curr = obj;
|
|
23
|
-
do {
|
|
24
|
-
if (curr === Object2.prototype || curr === Function.prototype || curr === RegExp2.prototype) {
|
|
25
|
-
break;
|
|
26
|
-
}
|
|
27
|
-
collectOwnProperties(curr, (key) => {
|
|
28
|
-
const descriptor = Object2.getOwnPropertyDescriptor(curr, key);
|
|
29
|
-
if (descriptor) {
|
|
30
|
-
allProps.set(key, { key, descriptor });
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
} while (curr = Object2.getPrototypeOf(curr));
|
|
34
|
-
if (isModule && !allProps.has("default") && "default" in obj) {
|
|
35
|
-
const descriptor = Object2.getOwnPropertyDescriptor(obj, "default");
|
|
36
|
-
if (descriptor) {
|
|
37
|
-
allProps.set("default", { key: "default", descriptor });
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
return Array2.from(allProps.values());
|
|
41
|
-
}
|
|
42
14
|
function slash(str) {
|
|
43
15
|
return str.replace(/\\/g, "/");
|
|
44
16
|
}
|
|
@@ -123,4 +95,4 @@ function nanoid(size = 21) {
|
|
|
123
95
|
return id;
|
|
124
96
|
}
|
|
125
97
|
|
|
126
|
-
export { AggregateErrorPonyfill as A, slash as a,
|
|
98
|
+
export { AggregateErrorPonyfill as A, slash as a, isPrimitive as b, nanoid as c, deepMerge as d, stdout as e, groupBy as g, isChildProcess as i, noop as n, setProcessTitle as s, toArray as t, wildcardPatternToRegExp as w };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { ModuleCacheMap } from 'vite-node/client';
|
|
2
2
|
import { p as provideWorkerState } from './utils.Ck2hJTRs.js';
|
|
3
|
-
import { g as getDefaultRequestStubs, s as startVitestExecutor } from './execute.
|
|
3
|
+
import { g as getDefaultRequestStubs, s as startVitestExecutor } from './execute._eQQfgI8.js';
|
|
4
4
|
|
|
5
5
|
let _viteNode;
|
|
6
6
|
const moduleCache = new ModuleCacheMap();
|
|
7
|
-
const mockMap = /* @__PURE__ */ new Map();
|
|
8
7
|
async function startViteNode(options) {
|
|
9
8
|
if (_viteNode) {
|
|
10
9
|
return _viteNode;
|
|
@@ -15,7 +14,6 @@ async function startViteNode(options) {
|
|
|
15
14
|
async function runBaseTests(method, state) {
|
|
16
15
|
const { ctx } = state;
|
|
17
16
|
state.moduleCache = moduleCache;
|
|
18
|
-
state.mockMap = mockMap;
|
|
19
17
|
provideWorkerState(globalThis, state);
|
|
20
18
|
if (ctx.invalidates) {
|
|
21
19
|
ctx.invalidates.forEach((fsPath) => {
|
|
@@ -26,7 +24,7 @@ async function runBaseTests(method, state) {
|
|
|
26
24
|
ctx.files.forEach((i) => state.moduleCache.delete(i));
|
|
27
25
|
const [executor, { run }] = await Promise.all([
|
|
28
26
|
startViteNode({ state, requestStubs: getDefaultRequestStubs() }),
|
|
29
|
-
import('./runBaseTests.
|
|
27
|
+
import('./runBaseTests.9YDrdSI4.js')
|
|
30
28
|
]);
|
|
31
29
|
await run(
|
|
32
30
|
method,
|