ibm-cloud-sdk-core 4.3.2 → 4.3.4

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.
Files changed (460) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/es/lib/sdk-test-helpers.js +1 -2
  3. package/iamtest.env +3 -0
  4. package/lib/sdk-test-helpers.js +11 -9
  5. package/package.json +3 -2
  6. package/sdk-test-utilities/node_modules/.package-lock.json +508 -0
  7. package/sdk-test-utilities/node_modules/@babel/code-frame/LICENSE +22 -0
  8. package/sdk-test-utilities/node_modules/@babel/code-frame/README.md +19 -0
  9. package/sdk-test-utilities/node_modules/@babel/code-frame/lib/index.js +156 -0
  10. package/sdk-test-utilities/node_modules/@babel/code-frame/lib/index.js.map +1 -0
  11. package/sdk-test-utilities/node_modules/@babel/code-frame/package.json +30 -0
  12. package/sdk-test-utilities/node_modules/@babel/helper-validator-identifier/LICENSE +22 -0
  13. package/sdk-test-utilities/node_modules/@babel/helper-validator-identifier/README.md +19 -0
  14. package/sdk-test-utilities/node_modules/@babel/helper-validator-identifier/lib/identifier.js +70 -0
  15. package/sdk-test-utilities/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +1 -0
  16. package/sdk-test-utilities/node_modules/@babel/helper-validator-identifier/lib/index.js +57 -0
  17. package/sdk-test-utilities/node_modules/@babel/helper-validator-identifier/lib/index.js.map +1 -0
  18. package/sdk-test-utilities/node_modules/@babel/helper-validator-identifier/lib/keyword.js +35 -0
  19. package/sdk-test-utilities/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +1 -0
  20. package/sdk-test-utilities/node_modules/@babel/helper-validator-identifier/package.json +31 -0
  21. package/sdk-test-utilities/node_modules/@babel/highlight/LICENSE +22 -0
  22. package/sdk-test-utilities/node_modules/@babel/highlight/README.md +19 -0
  23. package/sdk-test-utilities/node_modules/@babel/highlight/lib/index.js +119 -0
  24. package/sdk-test-utilities/node_modules/@babel/highlight/lib/index.js.map +1 -0
  25. package/sdk-test-utilities/node_modules/@babel/highlight/node_modules/ansi-styles/index.js +165 -0
  26. package/sdk-test-utilities/node_modules/@babel/highlight/node_modules/ansi-styles/license +9 -0
  27. package/sdk-test-utilities/node_modules/@babel/highlight/node_modules/ansi-styles/package.json +56 -0
  28. package/sdk-test-utilities/node_modules/@babel/highlight/node_modules/ansi-styles/readme.md +147 -0
  29. package/sdk-test-utilities/node_modules/@babel/highlight/node_modules/chalk/index.js +228 -0
  30. package/sdk-test-utilities/node_modules/@babel/highlight/node_modules/chalk/index.js.flow +93 -0
  31. package/sdk-test-utilities/node_modules/@babel/highlight/node_modules/chalk/license +9 -0
  32. package/sdk-test-utilities/node_modules/@babel/highlight/node_modules/chalk/package.json +71 -0
  33. package/sdk-test-utilities/node_modules/@babel/highlight/node_modules/chalk/readme.md +314 -0
  34. package/sdk-test-utilities/node_modules/@babel/highlight/node_modules/chalk/templates.js +128 -0
  35. package/sdk-test-utilities/node_modules/@babel/highlight/node_modules/chalk/types/index.d.ts +97 -0
  36. package/sdk-test-utilities/node_modules/@babel/highlight/node_modules/color-convert/CHANGELOG.md +54 -0
  37. package/sdk-test-utilities/node_modules/@babel/highlight/node_modules/color-convert/LICENSE +21 -0
  38. package/sdk-test-utilities/node_modules/@babel/highlight/node_modules/color-convert/README.md +68 -0
  39. package/sdk-test-utilities/node_modules/@babel/highlight/node_modules/color-convert/conversions.js +868 -0
  40. package/sdk-test-utilities/node_modules/@babel/highlight/node_modules/color-convert/index.js +78 -0
  41. package/sdk-test-utilities/node_modules/@babel/highlight/node_modules/color-convert/package.json +46 -0
  42. package/sdk-test-utilities/node_modules/@babel/highlight/node_modules/color-convert/route.js +97 -0
  43. package/sdk-test-utilities/node_modules/@babel/highlight/node_modules/color-name/.eslintrc.json +43 -0
  44. package/sdk-test-utilities/node_modules/@babel/highlight/node_modules/color-name/LICENSE +8 -0
  45. package/sdk-test-utilities/node_modules/@babel/highlight/node_modules/color-name/README.md +11 -0
  46. package/sdk-test-utilities/node_modules/@babel/highlight/node_modules/color-name/index.js +152 -0
  47. package/sdk-test-utilities/node_modules/@babel/highlight/node_modules/color-name/package.json +25 -0
  48. package/sdk-test-utilities/node_modules/@babel/highlight/node_modules/color-name/test.js +7 -0
  49. package/sdk-test-utilities/node_modules/@babel/highlight/node_modules/escape-string-regexp/index.js +11 -0
  50. package/sdk-test-utilities/node_modules/@babel/highlight/node_modules/escape-string-regexp/license +21 -0
  51. package/sdk-test-utilities/node_modules/@babel/highlight/node_modules/escape-string-regexp/package.json +41 -0
  52. package/sdk-test-utilities/node_modules/@babel/highlight/node_modules/escape-string-regexp/readme.md +27 -0
  53. package/sdk-test-utilities/node_modules/@babel/highlight/node_modules/has-flag/index.js +8 -0
  54. package/sdk-test-utilities/node_modules/@babel/highlight/node_modules/has-flag/license +9 -0
  55. package/sdk-test-utilities/node_modules/@babel/highlight/node_modules/has-flag/package.json +44 -0
  56. package/sdk-test-utilities/node_modules/@babel/highlight/node_modules/has-flag/readme.md +70 -0
  57. package/sdk-test-utilities/node_modules/@babel/highlight/node_modules/supports-color/browser.js +5 -0
  58. package/sdk-test-utilities/node_modules/@babel/highlight/node_modules/supports-color/index.js +131 -0
  59. package/sdk-test-utilities/node_modules/@babel/highlight/node_modules/supports-color/license +9 -0
  60. package/sdk-test-utilities/node_modules/@babel/highlight/node_modules/supports-color/package.json +53 -0
  61. package/sdk-test-utilities/node_modules/@babel/highlight/node_modules/supports-color/readme.md +66 -0
  62. package/sdk-test-utilities/node_modules/@babel/highlight/package.json +30 -0
  63. package/sdk-test-utilities/node_modules/@jest/expect-utils/LICENSE +21 -0
  64. package/sdk-test-utilities/node_modules/@jest/expect-utils/README.md +5 -0
  65. package/sdk-test-utilities/node_modules/@jest/expect-utils/build/immutableUtils.js +66 -0
  66. package/sdk-test-utilities/node_modules/@jest/expect-utils/build/index.d.ts +94 -0
  67. package/sdk-test-utilities/node_modules/@jest/expect-utils/build/index.js +34 -0
  68. package/sdk-test-utilities/node_modules/@jest/expect-utils/build/jasmineUtils.js +218 -0
  69. package/sdk-test-utilities/node_modules/@jest/expect-utils/build/types.js +1 -0
  70. package/sdk-test-utilities/node_modules/@jest/expect-utils/build/utils.js +462 -0
  71. package/sdk-test-utilities/node_modules/@jest/expect-utils/package.json +35 -0
  72. package/sdk-test-utilities/node_modules/@jest/schemas/LICENSE +21 -0
  73. package/sdk-test-utilities/node_modules/@jest/schemas/README.md +3 -0
  74. package/sdk-test-utilities/node_modules/@jest/schemas/build/index.d.ts +63 -0
  75. package/sdk-test-utilities/node_modules/@jest/schemas/build/index.js +60 -0
  76. package/sdk-test-utilities/node_modules/@jest/schemas/package.json +29 -0
  77. package/sdk-test-utilities/node_modules/@jest/types/LICENSE +21 -0
  78. package/sdk-test-utilities/node_modules/@jest/types/README.md +30 -0
  79. package/sdk-test-utilities/node_modules/@jest/types/build/Circus.js +1 -0
  80. package/sdk-test-utilities/node_modules/@jest/types/build/Config.js +1 -0
  81. package/sdk-test-utilities/node_modules/@jest/types/build/Global.js +1 -0
  82. package/sdk-test-utilities/node_modules/@jest/types/build/TestResult.js +1 -0
  83. package/sdk-test-utilities/node_modules/@jest/types/build/index.d.ts +1204 -0
  84. package/sdk-test-utilities/node_modules/@jest/types/build/index.js +1 -0
  85. package/sdk-test-utilities/node_modules/@jest/types/package.json +38 -0
  86. package/sdk-test-utilities/node_modules/@sinclair/typebox/compiler/compiler.d.ts +35 -0
  87. package/sdk-test-utilities/node_modules/@sinclair/typebox/compiler/compiler.js +577 -0
  88. package/sdk-test-utilities/node_modules/@sinclair/typebox/compiler/index.d.ts +2 -0
  89. package/sdk-test-utilities/node_modules/@sinclair/typebox/compiler/index.js +47 -0
  90. package/sdk-test-utilities/node_modules/@sinclair/typebox/errors/errors.d.ts +88 -0
  91. package/sdk-test-utilities/node_modules/@sinclair/typebox/errors/errors.js +609 -0
  92. package/sdk-test-utilities/node_modules/@sinclair/typebox/errors/index.d.ts +1 -0
  93. package/sdk-test-utilities/node_modules/@sinclair/typebox/errors/index.js +44 -0
  94. package/sdk-test-utilities/node_modules/@sinclair/typebox/license +23 -0
  95. package/sdk-test-utilities/node_modules/@sinclair/typebox/package.json +47 -0
  96. package/sdk-test-utilities/node_modules/@sinclair/typebox/readme.md +1424 -0
  97. package/sdk-test-utilities/node_modules/@sinclair/typebox/system/index.d.ts +1 -0
  98. package/sdk-test-utilities/node_modules/@sinclair/typebox/system/index.js +44 -0
  99. package/sdk-test-utilities/node_modules/@sinclair/typebox/system/system.d.ts +26 -0
  100. package/sdk-test-utilities/node_modules/@sinclair/typebox/system/system.js +90 -0
  101. package/sdk-test-utilities/node_modules/@sinclair/typebox/typebox.d.ts +723 -0
  102. package/sdk-test-utilities/node_modules/@sinclair/typebox/typebox.js +2220 -0
  103. package/sdk-test-utilities/node_modules/@sinclair/typebox/value/cast.d.ts +30 -0
  104. package/sdk-test-utilities/node_modules/@sinclair/typebox/value/cast.js +372 -0
  105. package/sdk-test-utilities/node_modules/@sinclair/typebox/value/check.d.ts +12 -0
  106. package/sdk-test-utilities/node_modules/@sinclair/typebox/value/check.js +484 -0
  107. package/sdk-test-utilities/node_modules/@sinclair/typebox/value/clone.d.ts +3 -0
  108. package/sdk-test-utilities/node_modules/@sinclair/typebox/value/clone.js +71 -0
  109. package/sdk-test-utilities/node_modules/@sinclair/typebox/value/convert.d.ts +13 -0
  110. package/sdk-test-utilities/node_modules/@sinclair/typebox/value/convert.js +372 -0
  111. package/sdk-test-utilities/node_modules/@sinclair/typebox/value/create.d.ts +26 -0
  112. package/sdk-test-utilities/node_modules/@sinclair/typebox/value/create.js +480 -0
  113. package/sdk-test-utilities/node_modules/@sinclair/typebox/value/delta.d.ts +43 -0
  114. package/sdk-test-utilities/node_modules/@sinclair/typebox/value/delta.js +204 -0
  115. package/sdk-test-utilities/node_modules/@sinclair/typebox/value/equal.d.ts +3 -0
  116. package/sdk-test-utilities/node_modules/@sinclair/typebox/value/equal.js +80 -0
  117. package/sdk-test-utilities/node_modules/@sinclair/typebox/value/hash.d.ts +8 -0
  118. package/sdk-test-utilities/node_modules/@sinclair/typebox/value/hash.js +208 -0
  119. package/sdk-test-utilities/node_modules/@sinclair/typebox/value/index.d.ts +6 -0
  120. package/sdk-test-utilities/node_modules/@sinclair/typebox/value/index.js +56 -0
  121. package/sdk-test-utilities/node_modules/@sinclair/typebox/value/is.d.ts +11 -0
  122. package/sdk-test-utilities/node_modules/@sinclair/typebox/value/is.js +53 -0
  123. package/sdk-test-utilities/node_modules/@sinclair/typebox/value/mutate.d.ts +13 -0
  124. package/sdk-test-utilities/node_modules/@sinclair/typebox/value/mutate.js +121 -0
  125. package/sdk-test-utilities/node_modules/@sinclair/typebox/value/pointer.d.ts +24 -0
  126. package/sdk-test-utilities/node_modules/@sinclair/typebox/value/pointer.js +142 -0
  127. package/sdk-test-utilities/node_modules/@sinclair/typebox/value/value.d.ts +39 -0
  128. package/sdk-test-utilities/node_modules/@sinclair/typebox/value/value.js +99 -0
  129. package/sdk-test-utilities/node_modules/@types/istanbul-lib-coverage/LICENSE +21 -0
  130. package/sdk-test-utilities/node_modules/@types/istanbul-lib-coverage/README.md +15 -0
  131. package/sdk-test-utilities/node_modules/@types/istanbul-lib-coverage/index.d.ts +111 -0
  132. package/sdk-test-utilities/node_modules/@types/istanbul-lib-coverage/package.json +25 -0
  133. package/sdk-test-utilities/node_modules/@types/istanbul-lib-report/LICENSE +21 -0
  134. package/sdk-test-utilities/node_modules/@types/istanbul-lib-report/README.md +15 -0
  135. package/sdk-test-utilities/node_modules/@types/istanbul-lib-report/index.d.ts +184 -0
  136. package/sdk-test-utilities/node_modules/@types/istanbul-lib-report/package.json +32 -0
  137. package/sdk-test-utilities/node_modules/@types/istanbul-reports/LICENSE +21 -0
  138. package/sdk-test-utilities/node_modules/@types/istanbul-reports/README.md +86 -0
  139. package/sdk-test-utilities/node_modules/@types/istanbul-reports/index.d.ts +67 -0
  140. package/sdk-test-utilities/node_modules/@types/istanbul-reports/package.json +32 -0
  141. package/sdk-test-utilities/node_modules/@types/node/LICENSE +21 -0
  142. package/sdk-test-utilities/node_modules/@types/node/README.md +15 -0
  143. package/sdk-test-utilities/node_modules/@types/node/assert/strict.d.ts +8 -0
  144. package/sdk-test-utilities/node_modules/@types/node/assert.d.ts +1040 -0
  145. package/sdk-test-utilities/node_modules/@types/node/async_hooks.d.ts +541 -0
  146. package/sdk-test-utilities/node_modules/@types/node/buffer.d.ts +2363 -0
  147. package/sdk-test-utilities/node_modules/@types/node/child_process.d.ts +1544 -0
  148. package/sdk-test-utilities/node_modules/@types/node/cluster.d.ts +578 -0
  149. package/sdk-test-utilities/node_modules/@types/node/console.d.ts +452 -0
  150. package/sdk-test-utilities/node_modules/@types/node/constants.d.ts +19 -0
  151. package/sdk-test-utilities/node_modules/@types/node/crypto.d.ts +4523 -0
  152. package/sdk-test-utilities/node_modules/@types/node/dgram.d.ts +596 -0
  153. package/sdk-test-utilities/node_modules/@types/node/diagnostics_channel.d.ts +554 -0
  154. package/sdk-test-utilities/node_modules/@types/node/dns/promises.d.ts +474 -0
  155. package/sdk-test-utilities/node_modules/@types/node/dns.d.ts +864 -0
  156. package/sdk-test-utilities/node_modules/@types/node/dom-events.d.ts +124 -0
  157. package/sdk-test-utilities/node_modules/@types/node/domain.d.ts +170 -0
  158. package/sdk-test-utilities/node_modules/@types/node/events.d.ts +909 -0
  159. package/sdk-test-utilities/node_modules/@types/node/fs/promises.d.ts +1245 -0
  160. package/sdk-test-utilities/node_modules/@types/node/fs.d.ts +4317 -0
  161. package/sdk-test-utilities/node_modules/@types/node/globals.d.ts +411 -0
  162. package/sdk-test-utilities/node_modules/@types/node/globals.global.d.ts +1 -0
  163. package/sdk-test-utilities/node_modules/@types/node/http.d.ts +1908 -0
  164. package/sdk-test-utilities/node_modules/@types/node/http2.d.ts +2418 -0
  165. package/sdk-test-utilities/node_modules/@types/node/https.d.ts +550 -0
  166. package/sdk-test-utilities/node_modules/@types/node/index.d.ts +89 -0
  167. package/sdk-test-utilities/node_modules/@types/node/inspector.d.ts +2746 -0
  168. package/sdk-test-utilities/node_modules/@types/node/module.d.ts +315 -0
  169. package/sdk-test-utilities/node_modules/@types/node/net.d.ts +999 -0
  170. package/sdk-test-utilities/node_modules/@types/node/os.d.ts +495 -0
  171. package/sdk-test-utilities/node_modules/@types/node/package.json +217 -0
  172. package/sdk-test-utilities/node_modules/@types/node/path.d.ts +191 -0
  173. package/sdk-test-utilities/node_modules/@types/node/perf_hooks.d.ts +905 -0
  174. package/sdk-test-utilities/node_modules/@types/node/process.d.ts +1754 -0
  175. package/sdk-test-utilities/node_modules/@types/node/punycode.d.ts +117 -0
  176. package/sdk-test-utilities/node_modules/@types/node/querystring.d.ts +153 -0
  177. package/sdk-test-utilities/node_modules/@types/node/readline/promises.d.ts +150 -0
  178. package/sdk-test-utilities/node_modules/@types/node/readline.d.ts +540 -0
  179. package/sdk-test-utilities/node_modules/@types/node/repl.d.ts +430 -0
  180. package/sdk-test-utilities/node_modules/@types/node/sea.d.ts +153 -0
  181. package/sdk-test-utilities/node_modules/@types/node/stream/consumers.d.ts +12 -0
  182. package/sdk-test-utilities/node_modules/@types/node/stream/promises.d.ts +83 -0
  183. package/sdk-test-utilities/node_modules/@types/node/stream/web.d.ts +367 -0
  184. package/sdk-test-utilities/node_modules/@types/node/stream.d.ts +1707 -0
  185. package/sdk-test-utilities/node_modules/@types/node/string_decoder.d.ts +67 -0
  186. package/sdk-test-utilities/node_modules/@types/node/test.d.ts +1718 -0
  187. package/sdk-test-utilities/node_modules/@types/node/timers/promises.d.ts +97 -0
  188. package/sdk-test-utilities/node_modules/@types/node/timers.d.ts +240 -0
  189. package/sdk-test-utilities/node_modules/@types/node/tls.d.ts +1217 -0
  190. package/sdk-test-utilities/node_modules/@types/node/trace_events.d.ts +197 -0
  191. package/sdk-test-utilities/node_modules/@types/node/tty.d.ts +208 -0
  192. package/sdk-test-utilities/node_modules/@types/node/url.d.ts +952 -0
  193. package/sdk-test-utilities/node_modules/@types/node/util.d.ts +2292 -0
  194. package/sdk-test-utilities/node_modules/@types/node/v8.d.ts +808 -0
  195. package/sdk-test-utilities/node_modules/@types/node/vm.d.ts +924 -0
  196. package/sdk-test-utilities/node_modules/@types/node/wasi.d.ts +181 -0
  197. package/sdk-test-utilities/node_modules/@types/node/worker_threads.d.ts +691 -0
  198. package/sdk-test-utilities/node_modules/@types/node/zlib.d.ts +530 -0
  199. package/sdk-test-utilities/node_modules/@types/stack-utils/LICENSE +21 -0
  200. package/sdk-test-utilities/node_modules/@types/stack-utils/README.md +78 -0
  201. package/sdk-test-utilities/node_modules/@types/stack-utils/index.d.ts +59 -0
  202. package/sdk-test-utilities/node_modules/@types/stack-utils/package.json +25 -0
  203. package/sdk-test-utilities/node_modules/@types/yargs/LICENSE +21 -0
  204. package/sdk-test-utilities/node_modules/@types/yargs/README.md +15 -0
  205. package/sdk-test-utilities/node_modules/@types/yargs/helpers.d.mts +1 -0
  206. package/sdk-test-utilities/node_modules/@types/yargs/helpers.d.ts +5 -0
  207. package/sdk-test-utilities/node_modules/@types/yargs/index.d.mts +46 -0
  208. package/sdk-test-utilities/node_modules/@types/yargs/index.d.ts +1031 -0
  209. package/sdk-test-utilities/node_modules/@types/yargs/package.json +87 -0
  210. package/sdk-test-utilities/node_modules/@types/yargs/yargs.d.ts +9 -0
  211. package/sdk-test-utilities/node_modules/@types/yargs-parser/LICENSE +21 -0
  212. package/sdk-test-utilities/node_modules/@types/yargs-parser/README.md +15 -0
  213. package/sdk-test-utilities/node_modules/@types/yargs-parser/index.d.ts +112 -0
  214. package/sdk-test-utilities/node_modules/@types/yargs-parser/package.json +25 -0
  215. package/sdk-test-utilities/node_modules/ansi-styles/index.d.ts +345 -0
  216. package/sdk-test-utilities/node_modules/ansi-styles/index.js +163 -0
  217. package/sdk-test-utilities/node_modules/ansi-styles/license +9 -0
  218. package/sdk-test-utilities/node_modules/ansi-styles/package.json +56 -0
  219. package/sdk-test-utilities/node_modules/ansi-styles/readme.md +152 -0
  220. package/sdk-test-utilities/node_modules/braces/LICENSE +21 -0
  221. package/sdk-test-utilities/node_modules/braces/README.md +586 -0
  222. package/sdk-test-utilities/node_modules/braces/index.js +170 -0
  223. package/sdk-test-utilities/node_modules/braces/lib/compile.js +60 -0
  224. package/sdk-test-utilities/node_modules/braces/lib/constants.js +57 -0
  225. package/sdk-test-utilities/node_modules/braces/lib/expand.js +113 -0
  226. package/sdk-test-utilities/node_modules/braces/lib/parse.js +331 -0
  227. package/sdk-test-utilities/node_modules/braces/lib/stringify.js +32 -0
  228. package/sdk-test-utilities/node_modules/braces/lib/utils.js +122 -0
  229. package/sdk-test-utilities/node_modules/braces/package.json +77 -0
  230. package/sdk-test-utilities/node_modules/chalk/index.d.ts +415 -0
  231. package/sdk-test-utilities/node_modules/chalk/license +9 -0
  232. package/sdk-test-utilities/node_modules/chalk/package.json +68 -0
  233. package/sdk-test-utilities/node_modules/chalk/readme.md +341 -0
  234. package/sdk-test-utilities/node_modules/chalk/source/index.js +229 -0
  235. package/sdk-test-utilities/node_modules/chalk/source/templates.js +134 -0
  236. package/sdk-test-utilities/node_modules/chalk/source/util.js +39 -0
  237. package/sdk-test-utilities/node_modules/ci-info/CHANGELOG.md +178 -0
  238. package/sdk-test-utilities/node_modules/ci-info/LICENSE +21 -0
  239. package/sdk-test-utilities/node_modules/ci-info/README.md +135 -0
  240. package/sdk-test-utilities/node_modules/ci-info/index.d.ts +75 -0
  241. package/sdk-test-utilities/node_modules/ci-info/index.js +90 -0
  242. package/sdk-test-utilities/node_modules/ci-info/package.json +45 -0
  243. package/sdk-test-utilities/node_modules/ci-info/vendors.json +321 -0
  244. package/sdk-test-utilities/node_modules/color-convert/CHANGELOG.md +54 -0
  245. package/sdk-test-utilities/node_modules/color-convert/LICENSE +21 -0
  246. package/sdk-test-utilities/node_modules/color-convert/README.md +68 -0
  247. package/sdk-test-utilities/node_modules/color-convert/conversions.js +839 -0
  248. package/sdk-test-utilities/node_modules/color-convert/index.js +81 -0
  249. package/sdk-test-utilities/node_modules/color-convert/package.json +48 -0
  250. package/sdk-test-utilities/node_modules/color-convert/route.js +97 -0
  251. package/sdk-test-utilities/node_modules/color-name/LICENSE +8 -0
  252. package/sdk-test-utilities/node_modules/color-name/README.md +11 -0
  253. package/sdk-test-utilities/node_modules/color-name/index.js +152 -0
  254. package/sdk-test-utilities/node_modules/color-name/package.json +28 -0
  255. package/sdk-test-utilities/node_modules/diff-sequences/LICENSE +21 -0
  256. package/sdk-test-utilities/node_modules/diff-sequences/README.md +404 -0
  257. package/sdk-test-utilities/node_modules/diff-sequences/build/index.d.ts +38 -0
  258. package/sdk-test-utilities/node_modules/diff-sequences/build/index.js +798 -0
  259. package/sdk-test-utilities/node_modules/diff-sequences/package.json +39 -0
  260. package/sdk-test-utilities/node_modules/escape-string-regexp/index.d.ts +18 -0
  261. package/sdk-test-utilities/node_modules/escape-string-regexp/index.js +11 -0
  262. package/sdk-test-utilities/node_modules/escape-string-regexp/license +9 -0
  263. package/sdk-test-utilities/node_modules/escape-string-regexp/package.json +43 -0
  264. package/sdk-test-utilities/node_modules/escape-string-regexp/readme.md +29 -0
  265. package/sdk-test-utilities/node_modules/expect/LICENSE +21 -0
  266. package/sdk-test-utilities/node_modules/expect/README.md +3 -0
  267. package/sdk-test-utilities/node_modules/expect/build/asymmetricMatchers.js +375 -0
  268. package/sdk-test-utilities/node_modules/expect/build/extractExpectedAssertionsErrors.js +86 -0
  269. package/sdk-test-utilities/node_modules/expect/build/index.d.ts +370 -0
  270. package/sdk-test-utilities/node_modules/expect/build/index.js +410 -0
  271. package/sdk-test-utilities/node_modules/expect/build/jestMatchersObject.js +123 -0
  272. package/sdk-test-utilities/node_modules/expect/build/matchers.js +1292 -0
  273. package/sdk-test-utilities/node_modules/expect/build/print.js +122 -0
  274. package/sdk-test-utilities/node_modules/expect/build/spyMatchers.js +1254 -0
  275. package/sdk-test-utilities/node_modules/expect/build/toThrowMatchers.js +481 -0
  276. package/sdk-test-utilities/node_modules/expect/build/types.js +3 -0
  277. package/sdk-test-utilities/node_modules/expect/package.json +43 -0
  278. package/sdk-test-utilities/node_modules/fill-range/LICENSE +21 -0
  279. package/sdk-test-utilities/node_modules/fill-range/README.md +237 -0
  280. package/sdk-test-utilities/node_modules/fill-range/index.js +248 -0
  281. package/sdk-test-utilities/node_modules/fill-range/package.json +74 -0
  282. package/sdk-test-utilities/node_modules/graceful-fs/LICENSE +15 -0
  283. package/sdk-test-utilities/node_modules/graceful-fs/README.md +143 -0
  284. package/sdk-test-utilities/node_modules/graceful-fs/clone.js +23 -0
  285. package/sdk-test-utilities/node_modules/graceful-fs/graceful-fs.js +448 -0
  286. package/sdk-test-utilities/node_modules/graceful-fs/legacy-streams.js +118 -0
  287. package/sdk-test-utilities/node_modules/graceful-fs/package.json +53 -0
  288. package/sdk-test-utilities/node_modules/graceful-fs/polyfills.js +355 -0
  289. package/sdk-test-utilities/node_modules/has-flag/index.d.ts +39 -0
  290. package/sdk-test-utilities/node_modules/has-flag/index.js +8 -0
  291. package/sdk-test-utilities/node_modules/has-flag/license +9 -0
  292. package/sdk-test-utilities/node_modules/has-flag/package.json +46 -0
  293. package/sdk-test-utilities/node_modules/has-flag/readme.md +89 -0
  294. package/sdk-test-utilities/node_modules/is-number/LICENSE +21 -0
  295. package/sdk-test-utilities/node_modules/is-number/README.md +187 -0
  296. package/sdk-test-utilities/node_modules/is-number/index.js +18 -0
  297. package/sdk-test-utilities/node_modules/is-number/package.json +82 -0
  298. package/sdk-test-utilities/node_modules/jest-diff/LICENSE +21 -0
  299. package/sdk-test-utilities/node_modules/jest-diff/README.md +671 -0
  300. package/sdk-test-utilities/node_modules/jest-diff/build/cleanupSemantic.js +599 -0
  301. package/sdk-test-utilities/node_modules/jest-diff/build/constants.js +19 -0
  302. package/sdk-test-utilities/node_modules/jest-diff/build/diffLines.js +193 -0
  303. package/sdk-test-utilities/node_modules/jest-diff/build/diffStrings.js +66 -0
  304. package/sdk-test-utilities/node_modules/jest-diff/build/getAlignedDiffs.js +223 -0
  305. package/sdk-test-utilities/node_modules/jest-diff/build/index.d.ts +93 -0
  306. package/sdk-test-utilities/node_modules/jest-diff/build/index.js +232 -0
  307. package/sdk-test-utilities/node_modules/jest-diff/build/joinAlignedDiffs.js +271 -0
  308. package/sdk-test-utilities/node_modules/jest-diff/build/normalizeDiffOptions.js +59 -0
  309. package/sdk-test-utilities/node_modules/jest-diff/build/printDiffs.js +79 -0
  310. package/sdk-test-utilities/node_modules/jest-diff/build/types.js +1 -0
  311. package/sdk-test-utilities/node_modules/jest-diff/package.json +36 -0
  312. package/sdk-test-utilities/node_modules/jest-get-type/LICENSE +21 -0
  313. package/sdk-test-utilities/node_modules/jest-get-type/build/index.d.ts +27 -0
  314. package/sdk-test-utilities/node_modules/jest-get-type/build/index.js +53 -0
  315. package/sdk-test-utilities/node_modules/jest-get-type/package.json +27 -0
  316. package/sdk-test-utilities/node_modules/jest-matcher-utils/LICENSE +21 -0
  317. package/sdk-test-utilities/node_modules/jest-matcher-utils/README.md +24 -0
  318. package/sdk-test-utilities/node_modules/jest-matcher-utils/build/Replaceable.js +64 -0
  319. package/sdk-test-utilities/node_modules/jest-matcher-utils/build/deepCyclicCopyReplaceable.js +111 -0
  320. package/sdk-test-utilities/node_modules/jest-matcher-utils/build/index.d.ts +138 -0
  321. package/sdk-test-utilities/node_modules/jest-matcher-utils/build/index.js +542 -0
  322. package/sdk-test-utilities/node_modules/jest-matcher-utils/package.json +37 -0
  323. package/sdk-test-utilities/node_modules/jest-message-util/LICENSE +21 -0
  324. package/sdk-test-utilities/node_modules/jest-message-util/build/index.d.ts +68 -0
  325. package/sdk-test-utilities/node_modules/jest-message-util/build/index.js +518 -0
  326. package/sdk-test-utilities/node_modules/jest-message-util/build/types.js +1 -0
  327. package/sdk-test-utilities/node_modules/jest-message-util/package.json +43 -0
  328. package/sdk-test-utilities/node_modules/jest-util/LICENSE +21 -0
  329. package/sdk-test-utilities/node_modules/jest-util/Readme.md +87 -0
  330. package/sdk-test-utilities/node_modules/jest-util/build/ErrorWithStack.js +28 -0
  331. package/sdk-test-utilities/node_modules/jest-util/build/clearLine.js +18 -0
  332. package/sdk-test-utilities/node_modules/jest-util/build/convertDescriptorToString.js +30 -0
  333. package/sdk-test-utilities/node_modules/jest-util/build/createDirectory.js +71 -0
  334. package/sdk-test-utilities/node_modules/jest-util/build/createProcessObject.js +109 -0
  335. package/sdk-test-utilities/node_modules/jest-util/build/deepCyclicCopy.js +76 -0
  336. package/sdk-test-utilities/node_modules/jest-util/build/formatTime.js +24 -0
  337. package/sdk-test-utilities/node_modules/jest-util/build/globsToMatcher.js +98 -0
  338. package/sdk-test-utilities/node_modules/jest-util/build/index.d.ts +136 -0
  339. package/sdk-test-utilities/node_modules/jest-util/build/index.js +199 -0
  340. package/sdk-test-utilities/node_modules/jest-util/build/installCommonGlobals.js +115 -0
  341. package/sdk-test-utilities/node_modules/jest-util/build/interopRequireDefault.js +22 -0
  342. package/sdk-test-utilities/node_modules/jest-util/build/invariant.js +18 -0
  343. package/sdk-test-utilities/node_modules/jest-util/build/isInteractive.js +22 -0
  344. package/sdk-test-utilities/node_modules/jest-util/build/isNonNullable.js +16 -0
  345. package/sdk-test-utilities/node_modules/jest-util/build/isPromise.js +20 -0
  346. package/sdk-test-utilities/node_modules/jest-util/build/pluralize.js +16 -0
  347. package/sdk-test-utilities/node_modules/jest-util/build/preRunMessage.js +38 -0
  348. package/sdk-test-utilities/node_modules/jest-util/build/replacePathSepForGlob.js +16 -0
  349. package/sdk-test-utilities/node_modules/jest-util/build/requireOrImportModule.js +77 -0
  350. package/sdk-test-utilities/node_modules/jest-util/build/setGlobal.js +17 -0
  351. package/sdk-test-utilities/node_modules/jest-util/build/specialChars.js +25 -0
  352. package/sdk-test-utilities/node_modules/jest-util/build/testPathPatternToRegExp.js +19 -0
  353. package/sdk-test-utilities/node_modules/jest-util/build/tryRealpath.js +30 -0
  354. package/sdk-test-utilities/node_modules/jest-util/package.json +38 -0
  355. package/sdk-test-utilities/node_modules/js-tokens/CHANGELOG.md +151 -0
  356. package/sdk-test-utilities/node_modules/js-tokens/LICENSE +21 -0
  357. package/sdk-test-utilities/node_modules/js-tokens/README.md +240 -0
  358. package/sdk-test-utilities/node_modules/js-tokens/index.js +23 -0
  359. package/sdk-test-utilities/node_modules/js-tokens/package.json +30 -0
  360. package/sdk-test-utilities/node_modules/micromatch/LICENSE +21 -0
  361. package/sdk-test-utilities/node_modules/micromatch/README.md +1017 -0
  362. package/sdk-test-utilities/node_modules/micromatch/index.js +467 -0
  363. package/sdk-test-utilities/node_modules/micromatch/package.json +101 -0
  364. package/sdk-test-utilities/node_modules/picocolors/LICENSE +15 -0
  365. package/sdk-test-utilities/node_modules/picocolors/README.md +21 -0
  366. package/sdk-test-utilities/node_modules/picocolors/package.json +25 -0
  367. package/sdk-test-utilities/node_modules/picocolors/picocolors.browser.js +4 -0
  368. package/sdk-test-utilities/node_modules/picocolors/picocolors.d.ts +5 -0
  369. package/sdk-test-utilities/node_modules/picocolors/picocolors.js +65 -0
  370. package/sdk-test-utilities/node_modules/picomatch/CHANGELOG.md +136 -0
  371. package/sdk-test-utilities/node_modules/picomatch/LICENSE +21 -0
  372. package/sdk-test-utilities/node_modules/picomatch/README.md +708 -0
  373. package/sdk-test-utilities/node_modules/picomatch/index.js +3 -0
  374. package/sdk-test-utilities/node_modules/picomatch/lib/constants.js +179 -0
  375. package/sdk-test-utilities/node_modules/picomatch/lib/parse.js +1091 -0
  376. package/sdk-test-utilities/node_modules/picomatch/lib/picomatch.js +342 -0
  377. package/sdk-test-utilities/node_modules/picomatch/lib/scan.js +391 -0
  378. package/sdk-test-utilities/node_modules/picomatch/lib/utils.js +64 -0
  379. package/sdk-test-utilities/node_modules/picomatch/package.json +81 -0
  380. package/sdk-test-utilities/node_modules/pretty-format/LICENSE +21 -0
  381. package/sdk-test-utilities/node_modules/pretty-format/README.md +463 -0
  382. package/sdk-test-utilities/node_modules/pretty-format/build/collections.js +180 -0
  383. package/sdk-test-utilities/node_modules/pretty-format/build/index.d.ts +163 -0
  384. package/sdk-test-utilities/node_modules/pretty-format/build/index.js +478 -0
  385. package/sdk-test-utilities/node_modules/pretty-format/build/plugins/AsymmetricMatcher.js +89 -0
  386. package/sdk-test-utilities/node_modules/pretty-format/build/plugins/DOMCollection.js +67 -0
  387. package/sdk-test-utilities/node_modules/pretty-format/build/plugins/DOMElement.js +101 -0
  388. package/sdk-test-utilities/node_modules/pretty-format/build/plugins/Immutable.js +217 -0
  389. package/sdk-test-utilities/node_modules/pretty-format/build/plugins/ReactElement.js +143 -0
  390. package/sdk-test-utilities/node_modules/pretty-format/build/plugins/ReactTestComponent.js +66 -0
  391. package/sdk-test-utilities/node_modules/pretty-format/build/plugins/lib/escapeHTML.js +16 -0
  392. package/sdk-test-utilities/node_modules/pretty-format/build/plugins/lib/markup.js +113 -0
  393. package/sdk-test-utilities/node_modules/pretty-format/build/types.js +1 -0
  394. package/sdk-test-utilities/node_modules/pretty-format/node_modules/ansi-styles/index.d.ts +167 -0
  395. package/sdk-test-utilities/node_modules/pretty-format/node_modules/ansi-styles/index.js +164 -0
  396. package/sdk-test-utilities/node_modules/pretty-format/node_modules/ansi-styles/license +9 -0
  397. package/sdk-test-utilities/node_modules/pretty-format/node_modules/ansi-styles/package.json +52 -0
  398. package/sdk-test-utilities/node_modules/pretty-format/node_modules/ansi-styles/readme.md +144 -0
  399. package/sdk-test-utilities/node_modules/pretty-format/package.json +43 -0
  400. package/sdk-test-utilities/node_modules/react-is/LICENSE +21 -0
  401. package/sdk-test-utilities/node_modules/react-is/README.md +104 -0
  402. package/sdk-test-utilities/node_modules/react-is/cjs/react-is.development.js +221 -0
  403. package/sdk-test-utilities/node_modules/react-is/cjs/react-is.production.min.js +14 -0
  404. package/sdk-test-utilities/node_modules/react-is/index.js +7 -0
  405. package/sdk-test-utilities/node_modules/react-is/package.json +26 -0
  406. package/sdk-test-utilities/node_modules/react-is/umd/react-is.development.js +220 -0
  407. package/sdk-test-utilities/node_modules/react-is/umd/react-is.production.min.js +15 -0
  408. package/sdk-test-utilities/node_modules/slash/index.d.ts +25 -0
  409. package/sdk-test-utilities/node_modules/slash/index.js +11 -0
  410. package/sdk-test-utilities/node_modules/slash/license +9 -0
  411. package/sdk-test-utilities/node_modules/slash/package.json +35 -0
  412. package/sdk-test-utilities/node_modules/slash/readme.md +44 -0
  413. package/sdk-test-utilities/node_modules/stack-utils/LICENSE.md +21 -0
  414. package/sdk-test-utilities/node_modules/stack-utils/index.js +344 -0
  415. package/sdk-test-utilities/node_modules/stack-utils/package.json +39 -0
  416. package/sdk-test-utilities/node_modules/stack-utils/readme.md +143 -0
  417. package/sdk-test-utilities/node_modules/supports-color/browser.js +5 -0
  418. package/sdk-test-utilities/node_modules/supports-color/index.js +135 -0
  419. package/sdk-test-utilities/node_modules/supports-color/license +9 -0
  420. package/sdk-test-utilities/node_modules/supports-color/package.json +53 -0
  421. package/sdk-test-utilities/node_modules/supports-color/readme.md +76 -0
  422. package/sdk-test-utilities/node_modules/to-regex-range/LICENSE +21 -0
  423. package/sdk-test-utilities/node_modules/to-regex-range/README.md +305 -0
  424. package/sdk-test-utilities/node_modules/to-regex-range/index.js +288 -0
  425. package/sdk-test-utilities/node_modules/to-regex-range/package.json +88 -0
  426. package/sdk-test-utilities/node_modules/undici-types/README.md +6 -0
  427. package/sdk-test-utilities/node_modules/undici-types/agent.d.ts +31 -0
  428. package/sdk-test-utilities/node_modules/undici-types/api.d.ts +43 -0
  429. package/sdk-test-utilities/node_modules/undici-types/balanced-pool.d.ts +18 -0
  430. package/sdk-test-utilities/node_modules/undici-types/cache.d.ts +36 -0
  431. package/sdk-test-utilities/node_modules/undici-types/client.d.ts +97 -0
  432. package/sdk-test-utilities/node_modules/undici-types/connector.d.ts +34 -0
  433. package/sdk-test-utilities/node_modules/undici-types/content-type.d.ts +21 -0
  434. package/sdk-test-utilities/node_modules/undici-types/cookies.d.ts +28 -0
  435. package/sdk-test-utilities/node_modules/undici-types/diagnostics-channel.d.ts +67 -0
  436. package/sdk-test-utilities/node_modules/undici-types/dispatcher.d.ts +241 -0
  437. package/sdk-test-utilities/node_modules/undici-types/errors.d.ts +128 -0
  438. package/sdk-test-utilities/node_modules/undici-types/fetch.d.ts +209 -0
  439. package/sdk-test-utilities/node_modules/undici-types/file.d.ts +39 -0
  440. package/sdk-test-utilities/node_modules/undici-types/filereader.d.ts +54 -0
  441. package/sdk-test-utilities/node_modules/undici-types/formdata.d.ts +108 -0
  442. package/sdk-test-utilities/node_modules/undici-types/global-dispatcher.d.ts +9 -0
  443. package/sdk-test-utilities/node_modules/undici-types/global-origin.d.ts +7 -0
  444. package/sdk-test-utilities/node_modules/undici-types/handlers.d.ts +9 -0
  445. package/sdk-test-utilities/node_modules/undici-types/header.d.ts +4 -0
  446. package/sdk-test-utilities/node_modules/undici-types/index.d.ts +63 -0
  447. package/sdk-test-utilities/node_modules/undici-types/interceptors.d.ts +5 -0
  448. package/sdk-test-utilities/node_modules/undici-types/mock-agent.d.ts +50 -0
  449. package/sdk-test-utilities/node_modules/undici-types/mock-client.d.ts +25 -0
  450. package/sdk-test-utilities/node_modules/undici-types/mock-errors.d.ts +12 -0
  451. package/sdk-test-utilities/node_modules/undici-types/mock-interceptor.d.ts +93 -0
  452. package/sdk-test-utilities/node_modules/undici-types/mock-pool.d.ts +25 -0
  453. package/sdk-test-utilities/node_modules/undici-types/package.json +55 -0
  454. package/sdk-test-utilities/node_modules/undici-types/patch.d.ts +71 -0
  455. package/sdk-test-utilities/node_modules/undici-types/pool-stats.d.ts +19 -0
  456. package/sdk-test-utilities/node_modules/undici-types/pool.d.ts +28 -0
  457. package/sdk-test-utilities/node_modules/undici-types/proxy-agent.d.ts +30 -0
  458. package/sdk-test-utilities/node_modules/undici-types/readable.d.ts +61 -0
  459. package/sdk-test-utilities/node_modules/undici-types/webidl.d.ts +220 -0
  460. package/sdk-test-utilities/node_modules/undici-types/websocket.d.ts +131 -0
