@goast/kotlin 0.4.8 → 0.4.10

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 (358) hide show
  1. package/assets/client/okhttp3/ApiClient.kt +2 -0
  2. package/esm/deps/jsr.io/@std/assert/1.0.11/assertion_error.d.ts.map +1 -0
  3. package/esm/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/assertion_error.js +1 -1
  4. package/esm/deps/jsr.io/@std/assert/1.0.11/equal.d.ts.map +1 -0
  5. package/esm/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/equal.js +1 -1
  6. package/esm/deps/jsr.io/@std/assert/1.0.11/equals.d.ts.map +1 -0
  7. package/esm/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/equals.js +1 -1
  8. package/esm/deps/jsr.io/@std/assert/1.0.11/false.d.ts.map +1 -0
  9. package/esm/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/false.js +1 -1
  10. package/esm/deps/jsr.io/@std/assert/1.0.11/instance_of.d.ts.map +1 -0
  11. package/esm/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/instance_of.js +1 -1
  12. package/esm/deps/jsr.io/@std/assert/1.0.11/is_error.d.ts.map +1 -0
  13. package/esm/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/is_error.js +1 -1
  14. package/esm/deps/jsr.io/@std/assert/1.0.11/match.d.ts.map +1 -0
  15. package/esm/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/match.js +1 -1
  16. package/esm/deps/jsr.io/@std/assert/1.0.11/not_instance_of.d.ts.map +1 -0
  17. package/esm/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/not_instance_of.js +1 -1
  18. package/esm/deps/jsr.io/@std/assert/1.0.11/not_match.d.ts.map +1 -0
  19. package/esm/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/not_match.js +1 -1
  20. package/esm/deps/jsr.io/@std/assert/1.0.11/not_strict_equals.d.ts.map +1 -0
  21. package/esm/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/not_strict_equals.js +1 -1
  22. package/esm/deps/jsr.io/@std/assert/1.0.11/rejects.d.ts.map +1 -0
  23. package/esm/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/rejects.js +1 -1
  24. package/esm/deps/jsr.io/@std/assert/1.0.11/strict_equals.d.ts.map +1 -0
  25. package/esm/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/strict_equals.js +1 -1
  26. package/esm/deps/jsr.io/@std/expect/1.0.13/_assert_equals.d.ts.map +1 -0
  27. package/esm/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_assert_equals.js +2 -2
  28. package/esm/deps/jsr.io/@std/expect/1.0.13/_assert_is_error.d.ts +14 -0
  29. package/esm/deps/jsr.io/@std/expect/1.0.13/_assert_is_error.d.ts.map +1 -0
  30. package/esm/deps/jsr.io/@std/expect/1.0.13/_assert_is_error.js +43 -0
  31. package/esm/deps/jsr.io/@std/expect/1.0.13/_assert_not_equals.d.ts.map +1 -0
  32. package/esm/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_assert_not_equals.js +3 -3
  33. package/esm/deps/jsr.io/@std/expect/1.0.13/_assertions.d.ts.map +1 -0
  34. package/esm/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_assertions.js +1 -1
  35. package/esm/deps/jsr.io/@std/expect/1.0.13/_asymmetric_matchers.d.ts.map +1 -0
  36. package/esm/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_asymmetric_matchers.js +3 -2
  37. package/esm/deps/jsr.io/@std/expect/1.0.13/_build_message.d.ts.map +1 -0
  38. package/esm/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_build_message.js +5 -5
  39. package/esm/deps/jsr.io/@std/expect/1.0.13/_custom_equality_tester.d.ts.map +1 -0
  40. package/esm/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_custom_equality_tester.js +1 -1
  41. package/esm/deps/jsr.io/@std/expect/1.0.13/_equal.d.ts.map +1 -0
  42. package/esm/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_equal.js +1 -1
  43. package/esm/deps/jsr.io/@std/expect/1.0.13/_extend.d.ts.map +1 -0
  44. package/esm/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_extend.js +1 -1
  45. package/esm/deps/jsr.io/@std/expect/1.0.13/_inspect_args.d.ts.map +1 -0
  46. package/esm/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_inspect_args.js +1 -1
  47. package/esm/deps/jsr.io/@std/expect/1.0.13/_matchers.d.ts.map +1 -0
  48. package/esm/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_matchers.js +206 -60
  49. package/esm/deps/jsr.io/@std/expect/1.0.13/_mock_util.d.ts.map +1 -0
  50. package/esm/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_mock_util.js +1 -1
  51. package/esm/deps/jsr.io/@std/expect/1.0.13/_serializer.d.ts.map +1 -0
  52. package/esm/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_serializer.js +1 -1
  53. package/esm/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_types.d.ts +6 -2
  54. package/esm/deps/jsr.io/@std/expect/1.0.13/_types.d.ts.map +1 -0
  55. package/esm/deps/jsr.io/@std/expect/1.0.13/_types.js +3 -0
  56. package/esm/deps/jsr.io/@std/expect/1.0.13/_utils.d.ts.map +1 -0
  57. package/esm/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_utils.js +1 -1
  58. package/esm/deps/jsr.io/@std/expect/1.0.13/expect.d.ts.map +1 -0
  59. package/esm/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/expect.js +4 -4
  60. package/esm/deps/jsr.io/@std/testing/{1.0.6 → 1.0.9}/_mock_utils.d.ts.map +1 -1
  61. package/esm/deps/jsr.io/@std/testing/{1.0.6 → 1.0.9}/_test_suite.d.ts +5 -0
  62. package/esm/deps/jsr.io/@std/testing/1.0.9/_test_suite.d.ts.map +1 -0
  63. package/esm/deps/jsr.io/@std/testing/{1.0.6 → 1.0.9}/_test_suite.js +35 -5
  64. package/esm/deps/jsr.io/@std/testing/{1.0.6 → 1.0.9}/bdd.d.ts +7 -5
  65. package/esm/deps/jsr.io/@std/testing/{1.0.6 → 1.0.9}/bdd.d.ts.map +1 -1
  66. package/esm/deps/jsr.io/@std/testing/{1.0.6 → 1.0.9}/bdd.js +7 -5
  67. package/esm/deps/jsr.io/@std/testing/{1.0.6 → 1.0.9}/mock.d.ts.map +1 -1
  68. package/esm/deps/jsr.io/@std/testing/{1.0.6 → 1.0.9}/mock.js +5 -5
  69. package/esm/src/assets.js +1 -1
  70. package/esm/src/ast/nodes/annotation.test.js +2 -2
  71. package/esm/src/ast/nodes/argument.test.js +2 -2
  72. package/esm/src/ast/nodes/call.test.js +2 -2
  73. package/esm/src/ast/nodes/class.test.js +2 -2
  74. package/esm/src/ast/nodes/constructor.test.js +2 -2
  75. package/esm/src/ast/nodes/doc-tag.test.js +2 -2
  76. package/esm/src/ast/nodes/doc.test.js +2 -2
  77. package/esm/src/ast/nodes/enum-value.test.js +2 -2
  78. package/esm/src/ast/nodes/enum.test.js +2 -2
  79. package/esm/src/ast/nodes/function.test.js +2 -2
  80. package/esm/src/ast/nodes/generic-parameter.test.js +2 -2
  81. package/esm/src/ast/nodes/init-block.test.js +2 -2
  82. package/esm/src/ast/nodes/interface.test.js +2 -2
  83. package/esm/src/ast/nodes/object.test.js +2 -2
  84. package/esm/src/ast/nodes/parameter.test.js +2 -2
  85. package/esm/src/ast/nodes/property.test.js +2 -2
  86. package/esm/src/ast/nodes/reference.test.js +2 -2
  87. package/esm/src/ast/nodes/string.test.js +2 -2
  88. package/esm/src/ast/references/spring.d.ts +1 -0
  89. package/esm/src/ast/references/spring.d.ts.map +1 -1
  90. package/esm/src/ast/references/spring.js +1 -0
  91. package/esm/src/generators/services/spring-controllers/spring-controller-generator.d.ts.map +1 -1
  92. package/esm/src/generators/services/spring-controllers/spring-controller-generator.js +10 -1
  93. package/esm/src/import-collection.test.js +2 -2
  94. package/esm/tests/openapi-models.test.js +2 -2
  95. package/package.json +2 -2
  96. package/script/deps/jsr.io/@std/assert/1.0.11/assertion_error.d.ts.map +1 -0
  97. package/script/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/assertion_error.js +1 -1
  98. package/script/deps/jsr.io/@std/assert/1.0.11/equal.d.ts.map +1 -0
  99. package/script/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/equal.js +1 -1
  100. package/script/deps/jsr.io/@std/assert/1.0.11/equals.d.ts.map +1 -0
  101. package/script/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/equals.js +1 -1
  102. package/script/deps/jsr.io/@std/assert/1.0.11/false.d.ts.map +1 -0
  103. package/script/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/false.js +1 -1
  104. package/script/deps/jsr.io/@std/assert/1.0.11/instance_of.d.ts.map +1 -0
  105. package/script/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/instance_of.js +1 -1
  106. package/script/deps/jsr.io/@std/assert/1.0.11/is_error.d.ts.map +1 -0
  107. package/script/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/is_error.js +1 -1
  108. package/script/deps/jsr.io/@std/assert/1.0.11/match.d.ts.map +1 -0
  109. package/script/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/match.js +1 -1
  110. package/script/deps/jsr.io/@std/assert/1.0.11/not_instance_of.d.ts.map +1 -0
  111. package/script/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/not_instance_of.js +1 -1
  112. package/script/deps/jsr.io/@std/assert/1.0.11/not_match.d.ts.map +1 -0
  113. package/script/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/not_match.js +1 -1
  114. package/script/deps/jsr.io/@std/assert/1.0.11/not_strict_equals.d.ts.map +1 -0
  115. package/script/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/not_strict_equals.js +1 -1
  116. package/script/deps/jsr.io/@std/assert/1.0.11/rejects.d.ts.map +1 -0
  117. package/script/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/rejects.js +1 -1
  118. package/script/deps/jsr.io/@std/assert/1.0.11/strict_equals.d.ts.map +1 -0
  119. package/script/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/strict_equals.js +1 -1
  120. package/script/deps/jsr.io/@std/expect/1.0.13/_assert_equals.d.ts.map +1 -0
  121. package/script/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_assert_equals.js +2 -2
  122. package/script/deps/jsr.io/@std/expect/1.0.13/_assert_is_error.d.ts +14 -0
  123. package/script/deps/jsr.io/@std/expect/1.0.13/_assert_is_error.d.ts.map +1 -0
  124. package/script/deps/jsr.io/@std/expect/1.0.13/_assert_is_error.js +46 -0
  125. package/script/deps/jsr.io/@std/expect/1.0.13/_assert_not_equals.d.ts.map +1 -0
  126. package/script/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_assert_not_equals.js +3 -3
  127. package/script/deps/jsr.io/@std/expect/1.0.13/_assertions.d.ts.map +1 -0
  128. package/script/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_assertions.js +1 -1
  129. package/script/deps/jsr.io/@std/expect/1.0.13/_asymmetric_matchers.d.ts.map +1 -0
  130. package/script/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_asymmetric_matchers.js +3 -2
  131. package/script/deps/jsr.io/@std/expect/1.0.13/_build_message.d.ts.map +1 -0
  132. package/script/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_build_message.js +5 -5
  133. package/script/deps/jsr.io/@std/expect/1.0.13/_custom_equality_tester.d.ts.map +1 -0
  134. package/script/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_custom_equality_tester.js +1 -1
  135. package/script/deps/jsr.io/@std/expect/1.0.13/_equal.d.ts.map +1 -0
  136. package/script/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_equal.js +1 -1
  137. package/script/deps/jsr.io/@std/expect/1.0.13/_extend.d.ts.map +1 -0
  138. package/script/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_extend.js +1 -1
  139. package/script/deps/jsr.io/@std/expect/1.0.13/_inspect_args.d.ts.map +1 -0
  140. package/script/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_inspect_args.js +1 -1
  141. package/script/deps/jsr.io/@std/expect/1.0.13/_matchers.d.ts.map +1 -0
  142. package/script/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_matchers.js +208 -62
  143. package/script/deps/jsr.io/@std/expect/1.0.13/_mock_util.d.ts.map +1 -0
  144. package/script/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_mock_util.js +1 -1
  145. package/script/deps/jsr.io/@std/expect/1.0.13/_serializer.d.ts.map +1 -0
  146. package/script/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_serializer.js +1 -1
  147. package/script/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_types.d.ts +6 -2
  148. package/script/deps/jsr.io/@std/expect/1.0.13/_types.d.ts.map +1 -0
  149. package/script/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_types.js +1 -1
  150. package/script/deps/jsr.io/@std/expect/1.0.13/_utils.d.ts.map +1 -0
  151. package/script/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_utils.js +1 -1
  152. package/script/deps/jsr.io/@std/expect/1.0.13/expect.d.ts.map +1 -0
  153. package/script/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/expect.js +4 -4
  154. package/script/deps/jsr.io/@std/testing/{1.0.6 → 1.0.9}/_mock_utils.d.ts.map +1 -1
  155. package/script/deps/jsr.io/@std/testing/{1.0.6 → 1.0.9}/_test_suite.d.ts +5 -0
  156. package/script/deps/jsr.io/@std/testing/1.0.9/_test_suite.d.ts.map +1 -0
  157. package/script/deps/jsr.io/@std/testing/{1.0.6 → 1.0.9}/_test_suite.js +36 -6
  158. package/script/deps/jsr.io/@std/testing/{1.0.6 → 1.0.9}/bdd.d.ts +7 -5
  159. package/script/deps/jsr.io/@std/testing/{1.0.6 → 1.0.9}/bdd.d.ts.map +1 -1
  160. package/script/deps/jsr.io/@std/testing/{1.0.6 → 1.0.9}/bdd.js +6 -4
  161. package/script/deps/jsr.io/@std/testing/{1.0.6 → 1.0.9}/mock.d.ts.map +1 -1
  162. package/script/deps/jsr.io/@std/testing/{1.0.6 → 1.0.9}/mock.js +5 -5
  163. package/script/src/assets.js +1 -1
  164. package/script/src/ast/nodes/annotation.test.js +2 -2
  165. package/script/src/ast/nodes/argument.test.js +2 -2
  166. package/script/src/ast/nodes/call.test.js +2 -2
  167. package/script/src/ast/nodes/class.test.js +2 -2
  168. package/script/src/ast/nodes/constructor.test.js +2 -2
  169. package/script/src/ast/nodes/doc-tag.test.js +2 -2
  170. package/script/src/ast/nodes/doc.test.js +2 -2
  171. package/script/src/ast/nodes/enum-value.test.js +2 -2
  172. package/script/src/ast/nodes/enum.test.js +2 -2
  173. package/script/src/ast/nodes/function.test.js +2 -2
  174. package/script/src/ast/nodes/generic-parameter.test.js +2 -2
  175. package/script/src/ast/nodes/init-block.test.js +2 -2
  176. package/script/src/ast/nodes/interface.test.js +2 -2
  177. package/script/src/ast/nodes/object.test.js +2 -2
  178. package/script/src/ast/nodes/parameter.test.js +2 -2
  179. package/script/src/ast/nodes/property.test.js +2 -2
  180. package/script/src/ast/nodes/reference.test.js +2 -2
  181. package/script/src/ast/nodes/string.test.js +2 -2
  182. package/script/src/ast/references/spring.d.ts +1 -0
  183. package/script/src/ast/references/spring.d.ts.map +1 -1
  184. package/script/src/ast/references/spring.js +2 -1
  185. package/script/src/generators/services/spring-controllers/spring-controller-generator.d.ts.map +1 -1
  186. package/script/src/generators/services/spring-controllers/spring-controller-generator.js +10 -1
  187. package/script/src/import-collection.test.js +2 -2
  188. package/script/tests/openapi-models.test.js +2 -2
  189. package/src/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/assertion_error.ts +1 -1
  190. package/src/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/equal.ts +1 -1
  191. package/src/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/equals.ts +1 -1
  192. package/src/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/false.ts +1 -1
  193. package/src/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/instance_of.ts +1 -1
  194. package/src/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/is_error.ts +1 -1
  195. package/src/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/match.ts +1 -1
  196. package/src/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/not_instance_of.ts +1 -1
  197. package/src/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/not_match.ts +1 -1
  198. package/src/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/not_strict_equals.ts +1 -1
  199. package/src/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/rejects.ts +1 -1
  200. package/src/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/strict_equals.ts +1 -1
  201. package/src/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_assert_equals.ts +2 -2
  202. package/src/deps/jsr.io/@std/expect/1.0.13/_assert_is_error.ts +54 -0
  203. package/src/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_assert_not_equals.ts +3 -3
  204. package/src/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_assertions.ts +1 -1
  205. package/src/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_asymmetric_matchers.ts +7 -2
  206. package/src/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_build_message.ts +5 -5
  207. package/src/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_custom_equality_tester.ts +1 -1
  208. package/src/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_equal.ts +1 -1
  209. package/src/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_extend.ts +1 -1
  210. package/src/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_inspect_args.ts +1 -1
  211. package/src/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_matchers.ts +274 -84
  212. package/src/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_mock_util.ts +1 -1
  213. package/src/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_serializer.ts +1 -1
  214. package/src/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_types.ts +7 -3
  215. package/src/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_utils.ts +1 -1
  216. package/src/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/expect.ts +4 -4
  217. package/src/deps/jsr.io/@std/testing/{1.0.6 → 1.0.9}/_mock_utils.ts +1 -1
  218. package/src/deps/jsr.io/@std/testing/{1.0.6 → 1.0.9}/_test_suite.ts +47 -9
  219. package/src/deps/jsr.io/@std/testing/{1.0.6 → 1.0.9}/bdd.ts +13 -10
  220. package/src/deps/jsr.io/@std/testing/{1.0.6 → 1.0.9}/mock.ts +5 -5
  221. package/src/src/assets.ts +1 -1
  222. package/src/src/ast/nodes/annotation.test.ts +2 -2
  223. package/src/src/ast/nodes/argument.test.ts +2 -2
  224. package/src/src/ast/nodes/call.test.ts +2 -2
  225. package/src/src/ast/nodes/class.test.ts +2 -2
  226. package/src/src/ast/nodes/constructor.test.ts +2 -2
  227. package/src/src/ast/nodes/doc-tag.test.ts +2 -2
  228. package/src/src/ast/nodes/doc.test.ts +2 -2
  229. package/src/src/ast/nodes/enum-value.test.ts +2 -2
  230. package/src/src/ast/nodes/enum.test.ts +2 -2
  231. package/src/src/ast/nodes/function.test.ts +2 -2
  232. package/src/src/ast/nodes/generic-parameter.test.ts +2 -2
  233. package/src/src/ast/nodes/init-block.test.ts +2 -2
  234. package/src/src/ast/nodes/interface.test.ts +2 -2
  235. package/src/src/ast/nodes/object.test.ts +2 -2
  236. package/src/src/ast/nodes/parameter.test.ts +2 -2
  237. package/src/src/ast/nodes/property.test.ts +2 -2
  238. package/src/src/ast/nodes/reference.test.ts +2 -2
  239. package/src/src/ast/nodes/string.test.ts +2 -2
  240. package/src/src/ast/references/spring.ts +4 -0
  241. package/src/src/generators/services/spring-controllers/spring-controller-generator.ts +10 -1
  242. package/src/src/import-collection.test.ts +2 -2
  243. package/src/tests/openapi-models.test.ts +2 -2
  244. package/esm/deps/jsr.io/@std/assert/1.0.9/assertion_error.d.ts.map +0 -1
  245. package/esm/deps/jsr.io/@std/assert/1.0.9/equal.d.ts.map +0 -1
  246. package/esm/deps/jsr.io/@std/assert/1.0.9/equals.d.ts.map +0 -1
  247. package/esm/deps/jsr.io/@std/assert/1.0.9/false.d.ts.map +0 -1
  248. package/esm/deps/jsr.io/@std/assert/1.0.9/instance_of.d.ts.map +0 -1
  249. package/esm/deps/jsr.io/@std/assert/1.0.9/is_error.d.ts.map +0 -1
  250. package/esm/deps/jsr.io/@std/assert/1.0.9/match.d.ts.map +0 -1
  251. package/esm/deps/jsr.io/@std/assert/1.0.9/not_instance_of.d.ts.map +0 -1
  252. package/esm/deps/jsr.io/@std/assert/1.0.9/not_match.d.ts.map +0 -1
  253. package/esm/deps/jsr.io/@std/assert/1.0.9/not_strict_equals.d.ts.map +0 -1
  254. package/esm/deps/jsr.io/@std/assert/1.0.9/rejects.d.ts.map +0 -1
  255. package/esm/deps/jsr.io/@std/assert/1.0.9/strict_equals.d.ts.map +0 -1
  256. package/esm/deps/jsr.io/@std/expect/1.0.9/_assert_equals.d.ts.map +0 -1
  257. package/esm/deps/jsr.io/@std/expect/1.0.9/_assert_not_equals.d.ts.map +0 -1
  258. package/esm/deps/jsr.io/@std/expect/1.0.9/_assertions.d.ts.map +0 -1
  259. package/esm/deps/jsr.io/@std/expect/1.0.9/_asymmetric_matchers.d.ts.map +0 -1
  260. package/esm/deps/jsr.io/@std/expect/1.0.9/_build_message.d.ts.map +0 -1
  261. package/esm/deps/jsr.io/@std/expect/1.0.9/_custom_equality_tester.d.ts.map +0 -1
  262. package/esm/deps/jsr.io/@std/expect/1.0.9/_equal.d.ts.map +0 -1
  263. package/esm/deps/jsr.io/@std/expect/1.0.9/_extend.d.ts.map +0 -1
  264. package/esm/deps/jsr.io/@std/expect/1.0.9/_inspect_args.d.ts.map +0 -1
  265. package/esm/deps/jsr.io/@std/expect/1.0.9/_matchers.d.ts.map +0 -1
  266. package/esm/deps/jsr.io/@std/expect/1.0.9/_mock_util.d.ts.map +0 -1
  267. package/esm/deps/jsr.io/@std/expect/1.0.9/_serializer.d.ts.map +0 -1
  268. package/esm/deps/jsr.io/@std/expect/1.0.9/_types.d.ts.map +0 -1
  269. package/esm/deps/jsr.io/@std/expect/1.0.9/_types.js +0 -3
  270. package/esm/deps/jsr.io/@std/expect/1.0.9/_utils.d.ts.map +0 -1
  271. package/esm/deps/jsr.io/@std/expect/1.0.9/expect.d.ts.map +0 -1
  272. package/esm/deps/jsr.io/@std/testing/1.0.6/_test_suite.d.ts.map +0 -1
  273. package/script/deps/jsr.io/@std/assert/1.0.9/assertion_error.d.ts.map +0 -1
  274. package/script/deps/jsr.io/@std/assert/1.0.9/equal.d.ts.map +0 -1
  275. package/script/deps/jsr.io/@std/assert/1.0.9/equals.d.ts.map +0 -1
  276. package/script/deps/jsr.io/@std/assert/1.0.9/false.d.ts.map +0 -1
  277. package/script/deps/jsr.io/@std/assert/1.0.9/instance_of.d.ts.map +0 -1
  278. package/script/deps/jsr.io/@std/assert/1.0.9/is_error.d.ts.map +0 -1
  279. package/script/deps/jsr.io/@std/assert/1.0.9/match.d.ts.map +0 -1
  280. package/script/deps/jsr.io/@std/assert/1.0.9/not_instance_of.d.ts.map +0 -1
  281. package/script/deps/jsr.io/@std/assert/1.0.9/not_match.d.ts.map +0 -1
  282. package/script/deps/jsr.io/@std/assert/1.0.9/not_strict_equals.d.ts.map +0 -1
  283. package/script/deps/jsr.io/@std/assert/1.0.9/rejects.d.ts.map +0 -1
  284. package/script/deps/jsr.io/@std/assert/1.0.9/strict_equals.d.ts.map +0 -1
  285. package/script/deps/jsr.io/@std/expect/1.0.9/_assert_equals.d.ts.map +0 -1
  286. package/script/deps/jsr.io/@std/expect/1.0.9/_assert_not_equals.d.ts.map +0 -1
  287. package/script/deps/jsr.io/@std/expect/1.0.9/_assertions.d.ts.map +0 -1
  288. package/script/deps/jsr.io/@std/expect/1.0.9/_asymmetric_matchers.d.ts.map +0 -1
  289. package/script/deps/jsr.io/@std/expect/1.0.9/_build_message.d.ts.map +0 -1
  290. package/script/deps/jsr.io/@std/expect/1.0.9/_custom_equality_tester.d.ts.map +0 -1
  291. package/script/deps/jsr.io/@std/expect/1.0.9/_equal.d.ts.map +0 -1
  292. package/script/deps/jsr.io/@std/expect/1.0.9/_extend.d.ts.map +0 -1
  293. package/script/deps/jsr.io/@std/expect/1.0.9/_inspect_args.d.ts.map +0 -1
  294. package/script/deps/jsr.io/@std/expect/1.0.9/_matchers.d.ts.map +0 -1
  295. package/script/deps/jsr.io/@std/expect/1.0.9/_mock_util.d.ts.map +0 -1
  296. package/script/deps/jsr.io/@std/expect/1.0.9/_serializer.d.ts.map +0 -1
  297. package/script/deps/jsr.io/@std/expect/1.0.9/_types.d.ts.map +0 -1
  298. package/script/deps/jsr.io/@std/expect/1.0.9/_utils.d.ts.map +0 -1
  299. package/script/deps/jsr.io/@std/expect/1.0.9/expect.d.ts.map +0 -1
  300. package/script/deps/jsr.io/@std/testing/1.0.6/_test_suite.d.ts.map +0 -1
  301. /package/esm/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/assertion_error.d.ts +0 -0
  302. /package/esm/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/equal.d.ts +0 -0
  303. /package/esm/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/equals.d.ts +0 -0
  304. /package/esm/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/false.d.ts +0 -0
  305. /package/esm/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/instance_of.d.ts +0 -0
  306. /package/esm/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/is_error.d.ts +0 -0
  307. /package/esm/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/match.d.ts +0 -0
  308. /package/esm/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/not_instance_of.d.ts +0 -0
  309. /package/esm/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/not_match.d.ts +0 -0
  310. /package/esm/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/not_strict_equals.d.ts +0 -0
  311. /package/esm/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/rejects.d.ts +0 -0
  312. /package/esm/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/strict_equals.d.ts +0 -0
  313. /package/esm/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_assert_equals.d.ts +0 -0
  314. /package/esm/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_assert_not_equals.d.ts +0 -0
  315. /package/esm/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_assertions.d.ts +0 -0
  316. /package/esm/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_asymmetric_matchers.d.ts +0 -0
  317. /package/esm/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_build_message.d.ts +0 -0
  318. /package/esm/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_custom_equality_tester.d.ts +0 -0
  319. /package/esm/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_equal.d.ts +0 -0
  320. /package/esm/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_extend.d.ts +0 -0
  321. /package/esm/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_inspect_args.d.ts +0 -0
  322. /package/esm/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_matchers.d.ts +0 -0
  323. /package/esm/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_mock_util.d.ts +0 -0
  324. /package/esm/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_serializer.d.ts +0 -0
  325. /package/esm/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_utils.d.ts +0 -0
  326. /package/esm/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/expect.d.ts +0 -0
  327. /package/esm/deps/jsr.io/@std/testing/{1.0.6 → 1.0.9}/_mock_utils.d.ts +0 -0
  328. /package/esm/deps/jsr.io/@std/testing/{1.0.6 → 1.0.9}/_mock_utils.js +0 -0
  329. /package/esm/deps/jsr.io/@std/testing/{1.0.6 → 1.0.9}/mock.d.ts +0 -0
  330. /package/script/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/assertion_error.d.ts +0 -0
  331. /package/script/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/equal.d.ts +0 -0
  332. /package/script/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/equals.d.ts +0 -0
  333. /package/script/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/false.d.ts +0 -0
  334. /package/script/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/instance_of.d.ts +0 -0
  335. /package/script/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/is_error.d.ts +0 -0
  336. /package/script/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/match.d.ts +0 -0
  337. /package/script/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/not_instance_of.d.ts +0 -0
  338. /package/script/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/not_match.d.ts +0 -0
  339. /package/script/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/not_strict_equals.d.ts +0 -0
  340. /package/script/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/rejects.d.ts +0 -0
  341. /package/script/deps/jsr.io/@std/assert/{1.0.9 → 1.0.11}/strict_equals.d.ts +0 -0
  342. /package/script/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_assert_equals.d.ts +0 -0
  343. /package/script/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_assert_not_equals.d.ts +0 -0
  344. /package/script/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_assertions.d.ts +0 -0
  345. /package/script/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_asymmetric_matchers.d.ts +0 -0
  346. /package/script/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_build_message.d.ts +0 -0
  347. /package/script/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_custom_equality_tester.d.ts +0 -0
  348. /package/script/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_equal.d.ts +0 -0
  349. /package/script/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_extend.d.ts +0 -0
  350. /package/script/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_inspect_args.d.ts +0 -0
  351. /package/script/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_matchers.d.ts +0 -0
  352. /package/script/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_mock_util.d.ts +0 -0
  353. /package/script/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_serializer.d.ts +0 -0
  354. /package/script/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/_utils.d.ts +0 -0
  355. /package/script/deps/jsr.io/@std/expect/{1.0.9 → 1.0.13}/expect.d.ts +0 -0
  356. /package/script/deps/jsr.io/@std/testing/{1.0.6 → 1.0.9}/_mock_utils.d.ts +0 -0
  357. /package/script/deps/jsr.io/@std/testing/{1.0.6 → 1.0.9}/_mock_utils.js +0 -0
  358. /package/script/deps/jsr.io/@std/testing/{1.0.6 → 1.0.9}/mock.d.ts +0 -0
