@manifest-network/manifest-mcp-core 0.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.
Files changed (237) hide show
  1. package/dist/__test-utils__/callTool.d.ts +29 -0
  2. package/dist/__test-utils__/callTool.d.ts.map +1 -0
  3. package/dist/__test-utils__/callTool.js +45 -0
  4. package/dist/__test-utils__/callTool.js.map +1 -0
  5. package/dist/__test-utils__/mocks.d.ts +125 -0
  6. package/dist/__test-utils__/mocks.d.ts.map +1 -0
  7. package/dist/__test-utils__/mocks.js +146 -0
  8. package/dist/__test-utils__/mocks.js.map +1 -0
  9. package/dist/client.d.ts +67 -0
  10. package/dist/client.d.ts.map +1 -0
  11. package/dist/client.js +209 -0
  12. package/dist/client.js.map +1 -0
  13. package/dist/config.d.ts +30 -0
  14. package/dist/config.d.ts.map +1 -0
  15. package/dist/config.js +127 -0
  16. package/dist/config.js.map +1 -0
  17. package/dist/cosmos.d.ts +24 -0
  18. package/dist/cosmos.d.ts.map +1 -0
  19. package/dist/cosmos.js +85 -0
  20. package/dist/cosmos.js.map +1 -0
  21. package/dist/index.d.ts +19 -0
  22. package/dist/index.js +20 -0
  23. package/dist/lcd-adapter.d.ts +15 -0
  24. package/dist/lcd-adapter.d.ts.map +1 -0
  25. package/dist/lcd-adapter.js +98 -0
  26. package/dist/lcd-adapter.js.map +1 -0
  27. package/dist/logger.d.ts +20 -0
  28. package/dist/logger.d.ts.map +1 -0
  29. package/dist/logger.js +43 -0
  30. package/dist/logger.js.map +1 -0
  31. package/dist/modules.d.ts +63 -0
  32. package/dist/modules.d.ts.map +1 -0
  33. package/dist/modules.js +759 -0
  34. package/dist/modules.js.map +1 -0
  35. package/dist/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.js +78 -0
  36. package/dist/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.js.map +1 -0
  37. package/dist/node_modules/@vitest/expect/dist/index.d.ts +802 -0
  38. package/dist/node_modules/@vitest/expect/dist/index.d.ts.map +1 -0
  39. package/dist/node_modules/@vitest/expect/dist/index.js +1457 -0
  40. package/dist/node_modules/@vitest/expect/dist/index.js.map +1 -0
  41. package/dist/node_modules/@vitest/pretty-format/dist/index.d.ts +95 -0
  42. package/dist/node_modules/@vitest/pretty-format/dist/index.d.ts.map +1 -0
  43. package/dist/node_modules/@vitest/pretty-format/dist/index.js +877 -0
  44. package/dist/node_modules/@vitest/pretty-format/dist/index.js.map +1 -0
  45. package/dist/node_modules/@vitest/runner/dist/chunk-tasks.js +91 -0
  46. package/dist/node_modules/@vitest/runner/dist/chunk-tasks.js.map +1 -0
  47. package/dist/node_modules/@vitest/runner/dist/index.js +1381 -0
  48. package/dist/node_modules/@vitest/runner/dist/index.js.map +1 -0
  49. package/dist/node_modules/@vitest/runner/dist/tasks.d-D2GKpdwQ.d.ts +540 -0
  50. package/dist/node_modules/@vitest/runner/dist/tasks.d-D2GKpdwQ.d.ts.map +1 -0
  51. package/dist/node_modules/@vitest/runner/dist/utils.js +1 -0
  52. package/dist/node_modules/@vitest/snapshot/dist/environment.d-DOJxxZV9.d.ts +16 -0
  53. package/dist/node_modules/@vitest/snapshot/dist/environment.d-DOJxxZV9.d.ts.map +1 -0
  54. package/dist/node_modules/@vitest/snapshot/dist/index.d.ts +89 -0
  55. package/dist/node_modules/@vitest/snapshot/dist/index.d.ts.map +1 -0
  56. package/dist/node_modules/@vitest/snapshot/dist/index.js +649 -0
  57. package/dist/node_modules/@vitest/snapshot/dist/index.js.map +1 -0
  58. package/dist/node_modules/@vitest/snapshot/dist/rawSnapshot.d-U2kJUxDr.d.ts +40 -0
  59. package/dist/node_modules/@vitest/snapshot/dist/rawSnapshot.d-U2kJUxDr.d.ts.map +1 -0
  60. package/dist/node_modules/@vitest/spy/dist/index.d.ts +343 -0
  61. package/dist/node_modules/@vitest/spy/dist/index.d.ts.map +1 -0
  62. package/dist/node_modules/@vitest/spy/dist/index.js +386 -0
  63. package/dist/node_modules/@vitest/spy/dist/index.js.map +1 -0
  64. package/dist/node_modules/@vitest/utils/dist/chunk-pathe.M-eThtNZ.js +82 -0
  65. package/dist/node_modules/@vitest/utils/dist/chunk-pathe.M-eThtNZ.js.map +1 -0
  66. package/dist/node_modules/@vitest/utils/dist/diff.d.ts +14 -0
  67. package/dist/node_modules/@vitest/utils/dist/diff.d.ts.map +1 -0
  68. package/dist/node_modules/@vitest/utils/dist/diff.js +1297 -0
  69. package/dist/node_modules/@vitest/utils/dist/diff.js.map +1 -0
  70. package/dist/node_modules/@vitest/utils/dist/display.d.ts +15 -0
  71. package/dist/node_modules/@vitest/utils/dist/display.d.ts.map +1 -0
  72. package/dist/node_modules/@vitest/utils/dist/display.js +558 -0
  73. package/dist/node_modules/@vitest/utils/dist/display.js.map +1 -0
  74. package/dist/node_modules/@vitest/utils/dist/error.js +30 -0
  75. package/dist/node_modules/@vitest/utils/dist/error.js.map +1 -0
  76. package/dist/node_modules/@vitest/utils/dist/helpers.js +181 -0
  77. package/dist/node_modules/@vitest/utils/dist/helpers.js.map +1 -0
  78. package/dist/node_modules/@vitest/utils/dist/offset.js +27 -0
  79. package/dist/node_modules/@vitest/utils/dist/offset.js.map +1 -0
  80. package/dist/node_modules/@vitest/utils/dist/serialize.js +77 -0
  81. package/dist/node_modules/@vitest/utils/dist/serialize.js.map +1 -0
  82. package/dist/node_modules/@vitest/utils/dist/source-map.js +367 -0
  83. package/dist/node_modules/@vitest/utils/dist/source-map.js.map +1 -0
  84. package/dist/node_modules/@vitest/utils/dist/timers.js +37 -0
  85. package/dist/node_modules/@vitest/utils/dist/timers.js.map +1 -0
  86. package/dist/node_modules/@vitest/utils/dist/types.d-BCElaP-c.d.ts +38 -0
  87. package/dist/node_modules/@vitest/utils/dist/types.d-BCElaP-c.d.ts.map +1 -0
  88. package/dist/node_modules/@vitest/utils/dist/types.d.ts +25 -0
  89. package/dist/node_modules/@vitest/utils/dist/types.d.ts.map +1 -0
  90. package/dist/node_modules/chai/index.js +2875 -0
  91. package/dist/node_modules/chai/index.js.map +1 -0
  92. package/dist/node_modules/magic-string/dist/magic-string.es.js +939 -0
  93. package/dist/node_modules/magic-string/dist/magic-string.es.js.map +1 -0
  94. package/dist/node_modules/pathe/dist/shared/pathe.M-eThtNZ.js +85 -0
  95. package/dist/node_modules/pathe/dist/shared/pathe.M-eThtNZ.js.map +1 -0
  96. package/dist/node_modules/tinybench/dist/index.d.ts +91 -0
  97. package/dist/node_modules/tinybench/dist/index.d.ts.map +1 -0
  98. package/dist/node_modules/tinyrainbow/dist/index.d.ts +9 -0
  99. package/dist/node_modules/tinyrainbow/dist/index.d.ts.map +1 -0
  100. package/dist/node_modules/tinyrainbow/dist/index.js +86 -0
  101. package/dist/node_modules/tinyrainbow/dist/index.js.map +1 -0
  102. package/dist/node_modules/vitest/dist/chunks/_commonjsHelpers.D26ty3Ew.js +6 -0
  103. package/dist/node_modules/vitest/dist/chunks/_commonjsHelpers.D26ty3Ew.js.map +1 -0
  104. package/dist/node_modules/vitest/dist/chunks/benchmark.D0SlKNbZ.js +41 -0
  105. package/dist/node_modules/vitest/dist/chunks/benchmark.D0SlKNbZ.js.map +1 -0
  106. package/dist/node_modules/vitest/dist/chunks/benchmark.d.DAaHLpsq.d.ts +12 -0
  107. package/dist/node_modules/vitest/dist/chunks/benchmark.d.DAaHLpsq.d.ts.map +1 -0
  108. package/dist/node_modules/vitest/dist/chunks/global.d.x-ILCfAE.d.ts +100 -0
  109. package/dist/node_modules/vitest/dist/chunks/global.d.x-ILCfAE.d.ts.map +1 -0
  110. package/dist/node_modules/vitest/dist/chunks/rpc.MzXet3jl.js +57 -0
  111. package/dist/node_modules/vitest/dist/chunks/rpc.MzXet3jl.js.map +1 -0
  112. package/dist/node_modules/vitest/dist/chunks/rpc.d.BFMWpdph.d.ts +13 -0
  113. package/dist/node_modules/vitest/dist/chunks/rpc.d.BFMWpdph.d.ts.map +1 -0
  114. package/dist/node_modules/vitest/dist/chunks/test.CTcmp4Su.js +2791 -0
  115. package/dist/node_modules/vitest/dist/chunks/test.CTcmp4Su.js.map +1 -0
  116. package/dist/node_modules/vitest/dist/chunks/utils.BX5Fg8C4.js +44 -0
  117. package/dist/node_modules/vitest/dist/chunks/utils.BX5Fg8C4.js.map +1 -0
  118. package/dist/node_modules/vitest/dist/index.d.ts +9 -0
  119. package/dist/queries/auth.d.ts +15 -0
  120. package/dist/queries/auth.d.ts.map +1 -0
  121. package/dist/queries/auth.js +58 -0
  122. package/dist/queries/auth.js.map +1 -0
  123. package/dist/queries/bank.d.ts +15 -0
  124. package/dist/queries/bank.d.ts.map +1 -0
  125. package/dist/queries/bank.js +93 -0
  126. package/dist/queries/bank.js.map +1 -0
  127. package/dist/queries/billing.d.ts +15 -0
  128. package/dist/queries/billing.d.ts.map +1 -0
  129. package/dist/queries/billing.js +114 -0
  130. package/dist/queries/billing.js.map +1 -0
  131. package/dist/queries/distribution.d.ts +15 -0
  132. package/dist/queries/distribution.d.ts.map +1 -0
  133. package/dist/queries/distribution.js +73 -0
  134. package/dist/queries/distribution.js.map +1 -0
  135. package/dist/queries/gov.d.ts +15 -0
  136. package/dist/queries/gov.d.ts.map +1 -0
  137. package/dist/queries/gov.js +98 -0
  138. package/dist/queries/gov.js.map +1 -0
  139. package/dist/queries/group.d.ts +15 -0
  140. package/dist/queries/group.d.ts.map +1 -0
  141. package/dist/queries/group.js +159 -0
  142. package/dist/queries/group.js.map +1 -0
  143. package/dist/queries/index.d.ts +10 -0
  144. package/dist/queries/index.js +10 -0
  145. package/dist/queries/sku.d.ts +16 -0
  146. package/dist/queries/sku.d.ts.map +1 -0
  147. package/dist/queries/sku.js +85 -0
  148. package/dist/queries/sku.js.map +1 -0
  149. package/dist/queries/staking.d.ts +15 -0
  150. package/dist/queries/staking.d.ts.map +1 -0
  151. package/dist/queries/staking.js +127 -0
  152. package/dist/queries/staking.js.map +1 -0
  153. package/dist/queries/utils.d.ts +54 -0
  154. package/dist/queries/utils.d.ts.map +1 -0
  155. package/dist/queries/utils.js +74 -0
  156. package/dist/queries/utils.js.map +1 -0
  157. package/dist/retry.d.ts +48 -0
  158. package/dist/retry.d.ts.map +1 -0
  159. package/dist/retry.js +106 -0
  160. package/dist/retry.js.map +1 -0
  161. package/dist/server-utils.d.ts +61 -0
  162. package/dist/server-utils.d.ts.map +1 -0
  163. package/dist/server-utils.js +156 -0
  164. package/dist/server-utils.js.map +1 -0
  165. package/dist/tools/fundCredits.d.ts +8 -0
  166. package/dist/tools/fundCredits.d.ts.map +1 -0
  167. package/dist/tools/fundCredits.js +9 -0
  168. package/dist/tools/fundCredits.js.map +1 -0
  169. package/dist/tools/getBalance.d.ts +26 -0
  170. package/dist/tools/getBalance.d.ts.map +1 -0
  171. package/dist/tools/getBalance.js +59 -0
  172. package/dist/tools/getBalance.js.map +1 -0
  173. package/dist/tools/stopApp.d.ts +13 -0
  174. package/dist/tools/stopApp.d.ts.map +1 -0
  175. package/dist/tools/stopApp.js +15 -0
  176. package/dist/tools/stopApp.js.map +1 -0
  177. package/dist/transactions/bank.d.ts +11 -0
  178. package/dist/transactions/bank.d.ts.map +1 -0
  179. package/dist/transactions/bank.js +75 -0
  180. package/dist/transactions/bank.js.map +1 -0
  181. package/dist/transactions/billing.d.ts +11 -0
  182. package/dist/transactions/billing.d.ts.map +1 -0
  183. package/dist/transactions/billing.js +189 -0
  184. package/dist/transactions/billing.js.map +1 -0
  185. package/dist/transactions/distribution.d.ts +11 -0
  186. package/dist/transactions/distribution.d.ts.map +1 -0
  187. package/dist/transactions/distribution.js +60 -0
  188. package/dist/transactions/distribution.js.map +1 -0
  189. package/dist/transactions/gov.d.ts +11 -0
  190. package/dist/transactions/gov.d.ts.map +1 -0
  191. package/dist/transactions/gov.js +108 -0
  192. package/dist/transactions/gov.js.map +1 -0
  193. package/dist/transactions/group.d.ts +11 -0
  194. package/dist/transactions/group.d.ts.map +1 -0
  195. package/dist/transactions/group.js +347 -0
  196. package/dist/transactions/group.js.map +1 -0
  197. package/dist/transactions/index.d.ts +10 -0
  198. package/dist/transactions/index.js +10 -0
  199. package/dist/transactions/manifest.d.ts +11 -0
  200. package/dist/transactions/manifest.d.ts.map +1 -0
  201. package/dist/transactions/manifest.js +59 -0
  202. package/dist/transactions/manifest.js.map +1 -0
  203. package/dist/transactions/sku.d.ts +11 -0
  204. package/dist/transactions/sku.d.ts.map +1 -0
  205. package/dist/transactions/sku.js +191 -0
  206. package/dist/transactions/sku.js.map +1 -0
  207. package/dist/transactions/staking.d.ts +11 -0
  208. package/dist/transactions/staking.d.ts.map +1 -0
  209. package/dist/transactions/staking.js +79 -0
  210. package/dist/transactions/staking.js.map +1 -0
  211. package/dist/transactions/utils.d.ts +161 -0
  212. package/dist/transactions/utils.d.ts.map +1 -0
  213. package/dist/transactions/utils.js +272 -0
  214. package/dist/transactions/utils.js.map +1 -0
  215. package/dist/types.d.ts +390 -0
  216. package/dist/types.d.ts.map +1 -0
  217. package/dist/types.js +45 -0
  218. package/dist/types.js.map +1 -0
  219. package/dist/validation.d.ts +30 -0
  220. package/dist/validation.d.ts.map +1 -0
  221. package/dist/validation.js +53 -0
  222. package/dist/validation.js.map +1 -0
  223. package/dist/version.d.ts +5 -0
  224. package/dist/version.d.ts.map +1 -0
  225. package/dist/version.js +6 -0
  226. package/dist/version.js.map +1 -0
  227. package/dist/wallet/index.d.ts +4 -0
  228. package/dist/wallet/index.js +3 -0
  229. package/dist/wallet/mnemonic.d.ts +47 -0
  230. package/dist/wallet/mnemonic.d.ts.map +1 -0
  231. package/dist/wallet/mnemonic.js +97 -0
  232. package/dist/wallet/mnemonic.js.map +1 -0
  233. package/dist/wallet/sign-arbitrary.d.ts +12 -0
  234. package/dist/wallet/sign-arbitrary.d.ts.map +1 -0
  235. package/dist/wallet/sign-arbitrary.js +36 -0
  236. package/dist/wallet/sign-arbitrary.js.map +1 -0
  237. package/package.json +72 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../../../../../node_modules/@vitest/snapshot/dist/index.js"],"sourcesContent":["import { parseErrorStacktrace } from '@vitest/utils/source-map';\nimport { getCallLastIndex, isObject } from '@vitest/utils/helpers';\nimport { positionToOffset, offsetToLineNumber, lineSplitRE } from '@vitest/utils/offset';\nimport { plugins, format } from '@vitest/pretty-format';\n\nasync function saveInlineSnapshots(environment, snapshots) {\n\tconst MagicString = (await import('magic-string')).default;\n\tconst files = new Set(snapshots.map((i) => i.file));\n\tawait Promise.all(Array.from(files).map(async (file) => {\n\t\tconst snaps = snapshots.filter((i) => i.file === file);\n\t\tconst code = await environment.readSnapshotFile(file);\n\t\tif (code == null) {\n\t\t\tthrow new Error(`cannot read ${file} when saving inline snapshot`);\n\t\t}\n\t\tconst s = new MagicString(code);\n\t\tfor (const snap of snaps) {\n\t\t\tconst index = positionToOffset(code, snap.line, snap.column);\n\t\t\treplaceInlineSnap(code, s, index, snap.snapshot);\n\t\t}\n\t\tconst transformed = s.toString();\n\t\tif (transformed !== code) {\n\t\t\tawait environment.saveSnapshotFile(file, transformed);\n\t\t}\n\t}));\n}\nconst startObjectRegex = /(?:toMatchInlineSnapshot|toThrowErrorMatchingInlineSnapshot)\\s*\\(\\s*(?:\\/\\*[\\s\\S]*\\*\\/\\s*|\\/\\/.*(?:[\\n\\r\\u2028\\u2029]\\s*|[\\t\\v\\f \\xA0\\u1680\\u2000-\\u200A\\u202F\\u205F\\u3000\\uFEFF]))*\\{/;\nfunction replaceObjectSnap(code, s, index, newSnap) {\n\tlet _code = code.slice(index);\n\tconst startMatch = startObjectRegex.exec(_code);\n\tif (!startMatch) {\n\t\treturn false;\n\t}\n\t_code = _code.slice(startMatch.index);\n\tlet callEnd = getCallLastIndex(_code);\n\tif (callEnd === null) {\n\t\treturn false;\n\t}\n\tcallEnd += index + startMatch.index;\n\tconst shapeStart = index + startMatch.index + startMatch[0].length;\n\tconst shapeEnd = getObjectShapeEndIndex(code, shapeStart);\n\tconst snap = `, ${prepareSnapString(newSnap, code, index)}`;\n\tif (shapeEnd === callEnd) {\n\t\t// toMatchInlineSnapshot({ foo: expect.any(String) })\n\t\ts.appendLeft(callEnd, snap);\n\t} else {\n\t\t// toMatchInlineSnapshot({ foo: expect.any(String) }, ``)\n\t\ts.overwrite(shapeEnd, callEnd, snap);\n\t}\n\treturn true;\n}\nfunction getObjectShapeEndIndex(code, index) {\n\tlet startBraces = 1;\n\tlet endBraces = 0;\n\twhile (startBraces !== endBraces && index < code.length) {\n\t\tconst s = code[index++];\n\t\tif (s === \"{\") {\n\t\t\tstartBraces++;\n\t\t} else if (s === \"}\") {\n\t\t\tendBraces++;\n\t\t}\n\t}\n\treturn index;\n}\nfunction prepareSnapString(snap, source, index) {\n\tconst lineNumber = offsetToLineNumber(source, index);\n\tconst line = source.split(lineSplitRE)[lineNumber - 1];\n\tconst indent = line.match(/^\\s*/)[0] || \"\";\n\tconst indentNext = indent.includes(\"\t\") ? `${indent}\\t` : `${indent} `;\n\tconst lines = snap.trim().replace(/\\\\/g, \"\\\\\\\\\").split(/\\n/g);\n\tconst isOneline = lines.length <= 1;\n\tconst quote = \"`\";\n\tif (isOneline) {\n\t\treturn `${quote}${lines.join(\"\\n\").replace(/`/g, \"\\\\`\").replace(/\\$\\{/g, \"\\\\${\")}${quote}`;\n\t}\n\treturn `${quote}\\n${lines.map((i) => i ? indentNext + i : \"\").join(\"\\n\").replace(/`/g, \"\\\\`\").replace(/\\$\\{/g, \"\\\\${\")}\\n${indent}${quote}`;\n}\nconst toMatchInlineName = \"toMatchInlineSnapshot\";\nconst toThrowErrorMatchingInlineName = \"toThrowErrorMatchingInlineSnapshot\";\n// on webkit, the line number is at the end of the method, not at the start\nfunction getCodeStartingAtIndex(code, index) {\n\tconst indexInline = index - toMatchInlineName.length;\n\tif (code.slice(indexInline, index) === toMatchInlineName) {\n\t\treturn {\n\t\t\tcode: code.slice(indexInline),\n\t\t\tindex: indexInline\n\t\t};\n\t}\n\tconst indexThrowInline = index - toThrowErrorMatchingInlineName.length;\n\tif (code.slice(index - indexThrowInline, index) === toThrowErrorMatchingInlineName) {\n\t\treturn {\n\t\t\tcode: code.slice(index - indexThrowInline),\n\t\t\tindex: index - indexThrowInline\n\t\t};\n\t}\n\treturn {\n\t\tcode: code.slice(index),\n\t\tindex\n\t};\n}\nconst startRegex = /(?:toMatchInlineSnapshot|toThrowErrorMatchingInlineSnapshot)\\s*\\(\\s*(?:\\/\\*[\\s\\S]*\\*\\/\\s*|\\/\\/.*(?:[\\n\\r\\u2028\\u2029]\\s*|[\\t\\v\\f \\xA0\\u1680\\u2000-\\u200A\\u202F\\u205F\\u3000\\uFEFF]))*[\\w$]*(['\"`)])/;\nfunction replaceInlineSnap(code, s, currentIndex, newSnap) {\n\tconst { code: codeStartingAtIndex, index } = getCodeStartingAtIndex(code, currentIndex);\n\tconst startMatch = startRegex.exec(codeStartingAtIndex);\n\tconst firstKeywordMatch = /toMatchInlineSnapshot|toThrowErrorMatchingInlineSnapshot/.exec(codeStartingAtIndex);\n\tif (!startMatch || startMatch.index !== firstKeywordMatch?.index) {\n\t\treturn replaceObjectSnap(code, s, index, newSnap);\n\t}\n\tconst quote = startMatch[1];\n\tconst startIndex = index + startMatch.index + startMatch[0].length;\n\tconst snapString = prepareSnapString(newSnap, code, index);\n\tif (quote === \")\") {\n\t\ts.appendRight(startIndex - 1, snapString);\n\t\treturn true;\n\t}\n\tconst quoteEndRE = new RegExp(`(?:^|[^\\\\\\\\])${quote}`);\n\tconst endMatch = quoteEndRE.exec(code.slice(startIndex));\n\tif (!endMatch) {\n\t\treturn false;\n\t}\n\tconst endIndex = startIndex + endMatch.index + endMatch[0].length;\n\ts.overwrite(startIndex - 1, endIndex, snapString);\n\treturn true;\n}\nconst INDENTATION_REGEX = /^([^\\S\\n]*)\\S/m;\nfunction stripSnapshotIndentation(inlineSnapshot) {\n\t// Find indentation if exists.\n\tconst match = inlineSnapshot.match(INDENTATION_REGEX);\n\tif (!match || !match[1]) {\n\t\t// No indentation.\n\t\treturn inlineSnapshot;\n\t}\n\tconst indentation = match[1];\n\tconst lines = inlineSnapshot.split(/\\n/g);\n\tif (lines.length <= 2) {\n\t\t// Must be at least 3 lines.\n\t\treturn inlineSnapshot;\n\t}\n\tif (lines[0].trim() !== \"\" || lines.at(-1)?.trim() !== \"\") {\n\t\t// If not blank first and last lines, abort.\n\t\treturn inlineSnapshot;\n\t}\n\tfor (let i = 1; i < lines.length - 1; i++) {\n\t\tif (lines[i] !== \"\") {\n\t\t\tif (lines[i].indexOf(indentation) !== 0) {\n\t\t\t\t// All lines except first and last should either be blank or have the same\n\t\t\t\t// indent as the first line (or more). If this isn't the case we don't\n\t\t\t\t// want to touch the snapshot at all.\n\t\t\t\treturn inlineSnapshot;\n\t\t\t}\n\t\t\tlines[i] = lines[i].substring(indentation.length);\n\t\t}\n\t}\n\t// Last line is a special case because it won't have the same indent as others\n\t// but may still have been given some indent to line up.\n\tlines[lines.length - 1] = \"\";\n\t// Return inline snapshot, now at indent 0.\n\tinlineSnapshot = lines.join(\"\\n\");\n\treturn inlineSnapshot;\n}\n\nasync function saveRawSnapshots(environment, snapshots) {\n\tawait Promise.all(snapshots.map(async (snap) => {\n\t\tif (!snap.readonly) {\n\t\t\tawait environment.saveSnapshotFile(snap.file, snap.snapshot);\n\t\t}\n\t}));\n}\n\nfunction getDefaultExportFromCjs(x) {\n\treturn x && x.__esModule && Object.prototype.hasOwnProperty.call(x, \"default\") ? x[\"default\"] : x;\n}\n\nvar naturalCompare$1 = {exports: {}};\n\nvar hasRequiredNaturalCompare;\n\nfunction requireNaturalCompare () {\n\tif (hasRequiredNaturalCompare) return naturalCompare$1.exports;\n\thasRequiredNaturalCompare = 1;\n\t/*\n\t * @version 1.4.0\n\t * @date 2015-10-26\n\t * @stability 3 - Stable\n\t * @author Lauri Rooden (https://github.com/litejs/natural-compare-lite)\n\t * @license MIT License\n\t */\n\n\n\tvar naturalCompare = function(a, b) {\n\t\tvar i, codeA\n\t\t, codeB = 1\n\t\t, posA = 0\n\t\t, posB = 0\n\t\t, alphabet = String.alphabet;\n\n\t\tfunction getCode(str, pos, code) {\n\t\t\tif (code) {\n\t\t\t\tfor (i = pos; code = getCode(str, i), code < 76 && code > 65;) ++i;\n\t\t\t\treturn +str.slice(pos - 1, i)\n\t\t\t}\n\t\t\tcode = alphabet && alphabet.indexOf(str.charAt(pos));\n\t\t\treturn code > -1 ? code + 76 : ((code = str.charCodeAt(pos) || 0), code < 45 || code > 127) ? code\n\t\t\t\t: code < 46 ? 65 // -\n\t\t\t\t: code < 48 ? code - 1\n\t\t\t\t: code < 58 ? code + 18 // 0-9\n\t\t\t\t: code < 65 ? code - 11\n\t\t\t\t: code < 91 ? code + 11 // A-Z\n\t\t\t\t: code < 97 ? code - 37\n\t\t\t\t: code < 123 ? code + 5 // a-z\n\t\t\t\t: code - 63\n\t\t}\n\n\n\t\tif ((a+=\"\") != (b+=\"\")) for (;codeB;) {\n\t\t\tcodeA = getCode(a, posA++);\n\t\t\tcodeB = getCode(b, posB++);\n\n\t\t\tif (codeA < 76 && codeB < 76 && codeA > 66 && codeB > 66) {\n\t\t\t\tcodeA = getCode(a, posA, posA);\n\t\t\t\tcodeB = getCode(b, posB, posA = i);\n\t\t\t\tposB = i;\n\t\t\t}\n\n\t\t\tif (codeA != codeB) return (codeA < codeB) ? -1 : 1\n\t\t}\n\t\treturn 0\n\t};\n\n\ttry {\n\t\tnaturalCompare$1.exports = naturalCompare;\n\t} catch (e) {\n\t\tString.naturalCompare = naturalCompare;\n\t}\n\treturn naturalCompare$1.exports;\n}\n\nvar naturalCompareExports = requireNaturalCompare();\nvar naturalCompare = /*@__PURE__*/getDefaultExportFromCjs(naturalCompareExports);\n\nconst serialize$1 = (val, config, indentation, depth, refs, printer) => {\n\t// Serialize a non-default name, even if config.printFunctionName is false.\n\tconst name = val.getMockName();\n\tconst nameString = name === \"vi.fn()\" ? \"\" : ` ${name}`;\n\tlet callsString = \"\";\n\tif (val.mock.calls.length !== 0) {\n\t\tconst indentationNext = indentation + config.indent;\n\t\tcallsString = ` {${config.spacingOuter}${indentationNext}\"calls\": ${printer(val.mock.calls, config, indentationNext, depth, refs)}${config.min ? \", \" : \",\"}${config.spacingOuter}${indentationNext}\"results\": ${printer(val.mock.results, config, indentationNext, depth, refs)}${config.min ? \"\" : \",\"}${config.spacingOuter}${indentation}}`;\n\t}\n\treturn `[MockFunction${nameString}]${callsString}`;\n};\nconst test = (val) => val && !!val._isMockFunction;\nconst plugin = {\n\tserialize: serialize$1,\n\ttest\n};\n\nconst { DOMCollection, DOMElement, Immutable, ReactElement, ReactTestComponent, AsymmetricMatcher } = plugins;\nlet PLUGINS = [\n\tReactTestComponent,\n\tReactElement,\n\tDOMElement,\n\tDOMCollection,\n\tImmutable,\n\tAsymmetricMatcher,\n\tplugin\n];\nfunction addSerializer(plugin) {\n\tPLUGINS = [plugin].concat(PLUGINS);\n}\nfunction getSerializers() {\n\treturn PLUGINS;\n}\n\n// TODO: rewrite and clean up\nfunction testNameToKey(testName, count) {\n\treturn `${testName} ${count}`;\n}\nfunction keyToTestName(key) {\n\tif (!/ \\d+$/.test(key)) {\n\t\tthrow new Error(\"Snapshot keys must end with a number.\");\n\t}\n\treturn key.replace(/ \\d+$/, \"\");\n}\nfunction getSnapshotData(content, options) {\n\tconst update = options.updateSnapshot;\n\tconst data = Object.create(null);\n\tlet snapshotContents = \"\";\n\tlet dirty = false;\n\tif (content != null) {\n\t\ttry {\n\t\t\tsnapshotContents = content;\n\t\t\t// eslint-disable-next-line no-new-func\n\t\t\tconst populate = new Function(\"exports\", snapshotContents);\n\t\t\tpopulate(data);\n\t\t} catch {}\n\t}\n\t// const validationResult = validateSnapshotVersion(snapshotContents)\n\tconst isInvalid = snapshotContents;\n\t// if (update === 'none' && isInvalid)\n\t// throw validationResult\n\tif ((update === \"all\" || update === \"new\") && isInvalid) {\n\t\tdirty = true;\n\t}\n\treturn {\n\t\tdata,\n\t\tdirty\n\t};\n}\n// Add extra line breaks at beginning and end of multiline snapshot\n// to make the content easier to read.\nfunction addExtraLineBreaks(string) {\n\treturn string.includes(\"\\n\") ? `\\n${string}\\n` : string;\n}\n// Remove extra line breaks at beginning and end of multiline snapshot.\n// Instead of trim, which can remove additional newlines or spaces\n// at beginning or end of the content from a custom serializer.\nfunction removeExtraLineBreaks(string) {\n\treturn string.length > 2 && string[0] === \"\\n\" && string.endsWith(\"\\n\") ? string.slice(1, -1) : string;\n}\n// export const removeLinesBeforeExternalMatcherTrap = (stack: string): string => {\n// const lines = stack.split('\\n')\n// for (let i = 0; i < lines.length; i += 1) {\n// // It's a function name specified in `packages/expect/src/index.ts`\n// // for external custom matchers.\n// if (lines[i].includes('__EXTERNAL_MATCHER_TRAP__'))\n// return lines.slice(i + 1).join('\\n')\n// }\n// return stack\n// }\nconst escapeRegex = true;\nconst printFunctionName = false;\nfunction serialize(val, indent = 2, formatOverrides = {}) {\n\treturn normalizeNewlines(format(val, {\n\t\tescapeRegex,\n\t\tindent,\n\t\tplugins: getSerializers(),\n\t\tprintFunctionName,\n\t\t...formatOverrides\n\t}));\n}\nfunction escapeBacktickString(str) {\n\treturn str.replace(/`|\\\\|\\$\\{/g, \"\\\\$&\");\n}\nfunction printBacktickString(str) {\n\treturn `\\`${escapeBacktickString(str)}\\``;\n}\nfunction normalizeNewlines(string) {\n\treturn string.replace(/\\r\\n|\\r/g, \"\\n\");\n}\nasync function saveSnapshotFile(environment, snapshotData, snapshotPath) {\n\tconst snapshots = Object.keys(snapshotData).sort(naturalCompare).map((key) => `exports[${printBacktickString(key)}] = ${printBacktickString(normalizeNewlines(snapshotData[key]))};`);\n\tconst content = `${environment.getHeader()}\\n\\n${snapshots.join(\"\\n\\n\")}\\n`;\n\tconst oldContent = await environment.readSnapshotFile(snapshotPath);\n\tconst skipWriting = oldContent != null && oldContent === content;\n\tif (skipWriting) {\n\t\treturn;\n\t}\n\tawait environment.saveSnapshotFile(snapshotPath, content);\n}\nfunction deepMergeArray(target = [], source = []) {\n\tconst mergedOutput = Array.from(target);\n\tsource.forEach((sourceElement, index) => {\n\t\tconst targetElement = mergedOutput[index];\n\t\tif (Array.isArray(target[index])) {\n\t\t\tmergedOutput[index] = deepMergeArray(target[index], sourceElement);\n\t\t} else if (isObject(targetElement)) {\n\t\t\tmergedOutput[index] = deepMergeSnapshot(target[index], sourceElement);\n\t\t} else {\n\t\t\t// Source does not exist in target or target is primitive and cannot be deep merged\n\t\t\tmergedOutput[index] = sourceElement;\n\t\t}\n\t});\n\treturn mergedOutput;\n}\n/**\n* Deep merge, but considers asymmetric matchers. Unlike base util's deep merge,\n* will merge any object-like instance.\n* Compatible with Jest's snapshot matcher. Should not be used outside of snapshot.\n*\n* @example\n* ```ts\n* toMatchSnapshot({\n* name: expect.stringContaining('text')\n* })\n* ```\n*/\nfunction deepMergeSnapshot(target, source) {\n\tif (isObject(target) && isObject(source)) {\n\t\tconst mergedOutput = { ...target };\n\t\tObject.keys(source).forEach((key) => {\n\t\t\tif (isObject(source[key]) && !source[key].$$typeof) {\n\t\t\t\tif (!(key in target)) {\n\t\t\t\t\tObject.assign(mergedOutput, { [key]: source[key] });\n\t\t\t\t} else {\n\t\t\t\t\tmergedOutput[key] = deepMergeSnapshot(target[key], source[key]);\n\t\t\t\t}\n\t\t\t} else if (Array.isArray(source[key])) {\n\t\t\t\tmergedOutput[key] = deepMergeArray(target[key], source[key]);\n\t\t\t} else {\n\t\t\t\tObject.assign(mergedOutput, { [key]: source[key] });\n\t\t\t}\n\t\t});\n\t\treturn mergedOutput;\n\t} else if (Array.isArray(target) && Array.isArray(source)) {\n\t\treturn deepMergeArray(target, source);\n\t}\n\treturn target;\n}\nclass DefaultMap extends Map {\n\tconstructor(defaultFn, entries) {\n\t\tsuper(entries);\n\t\tthis.defaultFn = defaultFn;\n\t}\n\tget(key) {\n\t\tif (!this.has(key)) {\n\t\t\tthis.set(key, this.defaultFn(key));\n\t\t}\n\t\treturn super.get(key);\n\t}\n}\nclass CounterMap extends DefaultMap {\n\tconstructor() {\n\t\tsuper(() => 0);\n\t}\n\t// compat for jest-image-snapshot https://github.com/vitest-dev/vitest/issues/7322\n\t// `valueOf` and `Snapshot.added` setter allows\n\t// snapshotState.added = snapshotState.added + 1\n\t// to function as\n\t// snapshotState.added.total_ = snapshotState.added.total() + 1\n\t_total;\n\tvalueOf() {\n\t\treturn this._total = this.total();\n\t}\n\tincrement(key) {\n\t\tif (typeof this._total !== \"undefined\") {\n\t\t\tthis._total++;\n\t\t}\n\t\tthis.set(key, this.get(key) + 1);\n\t}\n\ttotal() {\n\t\tif (typeof this._total !== \"undefined\") {\n\t\t\treturn this._total;\n\t\t}\n\t\tlet total = 0;\n\t\tfor (const x of this.values()) {\n\t\t\ttotal += x;\n\t\t}\n\t\treturn total;\n\t}\n}\n\nfunction isSameStackPosition(x, y) {\n\treturn x.file === y.file && x.column === y.column && x.line === y.line;\n}\nclass SnapshotState {\n\t_counters = new CounterMap();\n\t_dirty;\n\t_updateSnapshot;\n\t_snapshotData;\n\t_initialData;\n\t_inlineSnapshots;\n\t_inlineSnapshotStacks;\n\t_testIdToKeys = new DefaultMap(() => []);\n\t_rawSnapshots;\n\t_uncheckedKeys;\n\t_snapshotFormat;\n\t_environment;\n\t_fileExists;\n\texpand;\n\t// getter/setter for jest-image-snapshot compat\n\t// https://github.com/vitest-dev/vitest/issues/7322\n\t_added = new CounterMap();\n\t_matched = new CounterMap();\n\t_unmatched = new CounterMap();\n\t_updated = new CounterMap();\n\tget added() {\n\t\treturn this._added;\n\t}\n\tset added(value) {\n\t\tthis._added._total = value;\n\t}\n\tget matched() {\n\t\treturn this._matched;\n\t}\n\tset matched(value) {\n\t\tthis._matched._total = value;\n\t}\n\tget unmatched() {\n\t\treturn this._unmatched;\n\t}\n\tset unmatched(value) {\n\t\tthis._unmatched._total = value;\n\t}\n\tget updated() {\n\t\treturn this._updated;\n\t}\n\tset updated(value) {\n\t\tthis._updated._total = value;\n\t}\n\tconstructor(testFilePath, snapshotPath, snapshotContent, options) {\n\t\tthis.testFilePath = testFilePath;\n\t\tthis.snapshotPath = snapshotPath;\n\t\tconst { data, dirty } = getSnapshotData(snapshotContent, options);\n\t\tthis._fileExists = snapshotContent != null;\n\t\tthis._initialData = { ...data };\n\t\tthis._snapshotData = { ...data };\n\t\tthis._dirty = dirty;\n\t\tthis._inlineSnapshots = [];\n\t\tthis._inlineSnapshotStacks = [];\n\t\tthis._rawSnapshots = [];\n\t\tthis._uncheckedKeys = new Set(Object.keys(this._snapshotData));\n\t\tthis.expand = options.expand || false;\n\t\tthis._updateSnapshot = options.updateSnapshot;\n\t\tthis._snapshotFormat = {\n\t\t\tprintBasicPrototype: false,\n\t\t\tescapeString: false,\n\t\t\t...options.snapshotFormat\n\t\t};\n\t\tthis._environment = options.snapshotEnvironment;\n\t}\n\tstatic async create(testFilePath, options) {\n\t\tconst snapshotPath = await options.snapshotEnvironment.resolvePath(testFilePath);\n\t\tconst content = await options.snapshotEnvironment.readSnapshotFile(snapshotPath);\n\t\treturn new SnapshotState(testFilePath, snapshotPath, content, options);\n\t}\n\tget environment() {\n\t\treturn this._environment;\n\t}\n\tmarkSnapshotsAsCheckedForTest(testName) {\n\t\tthis._uncheckedKeys.forEach((uncheckedKey) => {\n\t\t\t// skip snapshots with following keys\n\t\t\t// testName n\n\t\t\t// testName > xxx n (this is for toMatchSnapshot(\"xxx\") API)\n\t\t\tif (/ \\d+$| > /.test(uncheckedKey.slice(testName.length))) {\n\t\t\t\tthis._uncheckedKeys.delete(uncheckedKey);\n\t\t\t}\n\t\t});\n\t}\n\tclearTest(testId) {\n\t\t// clear inline\n\t\tthis._inlineSnapshots = this._inlineSnapshots.filter((s) => s.testId !== testId);\n\t\tthis._inlineSnapshotStacks = this._inlineSnapshotStacks.filter((s) => s.testId !== testId);\n\t\t// clear file\n\t\tfor (const key of this._testIdToKeys.get(testId)) {\n\t\t\tconst name = keyToTestName(key);\n\t\t\tconst count = this._counters.get(name);\n\t\t\tif (count > 0) {\n\t\t\t\tif (key in this._snapshotData || key in this._initialData) {\n\t\t\t\t\tthis._snapshotData[key] = this._initialData[key];\n\t\t\t\t}\n\t\t\t\tthis._counters.set(name, count - 1);\n\t\t\t}\n\t\t}\n\t\tthis._testIdToKeys.delete(testId);\n\t\t// clear stats\n\t\tthis.added.delete(testId);\n\t\tthis.updated.delete(testId);\n\t\tthis.matched.delete(testId);\n\t\tthis.unmatched.delete(testId);\n\t}\n\t_inferInlineSnapshotStack(stacks) {\n\t\t// if called inside resolves/rejects, stacktrace is different\n\t\tconst promiseIndex = stacks.findIndex((i) => i.method.match(/__VITEST_(RESOLVES|REJECTS)__/));\n\t\tif (promiseIndex !== -1) {\n\t\t\treturn stacks[promiseIndex + 3];\n\t\t}\n\t\t// inline snapshot function can be named __INLINE_SNAPSHOT_OFFSET_<n>__\n\t\t// to specify a custom stack offset\n\t\tfor (let i = 0; i < stacks.length; i++) {\n\t\t\tconst match = stacks[i].method.match(/__INLINE_SNAPSHOT_OFFSET_(\\d+)__/);\n\t\t\tif (match) {\n\t\t\t\treturn stacks[i + Number(match[1])] ?? null;\n\t\t\t}\n\t\t}\n\t\t// inline snapshot function is called __INLINE_SNAPSHOT__\n\t\t// in integrations/snapshot/chai.ts\n\t\tconst stackIndex = stacks.findIndex((i) => i.method.includes(\"__INLINE_SNAPSHOT__\"));\n\t\treturn stackIndex !== -1 ? stacks[stackIndex + 2] : null;\n\t}\n\t_addSnapshot(key, receivedSerialized, options) {\n\t\tthis._dirty = true;\n\t\tif (options.stack) {\n\t\t\tthis._inlineSnapshots.push({\n\t\t\t\tsnapshot: receivedSerialized,\n\t\t\t\ttestId: options.testId,\n\t\t\t\t...options.stack\n\t\t\t});\n\t\t} else if (options.rawSnapshot) {\n\t\t\tthis._rawSnapshots.push({\n\t\t\t\t...options.rawSnapshot,\n\t\t\t\tsnapshot: receivedSerialized\n\t\t\t});\n\t\t} else {\n\t\t\tthis._snapshotData[key] = receivedSerialized;\n\t\t}\n\t}\n\tasync save() {\n\t\tconst hasExternalSnapshots = Object.keys(this._snapshotData).length;\n\t\tconst hasInlineSnapshots = this._inlineSnapshots.length;\n\t\tconst hasRawSnapshots = this._rawSnapshots.length;\n\t\tconst isEmpty = !hasExternalSnapshots && !hasInlineSnapshots && !hasRawSnapshots;\n\t\tconst status = {\n\t\t\tdeleted: false,\n\t\t\tsaved: false\n\t\t};\n\t\tif ((this._dirty || this._uncheckedKeys.size) && !isEmpty) {\n\t\t\tif (hasExternalSnapshots) {\n\t\t\t\tawait saveSnapshotFile(this._environment, this._snapshotData, this.snapshotPath);\n\t\t\t\tthis._fileExists = true;\n\t\t\t}\n\t\t\tif (hasInlineSnapshots) {\n\t\t\t\tawait saveInlineSnapshots(this._environment, this._inlineSnapshots);\n\t\t\t}\n\t\t\tif (hasRawSnapshots) {\n\t\t\t\tawait saveRawSnapshots(this._environment, this._rawSnapshots);\n\t\t\t}\n\t\t\tstatus.saved = true;\n\t\t} else if (!hasExternalSnapshots && this._fileExists) {\n\t\t\tif (this._updateSnapshot === \"all\") {\n\t\t\t\tawait this._environment.removeSnapshotFile(this.snapshotPath);\n\t\t\t\tthis._fileExists = false;\n\t\t\t}\n\t\t\tstatus.deleted = true;\n\t\t}\n\t\treturn status;\n\t}\n\tgetUncheckedCount() {\n\t\treturn this._uncheckedKeys.size || 0;\n\t}\n\tgetUncheckedKeys() {\n\t\treturn Array.from(this._uncheckedKeys);\n\t}\n\tremoveUncheckedKeys() {\n\t\tif (this._updateSnapshot === \"all\" && this._uncheckedKeys.size) {\n\t\t\tthis._dirty = true;\n\t\t\tthis._uncheckedKeys.forEach((key) => delete this._snapshotData[key]);\n\t\t\tthis._uncheckedKeys.clear();\n\t\t}\n\t}\n\tmatch({ testId, testName, received, key, inlineSnapshot, isInline, error, rawSnapshot }) {\n\t\t// this also increments counter for inline snapshots. maybe we shouldn't?\n\t\tthis._counters.increment(testName);\n\t\tconst count = this._counters.get(testName);\n\t\tif (!key) {\n\t\t\tkey = testNameToKey(testName, count);\n\t\t}\n\t\tthis._testIdToKeys.get(testId).push(key);\n\t\t// Do not mark the snapshot as \"checked\" if the snapshot is inline and\n\t\t// there's an external snapshot. This way the external snapshot can be\n\t\t// removed with `--updateSnapshot`.\n\t\tif (!(isInline && this._snapshotData[key] !== undefined)) {\n\t\t\tthis._uncheckedKeys.delete(key);\n\t\t}\n\t\tlet receivedSerialized = rawSnapshot && typeof received === \"string\" ? received : serialize(received, undefined, this._snapshotFormat);\n\t\tif (!rawSnapshot) {\n\t\t\treceivedSerialized = addExtraLineBreaks(receivedSerialized);\n\t\t}\n\t\tif (rawSnapshot) {\n\t\t\t// normalize EOL when snapshot contains CRLF but received is LF\n\t\t\tif (rawSnapshot.content && rawSnapshot.content.match(/\\r\\n/) && !receivedSerialized.match(/\\r\\n/)) {\n\t\t\t\trawSnapshot.content = normalizeNewlines(rawSnapshot.content);\n\t\t\t}\n\t\t}\n\t\tconst expected = isInline ? inlineSnapshot : rawSnapshot ? rawSnapshot.content : this._snapshotData[key];\n\t\tconst expectedTrimmed = rawSnapshot ? expected : expected?.trim();\n\t\tconst pass = expectedTrimmed === (rawSnapshot ? receivedSerialized : receivedSerialized.trim());\n\t\tconst hasSnapshot = expected !== undefined;\n\t\tconst snapshotIsPersisted = isInline || this._fileExists || rawSnapshot && rawSnapshot.content != null;\n\t\tif (pass && !isInline && !rawSnapshot) {\n\t\t\t// Executing a snapshot file as JavaScript and writing the strings back\n\t\t\t// when other snapshots have changed loses the proper escaping for some\n\t\t\t// characters. Since we check every snapshot in every test, use the newly\n\t\t\t// generated formatted string.\n\t\t\t// Note that this is only relevant when a snapshot is added and the dirty\n\t\t\t// flag is set.\n\t\t\tthis._snapshotData[key] = receivedSerialized;\n\t\t}\n\t\t// find call site of toMatchInlineSnapshot\n\t\tlet stack;\n\t\tif (isInline) {\n\t\t\tconst stacks = parseErrorStacktrace(error || new Error(\"snapshot\"), { ignoreStackEntries: [] });\n\t\t\tconst _stack = this._inferInlineSnapshotStack(stacks);\n\t\t\tif (!_stack) {\n\t\t\t\tthrow new Error(`@vitest/snapshot: Couldn't infer stack frame for inline snapshot.\\n${JSON.stringify(stacks)}`);\n\t\t\t}\n\t\t\tstack = this.environment.processStackTrace?.(_stack) || _stack;\n\t\t\t// removing 1 column, because source map points to the wrong\n\t\t\t// location for js files, but `column-1` points to the same in both js/ts\n\t\t\t// https://github.com/vitejs/vite/issues/8657\n\t\t\tstack.column--;\n\t\t\t// reject multiple inline snapshots at the same location if snapshot is different\n\t\t\tconst snapshotsWithSameStack = this._inlineSnapshotStacks.filter((s) => isSameStackPosition(s, stack));\n\t\t\tif (snapshotsWithSameStack.length > 0) {\n\t\t\t\t// ensure only one snapshot will be written at the same location\n\t\t\t\tthis._inlineSnapshots = this._inlineSnapshots.filter((s) => !isSameStackPosition(s, stack));\n\t\t\t\tconst differentSnapshot = snapshotsWithSameStack.find((s) => s.snapshot !== receivedSerialized);\n\t\t\t\tif (differentSnapshot) {\n\t\t\t\t\tthrow Object.assign(new Error(\"toMatchInlineSnapshot with different snapshots cannot be called at the same location\"), {\n\t\t\t\t\t\tactual: receivedSerialized,\n\t\t\t\t\t\texpected: differentSnapshot.snapshot\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis._inlineSnapshotStacks.push({\n\t\t\t\t...stack,\n\t\t\t\ttestId,\n\t\t\t\tsnapshot: receivedSerialized\n\t\t\t});\n\t\t}\n\t\t// These are the conditions on when to write snapshots:\n\t\t// * There's no snapshot file in a non-CI environment.\n\t\t// * There is a snapshot file and we decided to update the snapshot.\n\t\t// * There is a snapshot file, but it doesn't have this snapshot.\n\t\t// These are the conditions on when not to write snapshots:\n\t\t// * The update flag is set to 'none'.\n\t\t// * There's no snapshot file or a file without this snapshot on a CI environment.\n\t\tif (hasSnapshot && this._updateSnapshot === \"all\" || (!hasSnapshot || !snapshotIsPersisted) && (this._updateSnapshot === \"new\" || this._updateSnapshot === \"all\")) {\n\t\t\tif (this._updateSnapshot === \"all\") {\n\t\t\t\tif (!pass) {\n\t\t\t\t\tif (hasSnapshot) {\n\t\t\t\t\t\tthis.updated.increment(testId);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.added.increment(testId);\n\t\t\t\t\t}\n\t\t\t\t\tthis._addSnapshot(key, receivedSerialized, {\n\t\t\t\t\t\tstack,\n\t\t\t\t\t\ttestId,\n\t\t\t\t\t\trawSnapshot\n\t\t\t\t\t});\n\t\t\t\t} else {\n\t\t\t\t\tthis.matched.increment(testId);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tthis._addSnapshot(key, receivedSerialized, {\n\t\t\t\t\tstack,\n\t\t\t\t\ttestId,\n\t\t\t\t\trawSnapshot\n\t\t\t\t});\n\t\t\t\tthis.added.increment(testId);\n\t\t\t}\n\t\t\treturn {\n\t\t\t\tactual: \"\",\n\t\t\t\tcount,\n\t\t\t\texpected: \"\",\n\t\t\t\tkey,\n\t\t\t\tpass: true\n\t\t\t};\n\t\t} else {\n\t\t\tif (!pass) {\n\t\t\t\tthis.unmatched.increment(testId);\n\t\t\t\treturn {\n\t\t\t\t\tactual: rawSnapshot ? receivedSerialized : removeExtraLineBreaks(receivedSerialized),\n\t\t\t\t\tcount,\n\t\t\t\t\texpected: expectedTrimmed !== undefined ? rawSnapshot ? expectedTrimmed : removeExtraLineBreaks(expectedTrimmed) : undefined,\n\t\t\t\t\tkey,\n\t\t\t\t\tpass: false\n\t\t\t\t};\n\t\t\t} else {\n\t\t\t\tthis.matched.increment(testId);\n\t\t\t\treturn {\n\t\t\t\t\tactual: \"\",\n\t\t\t\t\tcount,\n\t\t\t\t\texpected: \"\",\n\t\t\t\t\tkey,\n\t\t\t\t\tpass: true\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\t}\n\tasync pack() {\n\t\tconst snapshot = {\n\t\t\tfilepath: this.testFilePath,\n\t\t\tadded: 0,\n\t\t\tfileDeleted: false,\n\t\t\tmatched: 0,\n\t\t\tunchecked: 0,\n\t\t\tuncheckedKeys: [],\n\t\t\tunmatched: 0,\n\t\t\tupdated: 0\n\t\t};\n\t\tconst uncheckedCount = this.getUncheckedCount();\n\t\tconst uncheckedKeys = this.getUncheckedKeys();\n\t\tif (uncheckedCount) {\n\t\t\tthis.removeUncheckedKeys();\n\t\t}\n\t\tconst status = await this.save();\n\t\tsnapshot.fileDeleted = status.deleted;\n\t\tsnapshot.added = this.added.total();\n\t\tsnapshot.matched = this.matched.total();\n\t\tsnapshot.unmatched = this.unmatched.total();\n\t\tsnapshot.updated = this.updated.total();\n\t\tsnapshot.unchecked = !status.deleted ? uncheckedCount : 0;\n\t\tsnapshot.uncheckedKeys = Array.from(uncheckedKeys);\n\t\treturn snapshot;\n\t}\n}\n\nfunction createMismatchError(message, expand, actual, expected) {\n\tconst error = new Error(message);\n\tObject.defineProperty(error, \"actual\", {\n\t\tvalue: actual,\n\t\tenumerable: true,\n\t\tconfigurable: true,\n\t\twritable: true\n\t});\n\tObject.defineProperty(error, \"expected\", {\n\t\tvalue: expected,\n\t\tenumerable: true,\n\t\tconfigurable: true,\n\t\twritable: true\n\t});\n\tObject.defineProperty(error, \"diffOptions\", { value: { expand } });\n\treturn error;\n}\nclass SnapshotClient {\n\tsnapshotStateMap = new Map();\n\tconstructor(options = {}) {\n\t\tthis.options = options;\n\t}\n\tasync setup(filepath, options) {\n\t\tif (this.snapshotStateMap.has(filepath)) {\n\t\t\treturn;\n\t\t}\n\t\tthis.snapshotStateMap.set(filepath, await SnapshotState.create(filepath, options));\n\t}\n\tasync finish(filepath) {\n\t\tconst state = this.getSnapshotState(filepath);\n\t\tconst result = await state.pack();\n\t\tthis.snapshotStateMap.delete(filepath);\n\t\treturn result;\n\t}\n\tskipTest(filepath, testName) {\n\t\tconst state = this.getSnapshotState(filepath);\n\t\tstate.markSnapshotsAsCheckedForTest(testName);\n\t}\n\tclearTest(filepath, testId) {\n\t\tconst state = this.getSnapshotState(filepath);\n\t\tstate.clearTest(testId);\n\t}\n\tgetSnapshotState(filepath) {\n\t\tconst state = this.snapshotStateMap.get(filepath);\n\t\tif (!state) {\n\t\t\tthrow new Error(`The snapshot state for '${filepath}' is not found. Did you call 'SnapshotClient.setup()'?`);\n\t\t}\n\t\treturn state;\n\t}\n\tassert(options) {\n\t\tconst { filepath, name, testId = name, message, isInline = false, properties, inlineSnapshot, error, errorMessage, rawSnapshot } = options;\n\t\tlet { received } = options;\n\t\tif (!filepath) {\n\t\t\tthrow new Error(\"Snapshot cannot be used outside of test\");\n\t\t}\n\t\tconst snapshotState = this.getSnapshotState(filepath);\n\t\tif (typeof properties === \"object\") {\n\t\t\tif (typeof received !== \"object\" || !received) {\n\t\t\t\tthrow new Error(\"Received value must be an object when the matcher has properties\");\n\t\t\t}\n\t\t\ttry {\n\t\t\t\tconst pass = this.options.isEqual?.(received, properties) ?? false;\n\t\t\t\t// const pass = equals(received, properties, [iterableEquality, subsetEquality])\n\t\t\t\tif (!pass) {\n\t\t\t\t\tthrow createMismatchError(\"Snapshot properties mismatched\", snapshotState.expand, received, properties);\n\t\t\t\t} else {\n\t\t\t\t\treceived = deepMergeSnapshot(received, properties);\n\t\t\t\t}\n\t\t\t} catch (err) {\n\t\t\t\terr.message = errorMessage || \"Snapshot mismatched\";\n\t\t\t\tthrow err;\n\t\t\t}\n\t\t}\n\t\tconst testName = [name, ...message ? [message] : []].join(\" > \");\n\t\tconst { actual, expected, key, pass } = snapshotState.match({\n\t\t\ttestId,\n\t\t\ttestName,\n\t\t\treceived,\n\t\t\tisInline,\n\t\t\terror,\n\t\t\tinlineSnapshot,\n\t\t\trawSnapshot\n\t\t});\n\t\tif (!pass) {\n\t\t\tthrow createMismatchError(`Snapshot \\`${key || \"unknown\"}\\` mismatched`, snapshotState.expand, rawSnapshot ? actual : actual?.trim(), rawSnapshot ? expected : expected?.trim());\n\t\t}\n\t}\n\tasync assertRaw(options) {\n\t\tif (!options.rawSnapshot) {\n\t\t\tthrow new Error(\"Raw snapshot is required\");\n\t\t}\n\t\tconst { filepath, rawSnapshot } = options;\n\t\tif (rawSnapshot.content == null) {\n\t\t\tif (!filepath) {\n\t\t\t\tthrow new Error(\"Snapshot cannot be used outside of test\");\n\t\t\t}\n\t\t\tconst snapshotState = this.getSnapshotState(filepath);\n\t\t\t// save the filepath, so it don't lose even if the await make it out-of-context\n\t\t\toptions.filepath ||= filepath;\n\t\t\t// resolve and read the raw snapshot file\n\t\t\trawSnapshot.file = await snapshotState.environment.resolveRawPath(filepath, rawSnapshot.file);\n\t\t\trawSnapshot.content = await snapshotState.environment.readSnapshotFile(rawSnapshot.file) ?? undefined;\n\t\t}\n\t\treturn this.assert(options);\n\t}\n\tclear() {\n\t\tthis.snapshotStateMap.clear();\n\t}\n}\n\nexport { SnapshotClient, SnapshotState, addSerializer, getSerializers, stripSnapshotIndentation };\n"],"x_google_ignoreList":[0],"mappings":";;;;;AAKA,eAAe,oBAAoB,aAAa,WAAW;CAC1D,MAAM,eAAe,MAAM,OAAO,kDAAiB;CACnD,MAAM,QAAQ,IAAI,IAAI,UAAU,KAAK,MAAM,EAAE,KAAK,CAAC;AACnD,OAAM,QAAQ,IAAI,MAAM,KAAK,MAAM,CAAC,IAAI,OAAO,SAAS;EACvD,MAAM,QAAQ,UAAU,QAAQ,MAAM,EAAE,SAAS,KAAK;EACtD,MAAM,OAAO,MAAM,YAAY,iBAAiB,KAAK;AACrD,MAAI,QAAQ,KACX,OAAM,IAAI,MAAM,eAAe,KAAK,8BAA8B;EAEnE,MAAM,IAAI,IAAI,YAAY,KAAK;AAC/B,OAAK,MAAM,QAAQ,MAElB,mBAAkB,MAAM,GADV,iBAAiB,MAAM,KAAK,MAAM,KAAK,OAAO,EAC1B,KAAK,SAAS;EAEjD,MAAM,cAAc,EAAE,UAAU;AAChC,MAAI,gBAAgB,KACnB,OAAM,YAAY,iBAAiB,MAAM,YAAY;GAErD,CAAC;;AAEJ,MAAM,mBAAmB;AACzB,SAAS,kBAAkB,MAAM,GAAG,OAAO,SAAS;CACnD,IAAI,QAAQ,KAAK,MAAM,MAAM;CAC7B,MAAM,aAAa,iBAAiB,KAAK,MAAM;AAC/C,KAAI,CAAC,WACJ,QAAO;AAER,SAAQ,MAAM,MAAM,W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AY,eAAe,UAAU,YAAY,KAAK;AAC7F,eAAY,UAAU,MAAM,cAAc,YAAY,iBAAiB,YAAY,KAAK,IAAI,KAAA;;AAE7F,SAAO,KAAK,OAAO,QAAQ;;CAE5B,QAAQ;AACP,OAAK,iBAAiB,OAAO"}
@@ -0,0 +1,40 @@
1
+ import { OptionsReceived } from "../../pretty-format/dist/index.js";
2
+ import { SnapshotEnvironment } from "./environment.d-DOJxxZV9.js";
3
+
4
+ //#region ../../node_modules/@vitest/snapshot/dist/rawSnapshot.d-U2kJUxDr.d.ts
5
+ type SnapshotUpdateState = "all" | "new" | "none";
6
+ interface SnapshotStateOptions {
7
+ updateSnapshot: SnapshotUpdateState;
8
+ snapshotEnvironment: SnapshotEnvironment;
9
+ expand?: boolean;
10
+ snapshotFormat?: OptionsReceived;
11
+ resolveSnapshotPath?: (path: string, extension: string, context?: any) => string;
12
+ }
13
+ interface SnapshotMatchOptions {
14
+ testId: string;
15
+ testName: string;
16
+ received: unknown;
17
+ key?: string;
18
+ inlineSnapshot?: string;
19
+ isInline: boolean;
20
+ error?: Error;
21
+ rawSnapshot?: RawSnapshotInfo;
22
+ }
23
+ interface SnapshotResult {
24
+ filepath: string;
25
+ added: number;
26
+ fileDeleted: boolean;
27
+ matched: number;
28
+ unchecked: number;
29
+ uncheckedKeys: Array<string>;
30
+ unmatched: number;
31
+ updated: number;
32
+ }
33
+ interface RawSnapshotInfo {
34
+ file: string;
35
+ readonly?: boolean;
36
+ content?: string;
37
+ }
38
+ //#endregion
39
+ export { SnapshotMatchOptions, SnapshotResult, SnapshotStateOptions, SnapshotUpdateState };
40
+ //# sourceMappingURL=rawSnapshot.d-U2kJUxDr.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rawSnapshot.d-U2kJUxDr.d.ts","names":["OptionsReceived","Plugin","S","SnapshotEnvironment","SnapshotData","Record","SnapshotUpdateState","SnapshotSerializer","SnapshotStateOptions","updateSnapshot","snapshotEnvironment","expand","snapshotFormat","resolveSnapshotPath","path","extension","context","SnapshotMatchOptions","Error","RawSnapshotInfo","testId","testName","received","key","inlineSnapshot","isInline","error","rawSnapshot","SnapshotResult","Array","filepath","added","fileDeleted","matched","unchecked","uncheckedKeys","unmatched","updated","UncheckedSnapshot","filePath","keys","SnapshotSummary","didUpdate","failure","filesAdded","filesRemoved","filesRemovedList","filesUnmatched","filesUpdated","total","uncheckedKeysByFile","file","readonly","content","R","U","a","b","c","d","e","f"],"sources":["../../../../../../../node_modules/@vitest/snapshot/dist/rawSnapshot.d-U2kJUxDr.d.ts"],"x_google_ignoreList":[0],"mappings":";;;;KAIKM,mBAAAA;AAAAA,UAEKE,oBAAAA;EACTC,cAAAA,EAAgBH,mBAAAA;EAChBI,mBAAAA,EAAqBP,mBAAAA;EACrBQ,MAAAA;EACAC,cAAAA,GAAiBZ,eAAAA;EACjBa,mBAAAA,IAAuBC,IAAAA,UAAcC,SAAAA,UAAmBC,OAAAA;AAAAA;AAAAA,UAE/CC,oBAAAA;EACTG,MAAAA;EACAC,QAAAA;EACAC,QAAAA;EACAC,GAAAA;EACAC,cAAAA;EACAC,QAAAA;EACAC,KAAAA,GAAQR,KAAAA;EACRS,WAAAA,GAAcR,eAAAA;AAAAA;AAAAA,UAELS,cAAAA;EACTE,QAAAA;EACAC,KAAAA;EACAC,WAAAA;EACAC,OAAAA;EACAC,SAAAA;EACAC,aAAAA,EAAeN,KAAAA;EACfO,SAAAA;EACAC,OAAAA;AAAAA;AAAAA,UAuBSlB,eAAAA;EACTgC,IAAAA;EACAC,QAAAA;EACAC,OAAAA;AAAAA"}
@@ -0,0 +1,343 @@
1
+ //#region ../../node_modules/@vitest/spy/dist/index.d.ts
2
+ interface MockResultReturn<T> {
3
+ type: "return";
4
+ /**
5
+ * The value that was returned from the function. If function returned a Promise, then this will be a resolved value.
6
+ */
7
+ value: T;
8
+ }
9
+ interface MockResultIncomplete {
10
+ type: "incomplete";
11
+ value: undefined;
12
+ }
13
+ interface MockResultThrow {
14
+ type: "throw";
15
+ /**
16
+ * An error that was thrown during function execution.
17
+ */
18
+ value: any;
19
+ }
20
+ interface MockSettledResultIncomplete {
21
+ type: "incomplete";
22
+ value: undefined;
23
+ }
24
+ interface MockSettledResultFulfilled<T> {
25
+ type: "fulfilled";
26
+ value: T;
27
+ }
28
+ interface MockSettledResultRejected {
29
+ type: "rejected";
30
+ value: any;
31
+ }
32
+ type MockResult<T> = MockResultReturn<T> | MockResultThrow | MockResultIncomplete;
33
+ type MockSettledResult<T> = MockSettledResultFulfilled<T> | MockSettledResultRejected | MockSettledResultIncomplete;
34
+ type MockParameters<T extends Procedure | Constructable> = T extends Constructable ? ConstructorParameters<T> : T extends Procedure ? Parameters<T> : never;
35
+ type MockReturnType<T extends Procedure | Constructable> = T extends Constructable ? InstanceType<T> : T extends Procedure ? ReturnType<T> : never;
36
+ type MockProcedureContext<T extends Procedure | Constructable> = T extends Constructable ? InstanceType<T> : ThisParameterType<T>;
37
+ interface MockContext<T extends Procedure | Constructable = Procedure> {
38
+ /**
39
+ * This is an array containing all arguments for each call. One item of the array is the arguments of that call.
40
+ *
41
+ * @see https://vitest.dev/api/mock#mock-calls
42
+ * @example
43
+ * const fn = vi.fn()
44
+ *
45
+ * fn('arg1', 'arg2')
46
+ * fn('arg3')
47
+ *
48
+ * fn.mock.calls === [
49
+ * ['arg1', 'arg2'], // first call
50
+ * ['arg3'], // second call
51
+ * ]
52
+ */
53
+ calls: MockParameters<T>[];
54
+ /**
55
+ * This is an array containing all instances that were instantiated when mock was called with a `new` keyword. Note that this is an actual context (`this`) of the function, not a return value.
56
+ * @see https://vitest.dev/api/mock#mock-instances
57
+ */
58
+ instances: MockProcedureContext<T>[];
59
+ /**
60
+ * An array of `this` values that were used during each call to the mock function.
61
+ * @see https://vitest.dev/api/mock#mock-contexts
62
+ */
63
+ contexts: MockProcedureContext<T>[];
64
+ /**
65
+ * The order of mock's execution. This returns an array of numbers which are shared between all defined mocks.
66
+ *
67
+ * @see https://vitest.dev/api/mock#mock-invocationcallorder
68
+ * @example
69
+ * const fn1 = vi.fn()
70
+ * const fn2 = vi.fn()
71
+ *
72
+ * fn1()
73
+ * fn2()
74
+ * fn1()
75
+ *
76
+ * fn1.mock.invocationCallOrder === [1, 3]
77
+ * fn2.mock.invocationCallOrder === [2]
78
+ */
79
+ invocationCallOrder: number[];
80
+ /**
81
+ * This is an array containing all values that were `returned` from the function.
82
+ *
83
+ * The `value` property contains the returned value or thrown error. If the function returned a `Promise`, then `result` will always be `'return'` even if the promise was rejected.
84
+ *
85
+ * @see https://vitest.dev/api/mock#mock-results
86
+ * @example
87
+ * const fn = vi.fn()
88
+ * .mockReturnValueOnce('result')
89
+ * .mockImplementationOnce(() => { throw new Error('thrown error') })
90
+ *
91
+ * const result = fn()
92
+ *
93
+ * try {
94
+ * fn()
95
+ * }
96
+ * catch {}
97
+ *
98
+ * fn.mock.results === [
99
+ * {
100
+ * type: 'return',
101
+ * value: 'result',
102
+ * },
103
+ * {
104
+ * type: 'throw',
105
+ * value: Error,
106
+ * },
107
+ * ]
108
+ */
109
+ results: MockResult<MockReturnType<T>>[];
110
+ /**
111
+ * An array containing all values that were `resolved` or `rejected` from the function.
112
+ *
113
+ * This array will be empty if the function was never resolved or rejected.
114
+ *
115
+ * @see https://vitest.dev/api/mock#mock-settledresults
116
+ * @example
117
+ * const fn = vi.fn().mockResolvedValueOnce('result')
118
+ *
119
+ * const result = fn()
120
+ *
121
+ * fn.mock.settledResults === [
122
+ * {
123
+ * type: 'incomplete',
124
+ * value: undefined,
125
+ * }
126
+ * ]
127
+ * fn.mock.results === [
128
+ * {
129
+ * type: 'return',
130
+ * value: Promise<'result'>,
131
+ * },
132
+ * ]
133
+ *
134
+ * await result
135
+ *
136
+ * fn.mock.settledResults === [
137
+ * {
138
+ * type: 'fulfilled',
139
+ * value: 'result',
140
+ * },
141
+ * ]
142
+ */
143
+ settledResults: MockSettledResult<Awaited<MockReturnType<T>>>[];
144
+ /**
145
+ * This contains the arguments of the last call. If spy wasn't called, will return `undefined`.
146
+ * @see https://vitest.dev/api/mock#mock-lastcall
147
+ */
148
+ lastCall: MockParameters<T> | undefined;
149
+ }
150
+ type Procedure = (...args: any[]) => any;
151
+ type NormalizedProcedure<T extends Procedure | Constructable> = T extends Constructable ? ({
152
+ new (...args: ConstructorParameters<T>): InstanceType<T>;
153
+ }) | ({
154
+ (this: InstanceType<T>, ...args: ConstructorParameters<T>): void;
155
+ }) : T extends Procedure ? (...args: Parameters<T>) => ReturnType<T> : never;
156
+ interface MockInstance<T extends Procedure | Constructable = Procedure> extends Disposable {
157
+ /**
158
+ * Use it to return the name assigned to the mock with the `.mockName(name)` method. By default, it will return `vi.fn()`.
159
+ * @see https://vitest.dev/api/mock#getmockname
160
+ */
161
+ getMockName(): string;
162
+ /**
163
+ * Sets the internal mock name. This is useful for identifying the mock when an assertion fails.
164
+ * @see https://vitest.dev/api/mock#mockname
165
+ */
166
+ mockName(name: string): this;
167
+ /**
168
+ * Current context of the mock. It stores information about all invocation calls, instances, and results.
169
+ */
170
+ mock: MockContext<T>;
171
+ /**
172
+ * Clears all information about every call. After calling it, all properties on `.mock` will return to their initial state. This method does not reset implementations. It is useful for cleaning up mocks between different assertions.
173
+ *
174
+ * To automatically call this method before each test, enable the [`clearMocks`](https://vitest.dev/config/clearmocks) setting in the configuration.
175
+ * @see https://vitest.dev/api/mock#mockclear
176
+ */
177
+ mockClear(): this;
178
+ /**
179
+ * Does what `mockClear` does and resets inner implementation to the original function. This also resets all "once" implementations.
180
+ *
181
+ * Note that resetting a mock from `vi.fn()` will set implementation to an empty function that returns `undefined`.
182
+ * Resetting a mock from `vi.fn(impl)` will set implementation to `impl`. It is useful for completely resetting a mock to its default state.
183
+ *
184
+ * To automatically call this method before each test, enable the [`mockReset`](https://vitest.dev/config/mockreset) setting in the configuration.
185
+ * @see https://vitest.dev/api/mock#mockreset
186
+ */
187
+ mockReset(): this;
188
+ /**
189
+ * Does what `mockReset` does and restores original descriptors of spied-on objects.
190
+ * @see https://vitest.dev/api/mock#mockrestore
191
+ */
192
+ mockRestore(): void;
193
+ /**
194
+ * Returns current permanent mock implementation if there is one.
195
+ *
196
+ * If mock was created with `vi.fn`, it will consider passed down method as a mock implementation.
197
+ *
198
+ * If mock was created with `vi.spyOn`, it will return `undefined` unless a custom implementation was provided.
199
+ */
200
+ getMockImplementation(): NormalizedProcedure<T> | undefined;
201
+ /**
202
+ * Accepts a function to be used as the mock implementation. TypeScript expects the arguments and return type to match those of the original function.
203
+ * @see https://vitest.dev/api/mock#mockimplementation
204
+ * @example
205
+ * const increment = vi.fn().mockImplementation(count => count + 1);
206
+ * expect(increment(3)).toBe(4);
207
+ */
208
+ mockImplementation(fn: NormalizedProcedure<T>): this;
209
+ /**
210
+ * Accepts a function to be used as the mock implementation. TypeScript expects the arguments and return type to match those of the original function. This method can be chained to produce different results for multiple function calls.
211
+ *
212
+ * When the mocked function runs out of implementations, it will invoke the default implementation set with `vi.fn(() => defaultValue)` or `.mockImplementation(() => defaultValue)` if they were called.
213
+ * @see https://vitest.dev/api/mock#mockimplementationonce
214
+ * @example
215
+ * const fn = vi.fn(count => count).mockImplementationOnce(count => count + 1);
216
+ * expect(fn(3)).toBe(4);
217
+ * expect(fn(3)).toBe(3);
218
+ */
219
+ mockImplementationOnce(fn: NormalizedProcedure<T>): this;
220
+ /**
221
+ * Overrides the original mock implementation temporarily while the callback is being executed.
222
+ *
223
+ * Note that this method takes precedence over the [`mockImplementationOnce`](https://vitest.dev/api/mock#mockimplementationonce).
224
+ * @see https://vitest.dev/api/mock#withimplementation
225
+ * @example
226
+ * const myMockFn = vi.fn(() => 'original')
227
+ *
228
+ * myMockFn.withImplementation(() => 'temp', () => {
229
+ * myMockFn() // 'temp'
230
+ * })
231
+ *
232
+ * myMockFn() // 'original'
233
+ */
234
+ withImplementation(fn: NormalizedProcedure<T>, cb: () => Promise<unknown>): Promise<this>;
235
+ withImplementation(fn: NormalizedProcedure<T>, cb: () => unknown): this;
236
+ /**
237
+ * Use this if you need to return the `this` context from the method without invoking the actual implementation.
238
+ * @see https://vitest.dev/api/mock#mockreturnthis
239
+ */
240
+ mockReturnThis(): this;
241
+ /**
242
+ * Accepts a value that will be returned whenever the mock function is called. TypeScript will only accept values that match the return type of the original function.
243
+ * @see https://vitest.dev/api/mock#mockreturnvalue
244
+ * @example
245
+ * const mock = vi.fn()
246
+ * mock.mockReturnValue(42)
247
+ * mock() // 42
248
+ * mock.mockReturnValue(43)
249
+ * mock() // 43
250
+ */
251
+ mockReturnValue(value: MockReturnType<T>): this;
252
+ /**
253
+ * Accepts a value that will be returned whenever the mock function is called. TypeScript will only accept values that match the return type of the original function.
254
+ *
255
+ * When the mocked function runs out of implementations, it will invoke the default implementation set with `vi.fn(() => defaultValue)` or `.mockImplementation(() => defaultValue)` if they were called.
256
+ * @example
257
+ * const myMockFn = vi
258
+ * .fn()
259
+ * .mockReturnValue('default')
260
+ * .mockReturnValueOnce('first call')
261
+ * .mockReturnValueOnce('second call')
262
+ *
263
+ * // 'first call', 'second call', 'default'
264
+ * console.log(myMockFn(), myMockFn(), myMockFn())
265
+ */
266
+ mockReturnValueOnce(value: MockReturnType<T>): this;
267
+ /**
268
+ * Accepts a value that will be thrown whenever the mock function is called.
269
+ * @see https://vitest.dev/api/mock#mockthrow
270
+ * @example
271
+ * const myMockFn = vi.fn().mockThrow(new Error('error'))
272
+ * myMockFn() // throws 'error'
273
+ */
274
+ mockThrow(value: unknown): this;
275
+ /**
276
+ * Accepts a value that will be thrown during the next function call. If chained, every consecutive call will throw the specified value.
277
+ * @example
278
+ * const myMockFn = vi
279
+ * .fn()
280
+ * .mockReturnValue('default')
281
+ * .mockThrowOnce(new Error('first call error'))
282
+ * .mockThrowOnce('second call error')
283
+ *
284
+ * expect(() => myMockFn()).toThrowError('first call error')
285
+ * expect(() => myMockFn()).toThrowError('second call error')
286
+ * expect(myMockFn()).toEqual('default')
287
+ */
288
+ mockThrowOnce(value: unknown): this;
289
+ /**
290
+ * Accepts a value that will be resolved when the async function is called. TypeScript will only accept values that match the return type of the original function.
291
+ * @example
292
+ * const asyncMock = vi.fn().mockResolvedValue(42)
293
+ * asyncMock() // Promise<42>
294
+ */
295
+ mockResolvedValue(value: Awaited<MockReturnType<T>>): this;
296
+ /**
297
+ * Accepts a value that will be resolved during the next function call. TypeScript will only accept values that match the return type of the original function. If chained, each consecutive call will resolve the specified value.
298
+ * @example
299
+ * const myMockFn = vi
300
+ * .fn()
301
+ * .mockResolvedValue('default')
302
+ * .mockResolvedValueOnce('first call')
303
+ * .mockResolvedValueOnce('second call')
304
+ *
305
+ * // Promise<'first call'>, Promise<'second call'>, Promise<'default'>
306
+ * console.log(myMockFn(), myMockFn(), myMockFn())
307
+ */
308
+ mockResolvedValueOnce(value: Awaited<MockReturnType<T>>): this;
309
+ /**
310
+ * Accepts an error that will be rejected when async function is called.
311
+ * @example
312
+ * const asyncMock = vi.fn().mockRejectedValue(new Error('Async error'))
313
+ * await asyncMock() // throws Error<'Async error'>
314
+ */
315
+ mockRejectedValue(error: unknown): this;
316
+ /**
317
+ * Accepts a value that will be rejected during the next function call. If chained, each consecutive call will reject the specified value.
318
+ * @example
319
+ * const asyncMock = vi
320
+ * .fn()
321
+ * .mockResolvedValueOnce('first call')
322
+ * .mockRejectedValueOnce(new Error('Async error'))
323
+ *
324
+ * await asyncMock() // first call
325
+ * await asyncMock() // throws Error<'Async error'>
326
+ */
327
+ mockRejectedValueOnce(error: unknown): this;
328
+ }
329
+ type Mock<T extends Procedure | Constructable = Procedure> = MockInstance<T> & (T extends Constructable ? (T extends Procedure ? {
330
+ new (...args: ConstructorParameters<T>): InstanceType<T>;
331
+ (...args: Parameters<T>): ReturnType<T>;
332
+ } : {
333
+ new (...args: ConstructorParameters<T>): InstanceType<T>;
334
+ }) : {
335
+ new (...args: MockParameters<T>): MockReturnType<T>;
336
+ (...args: MockParameters<T>): MockReturnType<T>;
337
+ }) & { [P in keyof T]: T[P] };
338
+ interface Constructable {
339
+ new (...args: any[]): any;
340
+ }
341
+ //#endregion
342
+ export { type Mock, type MockContext, type MockInstance, type MockResult, type MockResultIncomplete, type MockResultReturn, type MockResultThrow, type MockSettledResult, type MockSettledResultFulfilled, type MockSettledResultIncomplete, type MockSettledResultRejected, type Procedure };
343
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","names":["MockResultReturn","T","type","value","MockResultIncomplete","MockResultThrow","MockSettledResultIncomplete","MockSettledResultFulfilled","MockSettledResultRejected","MockResult","MockSettledResult","MockParameters","Procedure","Constructable","ConstructorParameters","Parameters","MockReturnType","InstanceType","ReturnType","MockProcedureContext","ThisParameterType","MockContext","Awaited","calls","instances","contexts","invocationCallOrder","results","settledResults","lastCall","args","NormalizedProcedure","this","Methods","K","Properties","Classes","MockInstance","Promise","Disposable","getMockName","mockName","name","mock","mockClear","mockReset","mockRestore","getMockImplementation","mockImplementation","fn","mockImplementationOnce","withImplementation","cb","mockReturnThis","mockReturnValue","mockReturnValueOnce","mockThrow","mockThrowOnce","mockResolvedValue","mockResolvedValueOnce","mockRejectedValue","error","mockRejectedValueOnce","Mock","P","PartialMaybePromise","Partial","PartialResultFunction","PartialMock","NonNullable","DeepPartial","Array","U","DeepPartialMaybePromise","DeepPartialResultFunction","DeepPartialMock","MaybeMockedConstructor","MockedFunction","PartiallyMockedFunction","MockedFunctionDeep","MockedObjectDeep","PartiallyMockedFunctionDeep","MockedObject","MaybeMockedDeep","MaybePartiallyMockedDeep","MaybeMocked","MaybePartiallyMocked","MockedClass","Mocked","prototype","MockConfig","mockOriginal","onceMockImplementations","MockInstanceOption","originalImplementation","resetToMockImplementation","restore","prototypeMembers","keepMembersImplementation","prototypeState","prototypeConfig","resetToMockName","isMockFunction","createMockInstance","options","spyOn","S","Required","object","key","accessor","G","arg","M","restoreAllMocks","clearAllMocks","resetAllMocks"],"sources":["../../../../../../../node_modules/@vitest/spy/dist/index.d.ts"],"x_google_ignoreList":[0],"mappings":";UAAUA,gBAAAA;EACTE,IAAA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