@@ -0,0 +1,1204 @@
1
+ /**
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ /// <reference types="node" />
8
+
9
+ import type {Arguments} from 'yargs';
10
+ import type {CoverageMapData} from 'istanbul-lib-coverage';
11
+ import type {ForegroundColor} from 'chalk';
12
+ import type {ReportOptions} from 'istanbul-reports';
13
+ import type {SnapshotFormat} from '@jest/schemas';
14
+
15
+ declare type Argv = Arguments<
16
+ Partial<{
17
+ all: boolean;
18
+ automock: boolean;
19
+ bail: boolean | number;
20
+ cache: boolean;
21
+ cacheDirectory: string;
22
+ changedFilesWithAncestor: boolean;
23
+ changedSince: string;
24
+ ci: boolean;
25
+ clearCache: boolean;
26
+ clearMocks: boolean;
27
+ collectCoverage: boolean;
28
+ collectCoverageFrom: string;
29
+ color: boolean;
30
+ colors: boolean;
31
+ config: string;
32
+ coverage: boolean;
33
+ coverageDirectory: string;
34
+ coveragePathIgnorePatterns: Array<string>;
35
+ coverageReporters: Array<string>;
36
+ coverageThreshold: string;
37
+ debug: boolean;
38
+ env: string;
39
+ expand: boolean;
40
+ findRelatedTests: boolean;
41
+ forceExit: boolean;
42
+ globals: string;
43
+ globalSetup: string | null | undefined;
44
+ globalTeardown: string | null | undefined;
45
+ haste: string;
46
+ ignoreProjects: Array<string>;
47
+ init: boolean;
48
+ injectGlobals: boolean;
49
+ json: boolean;
50
+ lastCommit: boolean;
51
+ logHeapUsage: boolean;
52
+ maxWorkers: number | string;
53
+ moduleDirectories: Array<string>;
54
+ moduleFileExtensions: Array<string>;
55
+ moduleNameMapper: string;
56
+ modulePathIgnorePatterns: Array<string>;
57
+ modulePaths: Array<string>;
58
+ noStackTrace: boolean;
59
+ notify: boolean;
60
+ notifyMode: string;
61
+ onlyChanged: boolean;
62
+ onlyFailures: boolean;
63
+ outputFile: string;
64
+ preset: string | null | undefined;
65
+ prettierPath: string | null | undefined;
66
+ projects: Array<string>;
67
+ randomize: boolean;
68
+ reporters: Array<string>;
69
+ resetMocks: boolean;
70
+ resetModules: boolean;
71
+ resolver: string | null | undefined;
72
+ restoreMocks: boolean;
73
+ rootDir: string;
74
+ roots: Array<string>;
75
+ runInBand: boolean;
76
+ seed: number;
77
+ showSeed: boolean;
78
+ selectProjects: Array<string>;
79
+ setupFiles: Array<string>;
80
+ setupFilesAfterEnv: Array<string>;
81
+ shard: string;
82
+ showConfig: boolean;
83
+ silent: boolean;
84
+ snapshotSerializers: Array<string>;
85
+ testEnvironment: string;
86
+ testEnvironmentOptions: string;
87
+ testFailureExitCode: string | null | undefined;
88
+ testMatch: Array<string>;
89
+ testNamePattern: string;
90
+ testPathIgnorePatterns: Array<string>;
91
+ testPathPattern: Array<string>;
92
+ testRegex: string | Array<string>;
93
+ testResultsProcessor: string;
94
+ testRunner: string;
95
+ testSequencer: string;
96
+ testTimeout: number | null | undefined;
97
+ transform: string;
98
+ transformIgnorePatterns: Array<string>;
99
+ unmockedModulePathPatterns: Array<string> | null | undefined;
100
+ updateSnapshot: boolean;
101
+ useStderr: boolean;
102
+ verbose: boolean;
103
+ version: boolean;
104
+ watch: boolean;
105
+ watchAll: boolean;
106
+ watchman: boolean;
107
+ watchPathIgnorePatterns: Array<string>;
108
+ workerIdleMemoryLimit: number | string;
109
+ workerThreads: boolean;
110
+ }>
111
+ >;
112
+
113
+ declare type ArrayTable = Table | Row;
114
+
115
+ declare type AssertionResult = {
116
+ ancestorTitles: Array<string>;
117
+ duration?: number | null;
118
+ failureDetails: Array<unknown>;
119
+ failureMessages: Array<string>;
120
+ fullName: string;
121
+ invocations?: number;
122
+ location?: Callsite | null;
123
+ numPassingAsserts: number;
124
+ retryReasons?: Array<string>;
125
+ status: Status;
126
+ title: string;
127
+ };
128
+
129
+ declare type AsyncEvent =
130
+ | {
131
+ name: 'setup';
132
+ testNamePattern?: string;
133
+ runtimeGlobals: JestGlobals;
134
+ parentProcess: Process;
135
+ }
136
+ | {
137
+ name: 'include_test_location_in_result';
138
+ }
139
+ | {
140
+ name: 'hook_start';
141
+ hook: Hook;
142
+ }
143
+ | {
144
+ name: 'hook_success';
145
+ describeBlock?: DescribeBlock;
146
+ test?: TestEntry;
147
+ hook: Hook;
148
+ }
149
+ | {
150
+ name: 'hook_failure';
151
+ error: string | Exception;
152
+ describeBlock?: DescribeBlock;
153
+ test?: TestEntry;
154
+ hook: Hook;
155
+ }
156
+ | {
157
+ name: 'test_fn_start';
158
+ test: TestEntry;
159
+ }
160
+ | {
161
+ name: 'test_fn_success';
162
+ test: TestEntry;
163
+ }
164
+ | {
165
+ name: 'test_fn_failure';
166
+ error: Exception;
167
+ test: TestEntry;
168
+ }
169
+ | {
170
+ name: 'test_retry';
171
+ test: TestEntry;
172
+ }
173
+ | {
174
+ name: 'test_start';
175
+ test: TestEntry;
176
+ }
177
+ | {
178
+ name: 'test_skip';
179
+ test: TestEntry;
180
+ }
181
+ | {
182
+ name: 'test_todo';
183
+ test: TestEntry;
184
+ }
185
+ | {
186
+ name: 'test_started';
187
+ test: TestEntry;
188
+ }
189
+ | {
190
+ name: 'test_done';
191
+ test: TestEntry;
192
+ }
193
+ | {
194
+ name: 'run_describe_start';
195
+ describeBlock: DescribeBlock;
196
+ }
197
+ | {
198
+ name: 'run_describe_finish';
199
+ describeBlock: DescribeBlock;
200
+ }
201
+ | {
202
+ name: 'run_start';
203
+ }
204
+ | {
205
+ name: 'run_finish';
206
+ }
207
+ | {
208
+ name: 'teardown';
209
+ };
210
+
211
+ declare type AsyncFn = TestFn_2 | HookFn_2;
212
+
213
+ declare type BlockFn = () => void;
214
+
215
+ declare type BlockFn_2 = Global.BlockFn;
216
+
217
+ declare type BlockMode = void | 'skip' | 'only' | 'todo';
218
+
219
+ declare type BlockName = string;
220
+
221
+ declare type BlockName_2 = Global.BlockName;
222
+
223
+ declare type BlockNameLike = BlockName | NameLike;
224
+
225
+ declare type BlockNameLike_2 = Global.BlockNameLike;
226
+
227
+ declare type Callsite = {
228
+ column: number;
229
+ line: number;
230
+ };
231
+
232
+ declare namespace Circus {
233
+ export {
234
+ DoneFn,
235
+ BlockFn_2 as BlockFn,
236
+ BlockName_2 as BlockName,
237
+ BlockNameLike_2 as BlockNameLike,
238
+ BlockMode,
239
+ TestMode,
240
+ TestName_2 as TestName,
241
+ TestNameLike_2 as TestNameLike,
242
+ TestFn_2 as TestFn,
243
+ ConcurrentTestFn_2 as ConcurrentTestFn,
244
+ HookFn_2 as HookFn,
245
+ AsyncFn,
246
+ SharedHookType,
247
+ HookType,
248
+ TestContext_2 as TestContext,
249
+ Exception,
250
+ FormattedError,
251
+ Hook,
252
+ EventHandler,
253
+ Event_2 as Event,
254
+ SyncEvent,
255
+ AsyncEvent,
256
+ MatcherResults,
257
+ TestStatus,
258
+ TestNamesPath,
259
+ TestCaseStartInfo,
260
+ TestResult_2 as TestResult,
261
+ RunResult,
262
+ TestResults,
263
+ GlobalErrorHandlers,
264
+ State,
265
+ DescribeBlock,
266
+ TestError,
267
+ TestEntry,
268
+ };
269
+ }
270
+ export {Circus};
271
+
272
+ declare type Col = unknown;
273
+
274
+ declare type ConcurrentTestFn = () => TestReturnValuePromise;
275
+
276
+ declare type ConcurrentTestFn_2 = Global.ConcurrentTestFn;
277
+
278
+ declare namespace Config {
279
+ export {
280
+ FakeableAPI,
281
+ GlobalFakeTimersConfig,
282
+ FakeTimersConfig,
283
+ LegacyFakeTimersConfig,
284
+ HasteConfig,
285
+ CoverageReporterName,
286
+ CoverageReporterWithOptions,
287
+ CoverageReporters,
288
+ ReporterConfig,
289
+ TransformerConfig,
290
+ ConfigGlobals,
291
+ DefaultOptions,
292
+ DisplayName,
293
+ InitialOptionsWithRootDir,
294
+ InitialProjectOptions,
295
+ InitialOptions,
296
+ SnapshotUpdateState,
297
+ CoverageThresholdValue,
298
+ GlobalConfig,
299
+ ProjectConfig,
300
+ Argv,
301
+ };
302
+ }
303
+ export {Config};
304
+
305
+ declare interface ConfigGlobals {
306
+ [K: string]: unknown;
307
+ }
308
+
309
+ declare type CoverageProvider = 'babel' | 'v8';
310
+
311
+ declare type CoverageReporterName = keyof ReportOptions;
312
+
313
+ declare type CoverageReporters = Array<
314
+ CoverageReporterName | CoverageReporterWithOptions
315
+ >;
316
+
317
+ declare type CoverageReporterWithOptions<K = CoverageReporterName> =
318
+ K extends CoverageReporterName
319
+ ? ReportOptions[K] extends never
320
+ ? never
321
+ : [K, Partial<ReportOptions[K]>]
322
+ : never;
323
+
324
+ declare type CoverageThreshold = {
325
+ [path: string]: CoverageThresholdValue;
326
+ global: CoverageThresholdValue;
327
+ };
328
+
329
+ declare type CoverageThresholdValue = {
330
+ branches?: number;
331
+ functions?: number;
332
+ lines?: number;
333
+ statements?: number;
334
+ };
335
+
336
+ declare type DefaultOptions = {
337
+ automock: boolean;
338
+ bail: number;
339
+ cache: boolean;
340
+ cacheDirectory: string;
341
+ changedFilesWithAncestor: boolean;
342
+ ci: boolean;
343
+ clearMocks: boolean;
344
+ collectCoverage: boolean;
345
+ coveragePathIgnorePatterns: Array<string>;
346
+ coverageReporters: Array<CoverageReporterName>;
347
+ coverageProvider: CoverageProvider;
348
+ detectLeaks: boolean;
349
+ detectOpenHandles: boolean;
350
+ errorOnDeprecated: boolean;
351
+ expand: boolean;
352
+ extensionsToTreatAsEsm: Array<string>;
353
+ fakeTimers: FakeTimers;
354
+ forceCoverageMatch: Array<string>;
355
+ globals: ConfigGlobals;
356
+ haste: HasteConfig;
357
+ injectGlobals: boolean;
358
+ listTests: boolean;
359
+ maxConcurrency: number;
360
+ maxWorkers: number | string;
361
+ moduleDirectories: Array<string>;
362
+ moduleFileExtensions: Array<string>;
363
+ moduleNameMapper: Record<string, string | Array<string>>;
364
+ modulePathIgnorePatterns: Array<string>;
365
+ noStackTrace: boolean;
366
+ notify: boolean;
367
+ notifyMode: NotifyMode;
368
+ openHandlesTimeout: number;
369
+ passWithNoTests: boolean;
370
+ prettierPath: string;
371
+ resetMocks: boolean;
372
+ resetModules: boolean;
373
+ restoreMocks: boolean;
374
+ roots: Array<string>;
375
+ runTestsByPath: boolean;
376
+ runner: string;
377
+ setupFiles: Array<string>;
378
+ setupFilesAfterEnv: Array<string>;
379
+ skipFilter: boolean;
380
+ slowTestThreshold: number;
381
+ snapshotFormat: SnapshotFormat;
382
+ snapshotSerializers: Array<string>;
383
+ testEnvironment: string;
384
+ testEnvironmentOptions: Record<string, unknown>;
385
+ testFailureExitCode: string | number;
386
+ testLocationInResults: boolean;
387
+ testMatch: Array<string>;
388
+ testPathIgnorePatterns: Array<string>;
389
+ testRegex: Array<string>;
390
+ testRunner: string;
391
+ testSequencer: string;
392
+ transformIgnorePatterns: Array<string>;
393
+ useStderr: boolean;
394
+ watch: boolean;
395
+ watchPathIgnorePatterns: Array<string>;
396
+ watchman: boolean;
397
+ workerThreads: boolean;
398
+ };
399
+
400
+ declare interface Describe extends DescribeBase {
401
+ only: DescribeBase;
402
+ skip: DescribeBase;
403
+ }
404
+
405
+ declare interface DescribeBase {
406
+ (blockName: BlockNameLike, blockFn: BlockFn): void;
407
+ each: Each<BlockFn>;
408
+ }
409
+
410
+ declare type DescribeBlock = {
411
+ type: 'describeBlock';
412
+ children: Array<DescribeBlock | TestEntry>;
413
+ hooks: Array<Hook>;
414
+ mode: BlockMode;
415
+ name: BlockName_2;
416
+ parent?: DescribeBlock;
417
+ /** @deprecated Please get from `children` array instead */
418
+ tests: Array<TestEntry>;
419
+ };
420
+
421
+ declare type DisplayName = {
422
+ name: string;
423
+ color: typeof ForegroundColor;
424
+ };
425
+
426
+ declare type DoneFn = Global.DoneFn;
427
+
428
+ declare type DoneFn_2 = (reason?: string | Error) => void;
429
+
430
+ declare type DoneTakingTestFn = (
431
+ this: TestContext,
432
+ done: DoneFn_2,
433
+ ) => ValidTestReturnValues;
434
+
435
+ declare interface Each<EachFn extends TestFn | BlockFn> {
436
+ <T extends Record<string, unknown>>(table: ReadonlyArray<T>): (
437
+ name: string | NameLike,
438
+ fn: (arg: T, done: DoneFn_2) => ReturnType<EachFn>,
439
+ timeout?: number,
440
+ ) => void;
441
+ <T extends readonly [unknown, ...Array<unknown>]>(table: ReadonlyArray<T>): (
442
+ name: string | NameLike,
443
+ fn: (...args: T) => ReturnType<EachFn>,
444
+ timeout?: number,
445
+ ) => void;
446
+ <T extends ReadonlyArray<unknown>>(table: ReadonlyArray<T>): (
447
+ name: string | NameLike,
448
+ fn: (...args: T) => ReturnType<EachFn>,
449
+ timeout?: number,
450
+ ) => void;
451
+ <T>(table: ReadonlyArray<T>): (
452
+ name: string | NameLike,
453
+ fn: (arg: T, done: DoneFn_2) => ReturnType<EachFn>,
454
+ timeout?: number,
455
+ ) => void;
456
+ <T = unknown>(strings: TemplateStringsArray, ...expressions: Array<T>): (
457
+ name: string | NameLike,
458
+ fn: (arg: Record<string, T>, done: DoneFn_2) => ReturnType<EachFn>,
459
+ timeout?: number,
460
+ ) => void;
461
+ <T extends Record<string, unknown>>(
462
+ strings: TemplateStringsArray,
463
+ ...expressions: Array<unknown>
464
+ ): (
465
+ name: string | NameLike,
466
+ fn: (arg: T, done: DoneFn_2) => ReturnType<EachFn>,
467
+ timeout?: number,
468
+ ) => void;
469
+ }
470
+
471
+ declare type EachTable = ArrayTable | TemplateTable;
472
+
473
+ declare type EachTestFn<EachCallback extends TestCallback> = (
474
+ ...args: ReadonlyArray<any>
475
+ ) => ReturnType<EachCallback>;
476
+
477
+ declare type Event_2 = SyncEvent | AsyncEvent;
478
+
479
+ declare interface EventHandler {
480
+ (event: AsyncEvent, state: State): void | Promise<void>;
481
+ (event: SyncEvent, state: State): void;
482
+ }
483
+
484
+ declare type Exception = any;
485
+
486
+ declare interface Failing<T extends TestFn> {
487
+ (testName: TestNameLike, fn: T, timeout?: number): void;
488
+ each: Each<T>;
489
+ }
490
+
491
+ declare type FakeableAPI =
492
+ | 'Date'
493
+ | 'hrtime'
494
+ | 'nextTick'
495
+ | 'performance'
496
+ | 'queueMicrotask'
497
+ | 'requestAnimationFrame'
498
+ | 'cancelAnimationFrame'
499
+ | 'requestIdleCallback'
500
+ | 'cancelIdleCallback'
501
+ | 'setImmediate'
502
+ | 'clearImmediate'
503
+ | 'setInterval'
504
+ | 'clearInterval'
505
+ | 'setTimeout'
506
+ | 'clearTimeout';
507
+
508
+ declare type FakeTimers = GlobalFakeTimersConfig &
509
+ (
510
+ | (FakeTimersConfig & {
511
+ now?: Exclude<FakeTimersConfig['now'], Date>;
512
+ })
513
+ | LegacyFakeTimersConfig
514
+ );
515
+
516
+ declare type FakeTimersConfig = {
517
+ /**
518
+ * If set to `true` all timers will be advanced automatically
519
+ * by 20 milliseconds every 20 milliseconds. A custom time delta
520
+ * may be provided by passing a number.
521
+ *
522
+ * @defaultValue
523
+ * The default is `false`.
524
+ */
525
+ advanceTimers?: boolean | number;
526
+ /**
527
+ * List of names of APIs (e.g. `Date`, `nextTick()`, `setImmediate()`,
528
+ * `setTimeout()`) that should not be faked.
529
+ *
530
+ * @defaultValue
531
+ * The default is `[]`, meaning all APIs are faked.
532
+ */
533
+ doNotFake?: Array<FakeableAPI>;
534
+ /**
535
+ * Sets current system time to be used by fake timers.
536
+ *
537
+ * @defaultValue
538
+ * The default is `Date.now()`.
539
+ */
540
+ now?: number | Date;
541
+ /**
542
+ * The maximum number of recursive timers that will be run when calling
543
+ * `jest.runAllTimers()`.
544
+ *
545
+ * @defaultValue
546
+ * The default is `100_000` timers.
547
+ */
548
+ timerLimit?: number;
549
+ /**
550
+ * Use the old fake timers implementation instead of one backed by
551
+ * [`@sinonjs/fake-timers`](https://github.com/sinonjs/fake-timers).
552
+ *
553
+ * @defaultValue
554
+ * The default is `false`.
555
+ */
556
+ legacyFakeTimers?: false;
557
+ };
558
+
559
+ declare type FormattedError = string;
560
+
561
+ declare type GeneratorReturningTestFn = (
562
+ this: TestContext,
563
+ ) => TestReturnValueGenerator;
564
+
565
+ declare namespace Global {
566
+ export {
567
+ ValidTestReturnValues,
568
+ TestReturnValue,
569
+ TestContext,
570
+ DoneFn_2 as DoneFn,
571
+ DoneTakingTestFn,
572
+ PromiseReturningTestFn,
573
+ GeneratorReturningTestFn,
574
+ NameLike,
575
+ TestName,
576
+ TestNameLike,
577
+ TestFn,
578
+ ConcurrentTestFn,
579
+ BlockFn,
580
+ BlockName,
581
+ BlockNameLike,
582
+ HookFn,
583
+ Col,
584
+ Row,
585
+ Table,
586
+ ArrayTable,
587
+ TemplateTable,
588
+ TemplateData,
589
+ EachTable,
590
+ TestCallback,
591
+ EachTestFn,
592
+ HookBase,
593
+ Failing,
594
+ ItBase,
595
+ It,
596
+ ItConcurrentBase,
597
+ ItConcurrentExtended,
598
+ ItConcurrent,
599
+ DescribeBase,
600
+ Describe,
601
+ TestFrameworkGlobals,
602
+ GlobalAdditions,
603
+ Global_2 as Global,
604
+ };
605
+ }
606
+ export {Global};
607
+
608
+ declare interface Global_2
609
+ extends GlobalAdditions,
610
+ Omit<typeof globalThis, keyof GlobalAdditions> {
611
+ [extras: PropertyKey]: unknown;
612
+ }
613
+
614
+ declare interface GlobalAdditions extends TestFrameworkGlobals {
615
+ __coverage__: CoverageMapData;
616
+ }
617
+
618
+ declare type GlobalConfig = {
619
+ bail: number;
620
+ changedSince?: string;
621
+ changedFilesWithAncestor: boolean;
622
+ ci: boolean;
623
+ collectCoverage: boolean;
624
+ collectCoverageFrom: Array<string>;
625
+ coverageDirectory: string;
626
+ coveragePathIgnorePatterns?: Array<string>;
627
+ coverageProvider: CoverageProvider;
628
+ coverageReporters: CoverageReporters;
629
+ coverageThreshold?: CoverageThreshold;
630
+ detectLeaks: boolean;
631
+ detectOpenHandles: boolean;
632
+ expand: boolean;
633
+ filter?: string;
634
+ findRelatedTests: boolean;
635
+ forceExit: boolean;
636
+ json: boolean;
637
+ globalSetup?: string;
638
+ globalTeardown?: string;
639
+ lastCommit: boolean;
640
+ logHeapUsage: boolean;
641
+ listTests: boolean;
642
+ maxConcurrency: number;
643
+ maxWorkers: number;
644
+ noStackTrace: boolean;
645
+ nonFlagArgs: Array<string>;
646
+ noSCM?: boolean;
647
+ notify: boolean;
648
+ notifyMode: NotifyMode;
649
+ outputFile?: string;
650
+ onlyChanged: boolean;
651
+ onlyFailures: boolean;
652
+ openHandlesTimeout: number;
653
+ passWithNoTests: boolean;
654
+ projects: Array<string>;
655
+ randomize?: boolean;
656
+ replname?: string;
657
+ reporters?: Array<ReporterConfig>;
658
+ runInBand: boolean;
659
+ runTestsByPath: boolean;
660
+ rootDir: string;
661
+ seed: number;
662
+ showSeed?: boolean;
663
+ shard?: ShardConfig;
664
+ silent?: boolean;
665
+ skipFilter: boolean;
666
+ snapshotFormat: SnapshotFormat;
667
+ errorOnDeprecated: boolean;
668
+ testFailureExitCode: number;
669
+ testNamePattern?: string;
670
+ testPathPattern: string;
671
+ testResultsProcessor?: string;
672
+ testSequencer: string;
673
+ testTimeout?: number;
674
+ updateSnapshot: SnapshotUpdateState;
675
+ useStderr: boolean;
676
+ verbose?: boolean;
677
+ watch: boolean;
678
+ watchAll: boolean;
679
+ watchman: boolean;
680
+ watchPlugins?: Array<{
681
+ path: string;
682
+ config: Record<string, unknown>;
683
+ }> | null;
684
+ workerIdleMemoryLimit?: number;
685
+ workerThreads?: boolean;
686
+ };
687
+
688
+ declare type GlobalErrorHandlers = {
689
+ uncaughtException: Array<(exception: Exception) => void>;
690
+ unhandledRejection: Array<
691
+ (exception: Exception, promise: Promise<unknown>) => void
692
+ >;
693
+ };
694
+
695
+ declare type GlobalFakeTimersConfig = {
696
+ /**
697
+ * Whether fake timers should be enabled globally for all test files.
698
+ *
699
+ * @defaultValue
700
+ * The default is `false`.
701
+ */
702
+ enableGlobally?: boolean;
703
+ };
704
+
705
+ declare type HasteConfig = {
706
+ /** Whether to hash files using SHA-1. */
707
+ computeSha1?: boolean;
708
+ /** The platform to use as the default, e.g. 'ios'. */
709
+ defaultPlatform?: string | null;
710
+ /** Force use of Node's `fs` APIs rather than shelling out to `find` */
711
+ forceNodeFilesystemAPI?: boolean;
712
+ /**
713
+ * Whether to follow symlinks when crawling for files.
714
+ * This options cannot be used in projects which use watchman.
715
+ * Projects with `watchman` set to true will error if this option is set to true.
716
+ */
717
+ enableSymlinks?: boolean;
718
+ /** string to a custom implementation of Haste. */
719
+ hasteImplModulePath?: string;
720
+ /** All platforms to target, e.g ['ios', 'android']. */
721
+ platforms?: Array<string>;
722
+ /** Whether to throw on error on module collision. */
723
+ throwOnModuleCollision?: boolean;
724
+ /** Custom HasteMap module */
725
+ hasteMapModulePath?: string;
726
+ /** Whether to retain all files, allowing e.g. search for tests in `node_modules`. */
727
+ retainAllFiles?: boolean;
728
+ };
729
+
730
+ declare type Hook = {
731
+ asyncError: Error;
732
+ fn: HookFn_2;
733
+ type: HookType;
734
+ parent: DescribeBlock;
735
+ seenDone: boolean;
736
+ timeout: number | undefined | null;
737
+ };
738
+
739
+ declare interface HookBase {
740
+ (fn: HookFn, timeout?: number): void;
741
+ }
742
+
743
+ declare type HookFn = TestFn;
744
+
745
+ declare type HookFn_2 = Global.HookFn;
746
+
747
+ declare type HookType = SharedHookType | 'afterEach' | 'beforeEach';
748
+
749
+ declare type InitialOptions = Partial<{
750
+ automock: boolean;
751
+ bail: boolean | number;
752
+ cache: boolean;
753
+ cacheDirectory: string;
754
+ ci: boolean;
755
+ clearMocks: boolean;
756
+ changedFilesWithAncestor: boolean;
757
+ changedSince: string;
758
+ collectCoverage: boolean;
759
+ collectCoverageFrom: Array<string>;
760
+ coverageDirectory: string;
761
+ coveragePathIgnorePatterns: Array<string>;
762
+ coverageProvider: CoverageProvider;
763
+ coverageReporters: CoverageReporters;
764
+ coverageThreshold: CoverageThreshold;
765
+ dependencyExtractor: string;
766
+ detectLeaks: boolean;
767
+ detectOpenHandles: boolean;
768
+ displayName: string | DisplayName;
769
+ expand: boolean;
770
+ extensionsToTreatAsEsm: Array<string>;
771
+ fakeTimers: FakeTimers;
772
+ filter: string;
773
+ findRelatedTests: boolean;
774
+ forceCoverageMatch: Array<string>;
775
+ forceExit: boolean;
776
+ json: boolean;
777
+ globals: ConfigGlobals;
778
+ globalSetup: string | null | undefined;
779
+ globalTeardown: string | null | undefined;
780
+ haste: HasteConfig;
781
+ id: string;
782
+ injectGlobals: boolean;
783
+ reporters: Array<string | ReporterConfig>;
784
+ logHeapUsage: boolean;
785
+ lastCommit: boolean;
786
+ listTests: boolean;
787
+ maxConcurrency: number;
788
+ maxWorkers: number | string;
789
+ moduleDirectories: Array<string>;
790
+ moduleFileExtensions: Array<string>;
791
+ moduleNameMapper: {
792
+ [key: string]: string | Array<string>;
793
+ };
794
+ modulePathIgnorePatterns: Array<string>;
795
+ modulePaths: Array<string>;
796
+ noStackTrace: boolean;
797
+ notify: boolean;
798
+ notifyMode: string;
799
+ onlyChanged: boolean;
800
+ onlyFailures: boolean;
801
+ openHandlesTimeout: number;
802
+ outputFile: string;
803
+ passWithNoTests: boolean;
804
+ preset: string | null | undefined;
805
+ prettierPath: string | null | undefined;
806
+ projects: Array<string | InitialProjectOptions>;
807
+ randomize: boolean;
808
+ replname: string | null | undefined;
809
+ resetMocks: boolean;
810
+ resetModules: boolean;
811
+ resolver: string | null | undefined;
812
+ restoreMocks: boolean;
813
+ rootDir: string;
814
+ roots: Array<string>;
815
+ runner: string;
816
+ runTestsByPath: boolean;
817
+ runtime: string;
818
+ sandboxInjectedGlobals: Array<string>;
819
+ setupFiles: Array<string>;
820
+ setupFilesAfterEnv: Array<string>;
821
+ showSeed: boolean;
822
+ silent: boolean;
823
+ skipFilter: boolean;
824
+ skipNodeResolution: boolean;
825
+ slowTestThreshold: number;
826
+ snapshotResolver: string;
827
+ snapshotSerializers: Array<string>;
828
+ snapshotFormat: SnapshotFormat;
829
+ errorOnDeprecated: boolean;
830
+ testEnvironment: string;
831
+ testEnvironmentOptions: Record<string, unknown>;
832
+ testFailureExitCode: string | number;
833
+ testLocationInResults: boolean;
834
+ testMatch: Array<string>;
835
+ testNamePattern: string;
836
+ testPathIgnorePatterns: Array<string>;
837
+ testRegex: string | Array<string>;
838
+ testResultsProcessor: string;
839
+ testRunner: string;
840
+ testSequencer: string;
841
+ testTimeout: number;
842
+ transform: {
843
+ [regex: string]: string | TransformerConfig;
844
+ };
845
+ transformIgnorePatterns: Array<string>;
846
+ watchPathIgnorePatterns: Array<string>;
847
+ unmockedModulePathPatterns: Array<string>;
848
+ updateSnapshot: boolean;
849
+ useStderr: boolean;
850
+ verbose?: boolean;
851
+ watch: boolean;
852
+ watchAll: boolean;
853
+ watchman: boolean;
854
+ watchPlugins: Array<string | [string, Record<string, unknown>]>;
855
+ workerIdleMemoryLimit: number | string;
856
+ workerThreads: boolean;
857
+ }>;
858
+
859
+ declare type InitialOptionsWithRootDir = InitialOptions &
860
+ Required<Pick<InitialOptions, 'rootDir'>>;
861
+
862
+ declare type InitialProjectOptions = Pick<
863
+ InitialOptions & {
864
+ cwd?: string;
865
+ },
866
+ keyof ProjectConfig
867
+ >;
868
+
869
+ declare interface It extends ItBase {
870
+ only: ItBase;
871
+ skip: ItBase;
872
+ todo: (testName: TestNameLike) => void;
873
+ }
874
+
875
+ declare interface ItBase {
876
+ (testName: TestNameLike, fn: TestFn, timeout?: number): void;
877
+ each: Each<TestFn>;
878
+ failing: Failing<TestFn>;
879
+ }
880
+
881
+ declare interface ItConcurrent extends It {
882
+ concurrent: ItConcurrentExtended;
883
+ }
884
+
885
+ declare interface ItConcurrentBase {
886
+ (testName: TestNameLike, testFn: ConcurrentTestFn, timeout?: number): void;
887
+ each: Each<ConcurrentTestFn>;
888
+ failing: Failing<ConcurrentTestFn>;
889
+ }
890
+
891
+ declare interface ItConcurrentExtended extends ItConcurrentBase {
892
+ only: ItConcurrentBase;
893
+ skip: ItConcurrentBase;
894
+ }
895
+
896
+ declare interface JestGlobals extends Global.TestFrameworkGlobals {
897
+ expect: unknown;
898
+ }
899
+
900
+ declare type LegacyFakeTimersConfig = {
901
+ /**
902
+ * Use the old fake timers implementation instead of one backed by
903
+ * [`@sinonjs/fake-timers`](https://github.com/sinonjs/fake-timers).
904
+ *
905
+ * @defaultValue
906
+ * The default is `false`.
907
+ */
908
+ legacyFakeTimers?: true;
909
+ };
910
+
911
+ declare type MatcherResults = {
912
+ actual: unknown;
913
+ expected: unknown;
914
+ name: string;
915
+ pass: boolean;
916
+ };
917
+
918
+ declare type NameLike = number | Function;
919
+
920
+ declare type NotifyMode =
921
+ | 'always'
922
+ | 'failure'
923
+ | 'success'
924
+ | 'change'
925
+ | 'success-change'
926
+ | 'failure-change';
927
+
928
+ declare type Process = NodeJS.Process;
929
+
930
+ declare type ProjectConfig = {
931
+ automock: boolean;
932
+ cache: boolean;
933
+ cacheDirectory: string;
934
+ clearMocks: boolean;
935
+ collectCoverageFrom: Array<string>;
936
+ coverageDirectory: string;
937
+ coveragePathIgnorePatterns: Array<string>;
938
+ cwd: string;
939
+ dependencyExtractor?: string;
940
+ detectLeaks: boolean;
941
+ detectOpenHandles: boolean;
942
+ displayName?: DisplayName;
943
+ errorOnDeprecated: boolean;
944
+ extensionsToTreatAsEsm: Array<string>;
945
+ fakeTimers: FakeTimers;
946
+ filter?: string;
947
+ forceCoverageMatch: Array<string>;
948
+ globalSetup?: string;
949
+ globalTeardown?: string;
950
+ globals: ConfigGlobals;
951
+ haste: HasteConfig;
952
+ id: string;
953
+ injectGlobals: boolean;
954
+ moduleDirectories: Array<string>;
955
+ moduleFileExtensions: Array<string>;
956
+ moduleNameMapper: Array<[string, string]>;
957
+ modulePathIgnorePatterns: Array<string>;
958
+ modulePaths?: Array<string>;
959
+ openHandlesTimeout: number;
960
+ preset?: string;
961
+ prettierPath: string;
962
+ resetMocks: boolean;
963
+ resetModules: boolean;
964
+ resolver?: string;
965
+ restoreMocks: boolean;
966
+ rootDir: string;
967
+ roots: Array<string>;
968
+ runner: string;
969
+ runtime?: string;
970
+ sandboxInjectedGlobals: Array<keyof typeof globalThis>;
971
+ setupFiles: Array<string>;
972
+ setupFilesAfterEnv: Array<string>;
973
+ skipFilter: boolean;
974
+ skipNodeResolution?: boolean;
975
+ slowTestThreshold: number;
976
+ snapshotResolver?: string;
977
+ snapshotSerializers: Array<string>;
978
+ snapshotFormat: SnapshotFormat;
979
+ testEnvironment: string;
980
+ testEnvironmentOptions: Record<string, unknown>;
981
+ testMatch: Array<string>;
982
+ testLocationInResults: boolean;
983
+ testPathIgnorePatterns: Array<string>;
984
+ testRegex: Array<string | RegExp>;
985
+ testRunner: string;
986
+ transform: Array<[string, string, Record<string, unknown>]>;
987
+ transformIgnorePatterns: Array<string>;
988
+ watchPathIgnorePatterns: Array<string>;
989
+ unmockedModulePathPatterns?: Array<string>;
990
+ workerIdleMemoryLimit?: number;
991
+ };
992
+
993
+ declare type PromiseReturningTestFn = (this: TestContext) => TestReturnValue;
994
+
995
+ declare type ReporterConfig = [string, Record<string, unknown>];
996
+
997
+ declare type Row = ReadonlyArray<Col>;
998
+
999
+ declare type RunResult = {
1000
+ unhandledErrors: Array<FormattedError>;
1001
+ testResults: TestResults;
1002
+ };
1003
+
1004
+ declare type SerializableError = {
1005
+ code?: unknown;
1006
+ message: string;
1007
+ stack: string | null | undefined;
1008
+ type?: string;
1009
+ };
1010
+
1011
+ declare type ShardConfig = {
1012
+ shardIndex: number;
1013
+ shardCount: number;
1014
+ };
1015
+
1016
+ declare type SharedHookType = 'afterAll' | 'beforeAll';
1017
+
1018
+ declare type SnapshotUpdateState = 'all' | 'new' | 'none';
1019
+
1020
+ declare type State = {
1021
+ currentDescribeBlock: DescribeBlock;
1022
+ currentlyRunningTest?: TestEntry | null;
1023
+ expand?: boolean;
1024
+ hasFocusedTests: boolean;
1025
+ hasStarted: boolean;
1026
+ originalGlobalErrorHandlers?: GlobalErrorHandlers;
1027
+ parentProcess: Process | null;
1028
+ randomize?: boolean;
1029
+ rootDescribeBlock: DescribeBlock;
1030
+ seed: number;
1031
+ testNamePattern?: RegExp | null;
1032
+ testTimeout: number;
1033
+ unhandledErrors: Array<Exception>;
1034
+ includeTestLocationInResult: boolean;
1035
+ maxConcurrency: number;
1036
+ };
1037
+
1038
+ declare type Status =
1039
+ | 'passed'
1040
+ | 'failed'
1041
+ | 'skipped'
1042
+ | 'pending'
1043
+ | 'todo'
1044
+ | 'disabled'
1045
+ | 'focused';
1046
+
1047
+ declare type SyncEvent =
1048
+ | {
1049
+ asyncError: Error;
1050
+ mode: BlockMode;
1051
+ name: 'start_describe_definition';
1052
+ blockName: BlockName_2;
1053
+ }
1054
+ | {
1055
+ mode: BlockMode;
1056
+ name: 'finish_describe_definition';
1057
+ blockName: BlockName_2;
1058
+ }
1059
+ | {
1060
+ asyncError: Error;
1061
+ name: 'add_hook';
1062
+ hookType: HookType;
1063
+ fn: HookFn_2;
1064
+ timeout: number | undefined;
1065
+ }
1066
+ | {
1067
+ asyncError: Error;
1068
+ name: 'add_test';
1069
+ testName: TestName_2;
1070
+ fn: TestFn_2;
1071
+ mode?: TestMode;
1072
+ concurrent: boolean;
1073
+ timeout: number | undefined;
1074
+ failing: boolean;
1075
+ }
1076
+ | {
1077
+ name: 'error';
1078
+ error: Exception;
1079
+ };
1080
+
1081
+ declare type Table = ReadonlyArray<Row>;
1082
+
1083
+ declare type TemplateData = ReadonlyArray<unknown>;
1084
+
1085
+ declare type TemplateTable = TemplateStringsArray;
1086
+
1087
+ declare type TestCallback = BlockFn | TestFn | ConcurrentTestFn;
1088
+
1089
+ declare type TestCaseStartInfo = {
1090
+ ancestorTitles: Array<string>;
1091
+ fullName: string;
1092
+ mode: TestMode;
1093
+ title: string;
1094
+ startedAt?: number | null;
1095
+ };
1096
+
1097
+ declare type TestContext = Record<string, unknown>;
1098
+
1099
+ declare type TestContext_2 = Global.TestContext;
1100
+
1101
+ declare type TestEntry = {
1102
+ type: 'test';
1103
+ asyncError: Exception;
1104
+ errors: Array<TestError>;
1105
+ retryReasons: Array<TestError>;
1106
+ fn: TestFn_2;
1107
+ invocations: number;
1108
+ mode: TestMode;
1109
+ concurrent: boolean;
1110
+ name: TestName_2;
1111
+ numPassingAsserts: number;
1112
+ parent: DescribeBlock;
1113
+ startedAt?: number | null;
1114
+ duration?: number | null;
1115
+ seenDone: boolean;
1116
+ status?: TestStatus | null;
1117
+ timeout?: number;
1118
+ failing: boolean;
1119
+ };
1120
+
1121
+ declare type TestError = Exception | [Exception | undefined, Exception];
1122
+
1123
+ declare type TestFn =
1124
+ | PromiseReturningTestFn
1125
+ | GeneratorReturningTestFn
1126
+ | DoneTakingTestFn;
1127
+
1128
+ declare type TestFn_2 = Global.TestFn;
1129
+
1130
+ declare interface TestFrameworkGlobals {
1131
+ it: ItConcurrent;
1132
+ test: ItConcurrent;
1133
+ fit: ItBase & {
1134
+ concurrent?: ItConcurrentBase;
1135
+ };
1136
+ xit: ItBase;
1137
+ xtest: ItBase;
1138
+ describe: Describe;
1139
+ xdescribe: DescribeBase;
1140
+ fdescribe: DescribeBase;
1141
+ beforeAll: HookBase;
1142
+ beforeEach: HookBase;
1143
+ afterEach: HookBase;
1144
+ afterAll: HookBase;
1145
+ }
1146
+
1147
+ declare type TestMode = BlockMode;
1148
+
1149
+ declare type TestName = string;
1150
+
1151
+ declare type TestName_2 = Global.TestName;
1152
+
1153
+ declare type TestNameLike = TestName | NameLike;
1154
+
1155
+ declare type TestNameLike_2 = Global.TestNameLike;
1156
+
1157
+ declare type TestNamesPath = Array<TestName_2 | BlockName_2>;
1158
+
1159
+ declare namespace TestResult {
1160
+ export {AssertionResult, SerializableError};
1161
+ }
1162
+ export {TestResult};
1163
+
1164
+ declare type TestResult_2 = {
1165
+ duration?: number | null;
1166
+ errors: Array<FormattedError>;
1167
+ errorsDetailed: Array<MatcherResults | unknown>;
1168
+ invocations: number;
1169
+ status: TestStatus;
1170
+ location?: {
1171
+ column: number;
1172
+ line: number;
1173
+ } | null;
1174
+ numPassingAsserts: number;
1175
+ retryReasons: Array<FormattedError>;
1176
+ testPath: TestNamesPath;
1177
+ };
1178
+
1179
+ declare type TestResults = Array<TestResult_2>;
1180
+
1181
+ declare type TestReturnValue = ValidTestReturnValues | TestReturnValuePromise;
1182
+
1183
+ declare type TestReturnValueGenerator = Generator<void, unknown, void>;
1184
+
1185
+ declare type TestReturnValuePromise = Promise<unknown>;
1186
+
1187
+ declare type TestStatus = 'skip' | 'done' | 'todo';
1188
+
1189
+ declare type TransformerConfig = [string, Record<string, unknown>];
1190
+
1191
+ declare type TransformResult = {
1192
+ code: string;
1193
+ originalCode: string;
1194
+ sourceMapPath: string | null;
1195
+ };
1196
+
1197
+ declare namespace TransformTypes {
1198
+ export {TransformResult};
1199
+ }
1200
+ export {TransformTypes};
1201
+
1202
+ declare type ValidTestReturnValues = void | undefined;
1203
+
1204
+ export {};