@@ -1,12 +1,12 @@
1
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
2
- import { assertNotStrictEquals } from "../../assert/1.0.9/not_strict_equals.js";
3
- import { assertStrictEquals } from "../../assert/1.0.9/strict_equals.js";
4
- import { assertInstanceOf } from "../../assert/1.0.9/instance_of.js";
5
- import { assertIsError } from "../../assert/1.0.9/is_error.js";
6
- import { assertNotInstanceOf } from "../../assert/1.0.9/not_instance_of.js";
7
- import { assertMatch } from "../../assert/1.0.9/match.js";
8
- import { assertNotMatch } from "../../assert/1.0.9/not_match.js";
9
- import { AssertionError } from "../../assert/1.0.9/assertion_error.js";
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
+ import { assertNotStrictEquals } from "../../assert/1.0.11/not_strict_equals.js";
3
+ import { assertStrictEquals } from "../../assert/1.0.11/strict_equals.js";
4
+ import { assertInstanceOf } from "../../assert/1.0.11/instance_of.js";
5
+ import { assertIsError } from "./_assert_is_error.js";
6
+ import { assertNotInstanceOf } from "../../assert/1.0.11/not_instance_of.js";
7
+ import { assertMatch } from "../../assert/1.0.11/match.js";
8
+ import { assertNotMatch } from "../../assert/1.0.11/not_match.js";
9
+ import { AssertionError } from "../../assert/1.0.11/assertion_error.js";
10
10
  import { assertEquals } from "./_assert_equals.js";
11
11
  import { assertNotEquals } from "./_assert_not_equals.js";
12
12
  import { equal } from "./_equal.js";
@@ -65,12 +65,18 @@ export function toBeCloseTo(context, expected, numDigits = 2) {
65
65
  const pass = Math.abs(expected - value) < tolerance;
66
66
  if (context.isNot) {
67
67
  if (pass) {
68
- throw new AssertionError(`Expected the value not to be close to ${expected} (using ${numDigits} digits), but it is`);
68
+ const defaultMessage = `Expected the value ${value} not to be close to ${expected} (using ${numDigits} digits), but it is`;
69
+ throw new AssertionError(context.customMessage
70
+ ? `${context.customMessage}: ${defaultMessage}`
71
+ : defaultMessage);
69
72
  }
70
73
  }
71
74
  else {
72
75
  if (!pass) {
73
- throw new AssertionError(`Expected the value (${value} to be close to ${expected} (using ${numDigits} digits), but it is not`);
76
+ const defaultMessage = `Expected the value ${value} to be close to ${expected} (using ${numDigits} digits), but it is not`;
77
+ throw new AssertionError(context.customMessage
78
+ ? `${context.customMessage}: ${defaultMessage}`
79
+ : defaultMessage);
74
80
  }
75
81
  }
76
82
  }
@@ -94,12 +100,18 @@ export function toBeFalsy(context) {
94
100
  const isFalsy = !(context.value);
95
101
  if (context.isNot) {
96
102
  if (isFalsy) {
97
- throw new AssertionError(`Expected ${context.value} to NOT be falsy`);
103
+ const defaultMessage = `Expected ${context.value} to NOT be falsy`;
104
+ throw new AssertionError(context.customMessage
105
+ ? `${context.customMessage}: ${defaultMessage}`
106
+ : defaultMessage);
98
107
  }
99
108
  }
100
109
  else {
101
110
  if (!isFalsy) {
102
- throw new AssertionError(`Expected ${context.value} to be falsy`);
111
+ const defaultMessage = `Expected ${context.value} to be falsy`;
112
+ throw new AssertionError(context.customMessage
113
+ ? `${context.customMessage}: ${defaultMessage}`
114
+ : defaultMessage);
103
115
  }
104
116
  }
105
117
  }
@@ -107,12 +119,18 @@ export function toBeTruthy(context) {
107
119
  const isTruthy = !!(context.value);
108
120
  if (context.isNot) {
109
121
  if (isTruthy) {
110
- throw new AssertionError(`Expected ${context.value} to NOT be truthy`);
122
+ const defaultMessage = `Expected ${context.value} to NOT be truthy`;
123
+ throw new AssertionError(context.customMessage
124
+ ? `${context.customMessage}: ${defaultMessage}`
125
+ : defaultMessage);
111
126
  }
112
127
  }
113
128
  else {
114
129
  if (!isTruthy) {
115
- throw new AssertionError(`Expected ${context.value} to be truthy`);
130
+ const defaultMessage = `Expected ${context.value} to be truthy`;
131
+ throw new AssertionError(context.customMessage
132
+ ? `${context.customMessage}: ${defaultMessage}`
133
+ : defaultMessage);
116
134
  }
117
135
  }
118
136
  }
@@ -120,12 +138,18 @@ export function toBeGreaterThanOrEqual(context, expected) {
120
138
  const isGreaterOrEqual = Number(context.value) >= Number(expected);
121
139
  if (context.isNot) {
122
140
  if (isGreaterOrEqual) {
123
- throw new AssertionError(`Expected ${context.value} to NOT be greater than or equal ${expected}`);
141
+ const defaultMessage = `Expected ${context.value} to NOT be greater than or equal ${expected}`;
142
+ throw new AssertionError(context.customMessage
143
+ ? `${context.customMessage}: ${defaultMessage}`
144
+ : defaultMessage);
124
145
  }
125
146
  }
126
147
  else {
127
148
  if (!isGreaterOrEqual) {
128
- throw new AssertionError(`Expected ${context.value} to be greater than or equal ${expected}`);
149
+ const defaultMessage = `Expected ${context.value} to be greater than or equal ${expected}`;
150
+ throw new AssertionError(context.customMessage
151
+ ? `${context.customMessage}: ${defaultMessage}`
152
+ : defaultMessage);
129
153
  }
130
154
  }
131
155
  }
@@ -133,12 +157,18 @@ export function toBeGreaterThan(context, expected) {
133
157
  const isGreater = Number(context.value) > Number(expected);
134
158
  if (context.isNot) {
135
159
  if (isGreater) {
136
- throw new AssertionError(`Expected ${context.value} to NOT be greater than ${expected}`);
160
+ const defaultMessage = `Expected ${context.value} to NOT be greater than ${expected}`;
161
+ throw new AssertionError(context.customMessage
162
+ ? `${context.customMessage}: ${defaultMessage}`
163
+ : defaultMessage);
137
164
  }
138
165
  }
139
166
  else {
140
167
  if (!isGreater) {
141
- throw new AssertionError(`Expected ${context.value} to be greater than ${expected}`);
168
+ const defaultMessage = `Expected ${context.value} to be greater than ${expected}`;
169
+ throw new AssertionError(context.customMessage
170
+ ? `${context.customMessage}: ${defaultMessage}`
171
+ : defaultMessage);
142
172
  }
143
173
  }
144
174
  }
@@ -154,12 +184,18 @@ export function toBeLessThanOrEqual(context, expected) {
154
184
  const isLower = Number(context.value) <= Number(expected);
155
185
  if (context.isNot) {
156
186
  if (isLower) {
157
- throw new AssertionError(`Expected ${context.value} to NOT be lower than or equal ${expected}`);
187
+ const defaultMessage = `Expected ${context.value} to NOT be lower than or equal ${expected}`;
188
+ throw new AssertionError(context.customMessage
189
+ ? `${context.customMessage}: ${defaultMessage}`
190
+ : defaultMessage);
158
191
  }
159
192
  }
160
193
  else {
161
194
  if (!isLower) {
162
- throw new AssertionError(`Expected ${context.value} to be lower than or equal ${expected}`);
195
+ const defaultMessage = `Expected ${context.value} to be lower than or equal ${expected}`;
196
+ throw new AssertionError(context.customMessage
197
+ ? `${context.customMessage}: ${defaultMessage}`
198
+ : defaultMessage);
163
199
  }
164
200
  }
165
201
  }
@@ -167,12 +203,18 @@ export function toBeLessThan(context, expected) {
167
203
  const isLower = Number(context.value) < Number(expected);
168
204
  if (context.isNot) {
169
205
  if (isLower) {
170
- throw new AssertionError(`Expected ${context.value} to NOT be lower than ${expected}`);
206
+ const defaultMessage = `Expected ${context.value} to NOT be lower than ${expected}`;
207
+ throw new AssertionError(context.customMessage
208
+ ? `${context.customMessage}: ${defaultMessage}`
209
+ : defaultMessage);
171
210
  }
172
211
  }
173
212
  else {
174
213
  if (!isLower) {
175
- throw new AssertionError(`Expected ${context.value} to be lower than ${expected}`);
214
+ const defaultMessage = `Expected ${context.value} to be lower than ${expected}`;
215
+ throw new AssertionError(context.customMessage
216
+ ? `${context.customMessage}: ${defaultMessage}`
217
+ : defaultMessage);
176
218
  }
177
219
  }
178
220
  }
@@ -206,12 +248,18 @@ export function toHaveLength(context, expected) {
206
248
  const hasLength = maybeLength === expected;
207
249
  if (context.isNot) {
208
250
  if (hasLength) {
209
- throw new AssertionError(`Expected value not to have length ${expected}, but it does`);
251
+ const defaultMessage = `Expected value not to have length ${expected}, but it does`;
252
+ throw new AssertionError(context.customMessage
253
+ ? `${context.customMessage}: ${defaultMessage}`
254
+ : defaultMessage);
210
255
  }
211
256
  }
212
257
  else {
213
258
  if (!hasLength) {
214
- throw new AssertionError(`Expected value to have length ${expected}, but it does not: the value has length ${maybeLength}`);
259
+ const defaultMessage = `Expected value to have length ${expected}, but it does not: the value has length ${maybeLength}`;
260
+ throw new AssertionError(context.customMessage
261
+ ? `${context.customMessage}: ${defaultMessage}`
262
+ : defaultMessage);
215
263
  }
216
264
  }
217
265
  }
@@ -250,12 +298,18 @@ export function toHaveProperty(context, propName, v) {
250
298
  }
251
299
  if (context.isNot) {
252
300
  if (hasProperty) {
253
- throw new AssertionError(`Expected the value not to have the property ${propPath.join(".")}${ofValue}, but it does`);
301
+ const defaultMessage = `Expected the value not to have the property ${propPath.join(".")}${ofValue}, but it does`;
302
+ throw new AssertionError(context.customMessage
303
+ ? `${context.customMessage}: ${defaultMessage}`
304
+ : defaultMessage);
254
305
  }
255
306
  }
256
307
  else {
257
308
  if (!hasProperty) {
258
- throw new AssertionError(`Expected the value to have the property ${propPath.join(".")}${ofValue}, but it does not`);
309
+ const defaultMessage = `Expected the value to have the property ${propPath.join(".")}${ofValue}, but it does not`;
310
+ throw new AssertionError(context.customMessage
311
+ ? `${context.customMessage}: ${defaultMessage}`
312
+ : defaultMessage);
259
313
  }
260
314
  }
261
315
  }
@@ -267,12 +321,18 @@ export function toContain(context, expected) {
267
321
  const fmtExpected = format(expected);
268
322
  if (context.isNot) {
269
323
  if (doesContain) {
270
- throw new AssertionError(`The value ${fmtValue} contains the expected item ${fmtExpected}`);
324
+ const defaultMessage = `The value ${fmtValue} contains the expected item ${fmtExpected}`;
325
+ throw new AssertionError(context.customMessage
326
+ ? `${context.customMessage}: ${defaultMessage}`
327
+ : defaultMessage);
271
328
  }
272
329
  }
273
330
  else {
274
331
  if (!doesContain) {
275
- throw new AssertionError(`The value ${fmtValue} doesn't contain the expected item ${fmtExpected}`);
332
+ const defaultMessage = `The value ${fmtValue} doesn't contain the expected item ${fmtExpected}`;
333
+ throw new AssertionError(context.customMessage
334
+ ? `${context.customMessage}: ${defaultMessage}`
335
+ : defaultMessage);
276
336
  }
277
337
  }
278
338
  }
@@ -293,16 +353,22 @@ export function toContainEqual(context, expected) {
293
353
  const fmtExpected = prettyStringify(expected);
294
354
  if (context.isNot) {
295
355
  if (doesContain) {
296
- throw new AssertionError(`The value contains the expected item:
356
+ const defaultMessage = `The value contains the expected item:
297
357
  Value: ${fmtValue}
298
- Expected: ${fmtExpected}`);
358
+ Expected: ${fmtExpected}`;
359
+ throw new AssertionError(context.customMessage
360
+ ? `${context.customMessage}: ${defaultMessage}`
361
+ : defaultMessage);
299
362
  }
300
363
  }
301
364
  else {
302
365
  if (!doesContain) {
303
- throw new AssertionError(`The value doesn't contain the expected item:
366
+ const defaultMessage = `The value doesn't contain the expected item:
304
367
  Value: ${fmtValue}
305
- Expected: ${fmtExpected}`);
368
+ Expected: ${fmtExpected}`;
369
+ throw new AssertionError(context.customMessage
370
+ ? `${context.customMessage}: ${defaultMessage}`
371
+ : defaultMessage);
306
372
  }
307
373
  }
308
374
  }
@@ -325,11 +391,16 @@ export function toMatch(context, expected) {
325
391
  }
326
392
  export function toMatchObject(context, expected) {
327
393
  const received = context.value;
394
+ const defaultMsg = "Received value must be an object";
328
395
  if (typeof received !== "object" || received === null) {
329
- throw new AssertionError("Received value must be an object");
396
+ throw new AssertionError(context.customMessage
397
+ ? `${context.customMessage}: ${defaultMsg}`
398
+ : defaultMsg);
330
399
  }
331
400
  if (typeof expected !== "object" || expected === null) {
332
- throw new AssertionError("Received value must be an object");
401
+ throw new AssertionError(context.customMessage
402
+ ? `${context.customMessage}: ${defaultMsg}`
403
+ : defaultMsg);
333
404
  }
334
405
  const pass = equal(context.value, expected, {
335
406
  strictCheck: false,
@@ -343,10 +414,16 @@ export function toMatchObject(context, expected) {
343
414
  const actualString = format(context.value);
344
415
  const expectedString = format(expected);
345
416
  if (context.isNot) {
346
- throw new AssertionError(`Expected ${actualString} to NOT match ${expectedString}`);
417
+ const defaultMessage = `Expected ${actualString} to NOT match ${expectedString}`;
418
+ throw new AssertionError(context.customMessage
419
+ ? `${context.customMessage}: ${defaultMessage}`
420
+ : defaultMessage);
347
421
  }
348
422
  else {
349
- throw new AssertionError(`Expected ${actualString} to match ${expectedString}`);
423
+ const defaultMessage = `Expected ${actualString} to match ${expectedString}`;
424
+ throw new AssertionError(context.customMessage
425
+ ? `${context.customMessage}: ${defaultMessage}`
426
+ : defaultMessage);
350
427
  }
351
428
  };
352
429
  if (context.isNot && pass || !context.isNot && !pass) {
@@ -358,12 +435,18 @@ export function toHaveBeenCalled(context) {
358
435
  const hasBeenCalled = calls.length > 0;
359
436
  if (context.isNot) {
360
437
  if (hasBeenCalled) {
361
- throw new AssertionError(`Expected mock function not to be called, but it was called ${calls.length} time(s)`);
438
+ const defaultMessage = `Expected mock function not to be called, but it was called ${calls.length} time(s)`;
439
+ throw new AssertionError(context.customMessage
440
+ ? `${context.customMessage}: ${defaultMessage}`
441
+ : defaultMessage);
362
442
  }
363
443
  }
364
444
  else {
365
445
  if (!hasBeenCalled) {
366
- throw new AssertionError(`Expected mock function to be called, but it was not called`);
446
+ const defaultMessage = "Expected mock function to be called, but it was not called";
447
+ throw new AssertionError(context.customMessage
448
+ ? `${context.customMessage}: ${defaultMessage}`
449
+ : defaultMessage);
367
450
  }
368
451
  }
369
452
  }
@@ -371,12 +454,18 @@ export function toHaveBeenCalledTimes(context, expected) {
371
454
  const calls = getMockCalls(context.value);
372
455
  if (context.isNot) {
373
456
  if (calls.length === expected) {
374
- throw new AssertionError(`Expected mock function not to be called ${expected} time(s), but it was`);
457
+ const defaultMessage = `Expected mock function not to be called ${expected} time(s), but it was`;
458
+ throw new AssertionError(context.customMessage
459
+ ? `${context.customMessage}: ${defaultMessage}`
460
+ : defaultMessage);
375
461
  }
376
462
  }
377
463
  else {
378
464
  if (calls.length !== expected) {
379
- throw new AssertionError(`Expected mock function to be called ${expected} time(s), but it was called ${calls.length} time(s)`);
465
+ const defaultMessage = `Expected mock function to be called ${expected} time(s), but it was called ${calls.length} time(s)`;
466
+ throw new AssertionError(context.customMessage
467
+ ? `${context.customMessage}: ${defaultMessage}`
468
+ : defaultMessage);
380
469
  }
381
470
  }
382
471
  }
@@ -385,7 +474,10 @@ export function toHaveBeenCalledWith(context, ...expected) {
385
474
  const hasBeenCalled = calls.some((call) => equal(call.args, expected));
386
475
  if (context.isNot) {
387
476
  if (hasBeenCalled) {
388
- throw new AssertionError(`Expected mock function not to be called with ${inspectArgs(expected)}, but it was`);
477
+ const defaultMessage = `Expected mock function not to be called with ${inspectArgs(expected)}, but it was`;
478
+ throw new AssertionError(context.customMessage
479
+ ? `${context.customMessage}: ${defaultMessage}`
480
+ : defaultMessage);
389
481
  }
390
482
  }
391
483
  else {
@@ -394,7 +486,10 @@ export function toHaveBeenCalledWith(context, ...expected) {
394
486
  if (calls.length > 0) {
395
487
  otherCalls = `\n Other calls:\n ${calls.map((call) => inspectArgs(call.args)).join("\n ")}`;
396
488
  }
397
- throw new AssertionError(`Expected mock function to be called with ${inspectArgs(expected)}, but it was not.${otherCalls}`);
489
+ const defaultMessage = `Expected mock function to be called with ${inspectArgs(expected)}, but it was not.${otherCalls}`;
490
+ throw new AssertionError(context.customMessage
491
+ ? `${context.customMessage}: ${defaultMessage}`
492
+ : defaultMessage);
398
493
  }
399
494
  }
400
495
  }
@@ -405,17 +500,26 @@ export function toHaveBeenLastCalledWith(context, ...expected) {
405
500
  equal((_a = calls.at(-1)) === null || _a === void 0 ? void 0 : _a.args, expected);
406
501
  if (context.isNot) {
407
502
  if (hasBeenCalled) {
408
- throw new AssertionError(`Expected mock function not to be last called with ${inspectArgs(expected)}, but it was`);
503
+ const defaultMessage = `Expected mock function not to be last called with ${inspectArgs(expected)}, but it was`;
504
+ throw new AssertionError(context.customMessage
505
+ ? `${context.customMessage}: ${defaultMessage}`
506
+ : defaultMessage);
409
507
  }
410
508
  }
411
509
  else {
412
510
  if (!hasBeenCalled) {
413
511
  const lastCall = calls.at(-1);
414
512
  if (!lastCall) {
415
- throw new AssertionError(`Expected mock function to be last called with ${inspectArgs(expected)}, but it was not`);
513
+ const defaultMessage = `Expected mock function to be last called with ${inspectArgs(expected)}, but it was not`;
514
+ throw new AssertionError(context.customMessage
515
+ ? `${context.customMessage}: ${defaultMessage}`
516
+ : defaultMessage);
416
517
  }
417
518
  else {
418
- throw new AssertionError(`Expected mock function to be last called with ${inspectArgs(expected)}, but it was last called with ${inspectArgs(lastCall.args)}`);
519
+ const defaultMessage = `Expected mock function to be last called with ${inspectArgs(expected)}, but it was last called with ${inspectArgs(lastCall.args)}`;
520
+ throw new AssertionError(context.customMessage
521
+ ? `${context.customMessage}: ${defaultMessage}`
522
+ : defaultMessage);
419
523
  }
420
524
  }
421
525
  }
@@ -431,17 +535,26 @@ export function toHaveBeenNthCalledWith(context, nth, ...expected) {
431
535
  equal((_a = calls[callIndex]) === null || _a === void 0 ? void 0 : _a.args, expected);
432
536
  if (context.isNot) {
433
537
  if (hasBeenCalled) {
434
- throw new AssertionError(`Expected the n-th call (n=${nth}) of mock function is not with ${inspectArgs(expected)}, but it was`);
538
+ const defaultMessage = `Expected the n-th call (n=${nth}) of mock function is not with ${inspectArgs(expected)}, but it was`;
539
+ throw new AssertionError(context.customMessage
540
+ ? `${context.customMessage}: ${defaultMessage}`
541
+ : defaultMessage);
435
542
  }
436
543
  }
437
544
  else {
438
545
  if (!hasBeenCalled) {
439
546
  const nthCall = calls[callIndex];
440
547
  if (!nthCall) {
441
- throw new AssertionError(`Expected the n-th call (n=${nth}) of mock function is with ${inspectArgs(expected)}, but the n-th call does not exist`);
548
+ const defaultMessage = `Expected the n-th call (n=${nth}) of mock function is with ${inspectArgs(expected)}, but the n-th call does not exist`;
549
+ throw new AssertionError(context.customMessage
550
+ ? `${context.customMessage}: ${defaultMessage}`
551
+ : defaultMessage);
442
552
  }
443
553
  else {
444
- throw new AssertionError(`Expected the n-th call (n=${nth}) of mock function is with ${inspectArgs(expected)}, but it was with ${inspectArgs(nthCall.args)}`);
554
+ const defaultMessage = `Expected the n-th call (n=${nth}) of mock function is with ${inspectArgs(expected)}, but it was with ${inspectArgs(nthCall.args)}`;
555
+ throw new AssertionError(context.customMessage
556
+ ? `${context.customMessage}: ${defaultMessage}`
557
+ : defaultMessage);
445
558
  }
446
559
  }
447
560
  }
@@ -451,12 +564,18 @@ export function toHaveReturned(context) {
451
564
  const returned = calls.filter((call) => call.returns);
452
565
  if (context.isNot) {
453
566
  if (returned.length > 0) {
454
- throw new AssertionError(`Expected the mock function to not have returned, but it returned ${returned.length} times`);
567
+ const defaultMessage = `Expected the mock function to not have returned, but it returned ${returned.length} times`;
568
+ throw new AssertionError(context.customMessage
569
+ ? `${context.customMessage}: ${defaultMessage}`
570
+ : defaultMessage);
455
571
  }
456
572
  }
457
573
  else {
458
574
  if (returned.length === 0) {
459
- throw new AssertionError(`Expected the mock function to have returned, but it did not return`);
575
+ const defaultMessage = `Expected the mock function to have returned, but it did not return`;
576
+ throw new AssertionError(context.customMessage
577
+ ? `${context.customMessage}: ${defaultMessage}`
578
+ : defaultMessage);
460
579
  }
461
580
  }
462
581
  }
@@ -465,12 +584,18 @@ export function toHaveReturnedTimes(context, expected) {
465
584
  const returned = calls.filter((call) => call.returns);
466
585
  if (context.isNot) {
467
586
  if (returned.length === expected) {
468
- throw new AssertionError(`Expected the mock function to not have returned ${expected} times, but it returned ${returned.length} times`);
587
+ const defaultMessage = `Expected the mock function to not have returned ${expected} times, but it returned ${returned.length} times`;
588
+ throw new AssertionError(context.customMessage
589
+ ? `${context.customMessage}: ${defaultMessage}`
590
+ : defaultMessage);
469
591
  }
470
592
  }
471
593
  else {
472
594
  if (returned.length !== expected) {
473
- throw new AssertionError(`Expected the mock function to have returned ${expected} times, but it returned ${returned.length} times`);
595
+ const defaultMessage = `Expected the mock function to have returned ${expected} times, but it returned ${returned.length} times`;
596
+ throw new AssertionError(context.customMessage
597
+ ? `${context.customMessage}: ${defaultMessage}`
598
+ : defaultMessage);
474
599
  }
475
600
  }
476
601
  }
@@ -480,12 +605,18 @@ export function toHaveReturnedWith(context, expected) {
480
605
  const returnedWithExpected = returned.some((call) => equal(call.returned, expected));
481
606
  if (context.isNot) {
482
607
  if (returnedWithExpected) {
483
- throw new AssertionError(`Expected the mock function to not have returned with ${inspectArg(expected)}, but it did`);
608
+ const defaultMessage = `Expected the mock function to not have returned with ${inspectArg(expected)}, but it did`;
609
+ throw new AssertionError(context.customMessage
610
+ ? `${context.customMessage}: ${defaultMessage}`
611
+ : defaultMessage);
484
612
  }
485
613
  }
486
614
  else {
487
615
  if (!returnedWithExpected) {
488
- throw new AssertionError(`Expected the mock function to have returned with ${inspectArg(expected)}, but it did not`);
616
+ const defaultMessage = `Expected the mock function to have returned with ${inspectArg(expected)}, but it did not`;
617
+ throw new AssertionError(context.customMessage
618
+ ? `${context.customMessage}: ${defaultMessage}`
619
+ : defaultMessage);
489
620
  }
490
621
  }
491
622
  }
@@ -497,12 +628,18 @@ export function toHaveLastReturnedWith(context, expected) {
497
628
  equal((_a = returned.at(-1)) === null || _a === void 0 ? void 0 : _a.returned, expected);
498
629
  if (context.isNot) {
499
630
  if (lastReturnedWithExpected) {
500
- throw new AssertionError(`Expected the mock function to not have last returned with ${inspectArg(expected)}, but it did`);
631
+ const defaultMessage = `Expected the mock function to not have last returned with ${inspectArg(expected)}, but it did`;
632
+ throw new AssertionError(context.customMessage
633
+ ? `${context.customMessage}: ${defaultMessage}`
634
+ : defaultMessage);
501
635
  }
502
636
  }
503
637
  else {
504
638
  if (!lastReturnedWithExpected) {
505
- throw new AssertionError(`Expected the mock function to have last returned with ${inspectArg(expected)}, but it did not`);
639
+ const defaultMessage = `Expected the mock function to have last returned with ${inspectArg(expected)}, but it did not`;
640
+ throw new AssertionError(context.customMessage
641
+ ? `${context.customMessage}: ${defaultMessage}`
642
+ : defaultMessage);
506
643
  }
507
644
  }
508
645
  }
@@ -518,12 +655,18 @@ export function toHaveNthReturnedWith(context, nth, expected) {
518
655
  equal(maybeNthReturned.returned, expected);
519
656
  if (context.isNot) {
520
657
  if (nthReturnedWithExpected) {
521
- throw new AssertionError(`Expected the mock function to not have n-th (n=${nth}) returned with ${inspectArg(expected)}, but it did`);
658
+ const defaultMessage = `Expected the mock function to not have n-th (n=${nth}) returned with ${inspectArg(expected)}, but it did`;
659
+ throw new AssertionError(context.customMessage
660
+ ? `${context.customMessage}: ${defaultMessage}`
661
+ : defaultMessage);
522
662
  }
523
663
  }
524
664
  else {
525
665
  if (!nthReturnedWithExpected) {
526
- throw new AssertionError(`Expected the mock function to have n-th (n=${nth}) returned with ${inspectArg(expected)}, but it did not`);
666
+ const defaultMessage = `Expected the mock function to have n-th (n=${nth}) returned with ${inspectArg(expected)}, but it did not`;
667
+ throw new AssertionError(context.customMessage
668
+ ? `${context.customMessage}: ${defaultMessage}`
669
+ : defaultMessage);
527
670
  }
528
671
  }
529
672
  }
@@ -555,7 +698,10 @@ expected) {
555
698
  try {
556
699
  assertIsError(context.value, expectClass, expectMessage, context.customMessage);
557
700
  isError = true;
558
- throw new AssertionError(`Expected to NOT throw ${expected}`);
701
+ const defaultMessage = `Expected to NOT throw ${expected}`;
702
+ throw new AssertionError(context.customMessage
703
+ ? `${context.customMessage}: ${defaultMessage}`
704
+ : defaultMessage);
559
705
  }
560
706
  catch (e) {
561
707
  if (isError) {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_mock_util.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/expect/1.0.13/_mock_util.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW,eAAsB,CAAC;AAE/C,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,wBAAgB,YAAY,CAAC,CAAC,EAAE,GAAG,GAAG,QAAQ,EAAE,CAO/C"}
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  // deno-lint-ignore-file no-explicit-any
3
3
  export const MOCK_SYMBOL = Symbol.for("@MOCK");
4
4
  export function getMockCalls(f) {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_serializer.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/expect/1.0.13/_serializer.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAMlD,wBAAgB,aAAa,CAAC,MAAM,EAAE,cAAc,QAEnD;AAED,wBAAgB,aAAa,qBAE5B"}
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  const INTERNAL_PLUGINS = [
3
3
  // TODO(eryue0220): support internal snapshot serializer plugins
4
4
  ];
@@ -156,7 +156,10 @@ export interface Expected<IsAsync = false> {
156
156
  */
157
157
  toBeCalledWith(...expected: unknown[]): void;
158
158
  /**
159
- * Asserts that the value is close to the specified number within a tolerance.
159
+ * Asserts that a given numerical value is approximately equal to an
160
+ * expected number within a certain margin of error
161
+ * (tolerance). Useful when comparing floating-point numbers, which
162
+ * may be represented internally with precision errors.
160
163
  *
161
164
  * @example Usage
162
165
  * ```ts
@@ -168,7 +171,8 @@ export interface Expected<IsAsync = false> {
168
171
  * ```
169
172
  *
170
173
  * @param candidate The candidate number.
171
- * @param tolerance The tolerance value (optional).
174
+ * @param tolerance The number of significant decimal digits to
175
+ * consider when comparing the values (optional, default 2).
172
176
  */
173
177
  toBeCloseTo(candidate: number, tolerance?: number): void;
174
178
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_types.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/expect/1.0.13/_types.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,YAAY,KAAK,OAAO,CAAC;IACnE,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;CACnC;AAED,MAAM,MAAM,OAAO,GAAG,CACpB,OAAO,EAAE,cAAc,EACvB,GAAG,IAAI,EAAE,GAAG,EAAE,KACX,WAAW,GAAG,iBAAiB,CAAC;AAErC,MAAM,MAAM,QAAQ,GAAG;IACrB,CAAC,G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AAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,aAAa,EACtB,MAAM,EAAE,MAAM,KACX,MAAM,CAAC;IACZ,IAAI,EAAE,IAAI,CAAC;CACZ;AAED,MAAM,MAAM,cAAc,GAAG,iBAAiB,GAAG,iBAAiB,CAAC"}
@@ -0,0 +1,3 @@
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
+ // deno-lint-ignore-file no-explicit-any
3
+ export {};
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_utils.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/expect/1.0.13/_utils.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AACjE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAG1C,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,eAAe,GAAG,YAAY,CAYxE;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,WAAW,CAAC,OAAO,CAAC,CAM3E;AAGD,wBAAgB,WAAW,CAAC,MAAM,EAAE,GAAG,WAEtC;AAED,wBAAgB,GAAG,CAAC,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,CAAC,CAEnE;AAmDD,wBAAgB,gBAAgB,CAE9B,CAAC,EAAE,GAAG,EAEN,CAAC,EAAE,GAAG,EACN,aAAa,GAAE,MAAM,EAAO,EAC5B,MAAM,GAAE,OAAO,EAAO,EACtB,MAAM,GAAE,OAAO,EAAO,GACrB,OAAO,GAAG,SAAS,CA2IrB;AAGD,wBAAgB,cAAc,CAC5B,MAAM,EAAE,OAAO,EACf,MAAM,EAAE,OAAO,EACf,aAAa,GAAE,MAAM,EAAO,GAC3B,OAAO,GAAG,SAAS,CAyCrB"}
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  // Copyright (c) Meta Platforms, Inc. and affiliates. All rights reserved. MIT license.
3
3
  import { equal } from "./_equal.js";
4
4
  export function buildEqualOptions(options) {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expect.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/expect/1.0.13/expect.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EACV,QAAQ,EAKR,QAAQ,EACT,MAAM,aAAa,CAAC;AAiDrB,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAC;AAChE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE1D,YAAY,EAAE,cAAc,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AA+CnE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,wBAAgB,MAAM,CAAC,CAAC,SAAS,QAAQ,GAAG,QAAQ,EAClD,KAAK,EAAE,OAAO,EACd,aAAa,CAAC,EAAE,MAAM,GACrB,CAAC,CAwFH;yBA3Fe,MAAM;yCAsJR,MAAM,EAAE,KACjB,IAAI;oCAyDgD,QAAQ,KAAK,IAAI;wBAgBnB,UAAU,CAC/D,OAAO,kBAAkB,CAAC,QAAQ,CACnC;iBAuBI,OAAO,KACP,UAAU,CAAC,OAAO,kBAAkB,CAAC,GAAG,CAAC;6BA0BzC,GAAG,EAAE,KACL,UAAU,CAAC,OAAO,kBAAkB,CAAC,eAAe,CAAC;uBA0BnD,MAAM,cACC,MAAM,KACf,UAAU,CAAC,OAAO,kBAAkB,CAAC,OAAO,CAAC;gCAmB3C,MAAM,KACR,UAAU,CAAC,OAAO,kBAAkB,CAAC,gBAAgB,CAAC;kCAwBhD,MAAM,GAAG,MAAM,KACrB,UAAU,CAAC,OAAO,kBAAkB,CAAC,cAAc,CAAC;6BAmBX,IAAI;0BAmBV,MAAM,KAAK,IAAI;gCAkBhD,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KACzB,UAAU,CAAC,OAAO,kBAAkB,CAAC,gBAAgB,CAAC;;;;;;;wCAgEjD,cAAc,KACnB,IAAI"}
@@ -1,10 +1,10 @@
1
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  // This module is browser compatible.
3
3
  // Copyright 2019 Allain Lalonde. All rights reserved. ISC License.
4
4
  // Copyright (c) Meta Platforms, Inc. and affiliates.
5
5
  // The documentation is extracted from https://github.com/jestjs/jest/blob/main/website/versioned_docs/version-29.7/ExpectAPI.md
6
6
  // and updated for the Deno ecosystem.
7
- import { AssertionError } from "../../assert/1.0.9/assertion_error.js";
7
+ import { AssertionError } from "../../assert/1.0.11/assertion_error.js";
8
8
  import { assertions, emitAssertionTrigger, hasAssertions, } from "./_assertions.js";
9
9
  import { addCustomEqualityTesters, getCustomEqualityTesters, } from "./_custom_equality_tester.js";
10
10
  import { equal } from "./_equal.js";
@@ -452,7 +452,7 @@ expect.assertions = assertions;
452
452
  * import { expect } from "@std/expect";
453
453
  *
454
454
  * Deno.test("example", () => {
455
- * expect({ bar: 'baz' }).toEqual(expect.objectContaining({ bar: 'bar'}));
455
+ * expect({ bar: 'baz' }).toEqual(expect.objectContaining({ bar: 'baz'}));
456
456
  * expect({ bar: 'baz' }).not.toEqual(expect.objectContaining({ foo: 'bar'}));
457
457
  * });
458
458
  * ```
@@ -513,7 +513,7 @@ expect.not = {
513
513
  * The last module added is the first module tested.
514
514
  *
515
515
  * @example
516
- * ```ts no-eval
516
+ * ```ts
517
517
  * import { expect } from "@std/expect";
518
518
  * import serializerAnsi from "npm:jest-snapshot-serializer-ansi";
519
519
  *