@goast/core 0.4.1 → 0.4.2

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 (378) hide show
  1. package/esm/src/transform/helpers.d.ts.map +1 -1
  2. package/esm/src/transform/helpers.js +5 -1
  3. package/esm/src/utils/source-builder.d.ts +2 -0
  4. package/esm/src/utils/source-builder.d.ts.map +1 -1
  5. package/esm/src/utils/source-builder.js +7 -1
  6. package/package.json +1 -4
  7. package/script/src/transform/helpers.d.ts.map +1 -1
  8. package/script/src/transform/helpers.js +5 -1
  9. package/script/src/utils/source-builder.d.ts +2 -0
  10. package/script/src/utils/source-builder.d.ts.map +1 -1
  11. package/script/src/utils/source-builder.js +8 -1
  12. package/src/src/transform/helpers.ts +6 -1
  13. package/src/src/utils/source-builder.ts +9 -1
  14. package/esm/_dnt.test_polyfills.d.ts +0 -29
  15. package/esm/_dnt.test_polyfills.d.ts.map +0 -1
  16. package/esm/_dnt.test_polyfills.js +0 -31
  17. package/esm/_dnt.test_shims.d.ts +0 -14
  18. package/esm/_dnt.test_shims.d.ts.map +0 -1
  19. package/esm/_dnt.test_shims.js +0 -69
  20. package/esm/deps/jsr.io/@std/assert/1.0.11/assertion_error.d.ts +0 -26
  21. package/esm/deps/jsr.io/@std/assert/1.0.11/assertion_error.d.ts.map +0 -1
  22. package/esm/deps/jsr.io/@std/assert/1.0.11/assertion_error.js +0 -30
  23. package/esm/deps/jsr.io/@std/assert/1.0.11/false.d.ts +0 -18
  24. package/esm/deps/jsr.io/@std/assert/1.0.11/false.d.ts.map +0 -1
  25. package/esm/deps/jsr.io/@std/assert/1.0.11/false.js +0 -22
  26. package/esm/deps/jsr.io/@std/assert/1.0.11/instance_of.d.ts +0 -23
  27. package/esm/deps/jsr.io/@std/assert/1.0.11/instance_of.d.ts.map +0 -1
  28. package/esm/deps/jsr.io/@std/assert/1.0.11/instance_of.js +0 -53
  29. package/esm/deps/jsr.io/@std/assert/1.0.11/match.d.ts +0 -18
  30. package/esm/deps/jsr.io/@std/assert/1.0.11/match.d.ts.map +0 -1
  31. package/esm/deps/jsr.io/@std/assert/1.0.11/match.js +0 -26
  32. package/esm/deps/jsr.io/@std/assert/1.0.11/not_instance_of.d.ts +0 -20
  33. package/esm/deps/jsr.io/@std/assert/1.0.11/not_instance_of.d.ts.map +0 -1
  34. package/esm/deps/jsr.io/@std/assert/1.0.11/not_instance_of.js +0 -29
  35. package/esm/deps/jsr.io/@std/assert/1.0.11/not_match.d.ts +0 -18
  36. package/esm/deps/jsr.io/@std/assert/1.0.11/not_match.d.ts.map +0 -1
  37. package/esm/deps/jsr.io/@std/assert/1.0.11/not_match.js +0 -26
  38. package/esm/deps/jsr.io/@std/assert/1.0.11/not_strict_equals.d.ts +0 -23
  39. package/esm/deps/jsr.io/@std/assert/1.0.11/not_strict_equals.d.ts.map +0 -1
  40. package/esm/deps/jsr.io/@std/assert/1.0.11/not_strict_equals.js +0 -32
  41. package/esm/deps/jsr.io/@std/assert/1.0.11/strict_equals.d.ts +0 -24
  42. package/esm/deps/jsr.io/@std/assert/1.0.11/strict_equals.d.ts.map +0 -1
  43. package/esm/deps/jsr.io/@std/assert/1.0.11/strict_equals.js +0 -57
  44. package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_equals.d.ts +0 -20
  45. package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_equals.d.ts.map +0 -1
  46. package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_equals.js +0 -29
  47. package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_is_error.d.ts +0 -14
  48. package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_is_error.d.ts.map +0 -1
  49. package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_is_error.js +0 -43
  50. package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_not_equals.d.ts +0 -17
  51. package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_not_equals.d.ts.map +0 -1
  52. package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_not_equals.js +0 -26
  53. package/esm/deps/jsr.io/@std/expect/1.0.12/_assertions.d.ts +0 -4
  54. package/esm/deps/jsr.io/@std/expect/1.0.12/_assertions.d.ts.map +0 -1
  55. package/esm/deps/jsr.io/@std/expect/1.0.12/_assertions.js +0 -13
  56. package/esm/deps/jsr.io/@std/expect/1.0.12/_asymmetric_matchers.d.ts +0 -46
  57. package/esm/deps/jsr.io/@std/expect/1.0.12/_asymmetric_matchers.d.ts.map +0 -1
  58. package/esm/deps/jsr.io/@std/expect/1.0.12/_asymmetric_matchers.js +0 -161
  59. package/esm/deps/jsr.io/@std/expect/1.0.12/_build_message.d.ts +0 -6
  60. package/esm/deps/jsr.io/@std/expect/1.0.12/_build_message.d.ts.map +0 -1
  61. package/esm/deps/jsr.io/@std/expect/1.0.12/_build_message.js +0 -29
  62. package/esm/deps/jsr.io/@std/expect/1.0.12/_custom_equality_tester.d.ts +0 -4
  63. package/esm/deps/jsr.io/@std/expect/1.0.12/_custom_equality_tester.d.ts.map +0 -1
  64. package/esm/deps/jsr.io/@std/expect/1.0.12/_custom_equality_tester.js +0 -11
  65. package/esm/deps/jsr.io/@std/expect/1.0.12/_equal.d.ts +0 -9
  66. package/esm/deps/jsr.io/@std/expect/1.0.12/_equal.d.ts.map +0 -1
  67. package/esm/deps/jsr.io/@std/expect/1.0.12/_equal.js +0 -191
  68. package/esm/deps/jsr.io/@std/expect/1.0.12/_extend.d.ts +0 -4
  69. package/esm/deps/jsr.io/@std/expect/1.0.12/_extend.d.ts.map +0 -1
  70. package/esm/deps/jsr.io/@std/expect/1.0.12/_extend.js +0 -11
  71. package/esm/deps/jsr.io/@std/expect/1.0.12/_inspect_args.d.ts +0 -3
  72. package/esm/deps/jsr.io/@std/expect/1.0.12/_inspect_args.d.ts.map +0 -1
  73. package/esm/deps/jsr.io/@std/expect/1.0.12/_inspect_args.js +0 -12
  74. package/esm/deps/jsr.io/@std/expect/1.0.12/_matchers.d.ts +0 -34
  75. package/esm/deps/jsr.io/@std/expect/1.0.12/_matchers.d.ts.map +0 -1
  76. package/esm/deps/jsr.io/@std/expect/1.0.12/_matchers.js +0 -714
  77. package/esm/deps/jsr.io/@std/expect/1.0.12/_mock_util.d.ts +0 -11
  78. package/esm/deps/jsr.io/@std/expect/1.0.12/_mock_util.d.ts.map +0 -1
  79. package/esm/deps/jsr.io/@std/expect/1.0.12/_mock_util.js +0 -10
  80. package/esm/deps/jsr.io/@std/expect/1.0.12/_serializer.d.ts +0 -4
  81. package/esm/deps/jsr.io/@std/expect/1.0.12/_serializer.d.ts.map +0 -1
  82. package/esm/deps/jsr.io/@std/expect/1.0.12/_serializer.js +0 -10
  83. package/esm/deps/jsr.io/@std/expect/1.0.12/_types.d.ts +0 -843
  84. package/esm/deps/jsr.io/@std/expect/1.0.12/_types.d.ts.map +0 -1
  85. package/esm/deps/jsr.io/@std/expect/1.0.12/_types.js +0 -3
  86. package/esm/deps/jsr.io/@std/expect/1.0.12/_utils.d.ts +0 -9
  87. package/esm/deps/jsr.io/@std/expect/1.0.12/_utils.d.ts.map +0 -1
  88. package/esm/deps/jsr.io/@std/expect/1.0.12/_utils.js +0 -218
  89. package/esm/deps/jsr.io/@std/expect/1.0.12/expect.d.ts +0 -60
  90. package/esm/deps/jsr.io/@std/expect/1.0.12/expect.d.ts.map +0 -1
  91. package/esm/deps/jsr.io/@std/expect/1.0.12/expect.js +0 -523
  92. package/esm/deps/jsr.io/@std/expect/1.0.12/fn.d.ts +0 -29
  93. package/esm/deps/jsr.io/@std/expect/1.0.12/fn.d.ts.map +0 -1
  94. package/esm/deps/jsr.io/@std/expect/1.0.12/fn.js +0 -85
  95. package/esm/deps/jsr.io/@std/expect/1.0.12/mod.d.ts +0 -86
  96. package/esm/deps/jsr.io/@std/expect/1.0.12/mod.d.ts.map +0 -1
  97. package/esm/deps/jsr.io/@std/expect/1.0.12/mod.js +0 -88
  98. package/esm/deps/jsr.io/@std/internal/1.0.5/assertion_state.d.ts +0 -160
  99. package/esm/deps/jsr.io/@std/internal/1.0.5/assertion_state.d.ts.map +0 -1
  100. package/esm/deps/jsr.io/@std/internal/1.0.5/assertion_state.js +0 -199
  101. package/esm/deps/jsr.io/@std/internal/1.0.5/build_message.d.ts +0 -82
  102. package/esm/deps/jsr.io/@std/internal/1.0.5/build_message.d.ts.map +0 -1
  103. package/esm/deps/jsr.io/@std/internal/1.0.5/build_message.js +0 -111
  104. package/esm/deps/jsr.io/@std/internal/1.0.5/diff.d.ts +0 -140
  105. package/esm/deps/jsr.io/@std/internal/1.0.5/diff.d.ts.map +0 -1
  106. package/esm/deps/jsr.io/@std/internal/1.0.5/diff.js +0 -277
  107. package/esm/deps/jsr.io/@std/internal/1.0.5/diff_str.d.ts +0 -99
  108. package/esm/deps/jsr.io/@std/internal/1.0.5/diff_str.d.ts.map +0 -1
  109. package/esm/deps/jsr.io/@std/internal/1.0.5/diff_str.js +0 -180
  110. package/esm/deps/jsr.io/@std/internal/1.0.5/format.d.ts +0 -2
  111. package/esm/deps/jsr.io/@std/internal/1.0.5/format.d.ts.map +0 -1
  112. package/esm/deps/jsr.io/@std/internal/1.0.5/format.js +0 -37
  113. package/esm/deps/jsr.io/@std/internal/1.0.5/styles.d.ts +0 -159
  114. package/esm/deps/jsr.io/@std/internal/1.0.5/styles.d.ts.map +0 -1
  115. package/esm/deps/jsr.io/@std/internal/1.0.5/styles.js +0 -207
  116. package/esm/deps/jsr.io/@std/internal/1.0.5/types.d.ts +0 -16
  117. package/esm/deps/jsr.io/@std/internal/1.0.5/types.d.ts.map +0 -1
  118. package/esm/deps/jsr.io/@std/internal/1.0.5/types.js +0 -2
  119. package/esm/deps/jsr.io/@std/testing/1.0.9/_test_suite.d.ts +0 -79
  120. package/esm/deps/jsr.io/@std/testing/1.0.9/_test_suite.d.ts.map +0 -1
  121. package/esm/deps/jsr.io/@std/testing/1.0.9/_test_suite.js +0 -380
  122. package/esm/deps/jsr.io/@std/testing/1.0.9/bdd.d.ts +0 -738
  123. package/esm/deps/jsr.io/@std/testing/1.0.9/bdd.d.ts.map +0 -1
  124. package/esm/deps/jsr.io/@std/testing/1.0.9/bdd.js +0 -654
  125. package/esm/src/collect/helpers.test.d.ts +0 -2
  126. package/esm/src/collect/helpers.test.d.ts.map +0 -1
  127. package/esm/src/collect/helpers.test.js +0 -77
  128. package/esm/src/transform/helpers.test.d.ts +0 -2
  129. package/esm/src/transform/helpers.test.d.ts.map +0 -1
  130. package/esm/src/transform/helpers.test.js +0 -265
  131. package/esm/src/utils/action-provider.test.d.ts +0 -2
  132. package/esm/src/utils/action-provider.test.d.ts.map +0 -1
  133. package/esm/src/utils/action-provider.test.js +0 -28
  134. package/esm/src/utils/common.utils.test.d.ts +0 -2
  135. package/esm/src/utils/common.utils.test.d.ts.map +0 -1
  136. package/esm/src/utils/common.utils.test.js +0 -18
  137. package/esm/src/utils/condition.test.d.ts +0 -2
  138. package/esm/src/utils/condition.test.d.ts.map +0 -1
  139. package/esm/src/utils/condition.test.js +0 -31
  140. package/esm/src/utils/endpoint.utils.test.d.ts +0 -2
  141. package/esm/src/utils/endpoint.utils.test.d.ts.map +0 -1
  142. package/esm/src/utils/endpoint.utils.test.js +0 -31
  143. package/esm/src/utils/factory.test.d.ts +0 -2
  144. package/esm/src/utils/factory.test.d.ts.map +0 -1
  145. package/esm/src/utils/factory.test.js +0 -34
  146. package/esm/src/utils/generator.utils.test.d.ts +0 -2
  147. package/esm/src/utils/generator.utils.test.d.ts.map +0 -1
  148. package/esm/src/utils/generator.utils.test.js +0 -13
  149. package/esm/src/utils/object.utils.test.d.ts +0 -2
  150. package/esm/src/utils/object.utils.test.d.ts.map +0 -1
  151. package/esm/src/utils/object.utils.test.js +0 -29
  152. package/esm/src/utils/schema.utils.test.d.ts +0 -2
  153. package/esm/src/utils/schema.utils.test.d.ts.map +0 -1
  154. package/esm/src/utils/schema.utils.test.js +0 -70
  155. package/esm/src/utils/source-builder.test.d.ts +0 -2
  156. package/esm/src/utils/source-builder.test.d.ts.map +0 -1
  157. package/esm/src/utils/source-builder.test.js +0 -505
  158. package/esm/src/utils/string-builder/string-builder.test.d.ts +0 -2
  159. package/esm/src/utils/string-builder/string-builder.test.d.ts.map +0 -1
  160. package/esm/src/utils/string-builder/string-builder.test.js +0 -163
  161. package/esm/src/utils/string.utils.test.d.ts +0 -2
  162. package/esm/src/utils/string.utils.test.d.ts.map +0 -1
  163. package/esm/src/utils/string.utils.test.js +0 -528
  164. package/esm/tests/openapi.test.d.ts +0 -2
  165. package/esm/tests/openapi.test.d.ts.map +0 -1
  166. package/esm/tests/openapi.test.js +0 -33
  167. package/esm/tests/schema-factory.d.ts +0 -42
  168. package/esm/tests/schema-factory.d.ts.map +0 -1
  169. package/esm/tests/schema-factory.js +0 -138
  170. package/script/_dnt.test_polyfills.d.ts +0 -29
  171. package/script/_dnt.test_polyfills.d.ts.map +0 -1
  172. package/script/_dnt.test_polyfills.js +0 -32
  173. package/script/_dnt.test_shims.d.ts +0 -14
  174. package/script/_dnt.test_shims.d.ts.map +0 -1
  175. package/script/_dnt.test_shims.js +0 -79
  176. package/script/deps/jsr.io/@std/assert/1.0.11/assertion_error.d.ts +0 -26
  177. package/script/deps/jsr.io/@std/assert/1.0.11/assertion_error.d.ts.map +0 -1
  178. package/script/deps/jsr.io/@std/assert/1.0.11/assertion_error.js +0 -34
  179. package/script/deps/jsr.io/@std/assert/1.0.11/false.d.ts +0 -18
  180. package/script/deps/jsr.io/@std/assert/1.0.11/false.d.ts.map +0 -1
  181. package/script/deps/jsr.io/@std/assert/1.0.11/false.js +0 -25
  182. package/script/deps/jsr.io/@std/assert/1.0.11/instance_of.d.ts +0 -23
  183. package/script/deps/jsr.io/@std/assert/1.0.11/instance_of.d.ts.map +0 -1
  184. package/script/deps/jsr.io/@std/assert/1.0.11/instance_of.js +0 -56
  185. package/script/deps/jsr.io/@std/assert/1.0.11/match.d.ts +0 -18
  186. package/script/deps/jsr.io/@std/assert/1.0.11/match.d.ts.map +0 -1
  187. package/script/deps/jsr.io/@std/assert/1.0.11/match.js +0 -29
  188. package/script/deps/jsr.io/@std/assert/1.0.11/not_instance_of.d.ts +0 -20
  189. package/script/deps/jsr.io/@std/assert/1.0.11/not_instance_of.d.ts.map +0 -1
  190. package/script/deps/jsr.io/@std/assert/1.0.11/not_instance_of.js +0 -32
  191. package/script/deps/jsr.io/@std/assert/1.0.11/not_match.d.ts +0 -18
  192. package/script/deps/jsr.io/@std/assert/1.0.11/not_match.d.ts.map +0 -1
  193. package/script/deps/jsr.io/@std/assert/1.0.11/not_match.js +0 -29
  194. package/script/deps/jsr.io/@std/assert/1.0.11/not_strict_equals.d.ts +0 -23
  195. package/script/deps/jsr.io/@std/assert/1.0.11/not_strict_equals.d.ts.map +0 -1
  196. package/script/deps/jsr.io/@std/assert/1.0.11/not_strict_equals.js +0 -35
  197. package/script/deps/jsr.io/@std/assert/1.0.11/strict_equals.d.ts +0 -24
  198. package/script/deps/jsr.io/@std/assert/1.0.11/strict_equals.d.ts.map +0 -1
  199. package/script/deps/jsr.io/@std/assert/1.0.11/strict_equals.js +0 -60
  200. package/script/deps/jsr.io/@std/expect/1.0.12/_assert_equals.d.ts +0 -20
  201. package/script/deps/jsr.io/@std/expect/1.0.12/_assert_equals.d.ts.map +0 -1
  202. package/script/deps/jsr.io/@std/expect/1.0.12/_assert_equals.js +0 -32
  203. package/script/deps/jsr.io/@std/expect/1.0.12/_assert_is_error.d.ts +0 -14
  204. package/script/deps/jsr.io/@std/expect/1.0.12/_assert_is_error.d.ts.map +0 -1
  205. package/script/deps/jsr.io/@std/expect/1.0.12/_assert_is_error.js +0 -46
  206. package/script/deps/jsr.io/@std/expect/1.0.12/_assert_not_equals.d.ts +0 -17
  207. package/script/deps/jsr.io/@std/expect/1.0.12/_assert_not_equals.d.ts.map +0 -1
  208. package/script/deps/jsr.io/@std/expect/1.0.12/_assert_not_equals.js +0 -29
  209. package/script/deps/jsr.io/@std/expect/1.0.12/_assertions.d.ts +0 -4
  210. package/script/deps/jsr.io/@std/expect/1.0.12/_assertions.d.ts.map +0 -1
  211. package/script/deps/jsr.io/@std/expect/1.0.12/_assertions.js +0 -18
  212. package/script/deps/jsr.io/@std/expect/1.0.12/_asymmetric_matchers.d.ts +0 -46
  213. package/script/deps/jsr.io/@std/expect/1.0.12/_asymmetric_matchers.d.ts.map +0 -1
  214. package/script/deps/jsr.io/@std/expect/1.0.12/_asymmetric_matchers.js +0 -183
  215. package/script/deps/jsr.io/@std/expect/1.0.12/_build_message.d.ts +0 -6
  216. package/script/deps/jsr.io/@std/expect/1.0.12/_build_message.d.ts.map +0 -1
  217. package/script/deps/jsr.io/@std/expect/1.0.12/_build_message.js +0 -33
  218. package/script/deps/jsr.io/@std/expect/1.0.12/_custom_equality_tester.d.ts +0 -4
  219. package/script/deps/jsr.io/@std/expect/1.0.12/_custom_equality_tester.d.ts.map +0 -1
  220. package/script/deps/jsr.io/@std/expect/1.0.12/_custom_equality_tester.js +0 -15
  221. package/script/deps/jsr.io/@std/expect/1.0.12/_equal.d.ts +0 -9
  222. package/script/deps/jsr.io/@std/expect/1.0.12/_equal.d.ts.map +0 -1
  223. package/script/deps/jsr.io/@std/expect/1.0.12/_equal.js +0 -194
  224. package/script/deps/jsr.io/@std/expect/1.0.12/_extend.d.ts +0 -4
  225. package/script/deps/jsr.io/@std/expect/1.0.12/_extend.d.ts.map +0 -1
  226. package/script/deps/jsr.io/@std/expect/1.0.12/_extend.js +0 -15
  227. package/script/deps/jsr.io/@std/expect/1.0.12/_inspect_args.d.ts +0 -3
  228. package/script/deps/jsr.io/@std/expect/1.0.12/_inspect_args.d.ts.map +0 -1
  229. package/script/deps/jsr.io/@std/expect/1.0.12/_inspect_args.js +0 -17
  230. package/script/deps/jsr.io/@std/expect/1.0.12/_matchers.d.ts +0 -34
  231. package/script/deps/jsr.io/@std/expect/1.0.12/_matchers.d.ts.map +0 -1
  232. package/script/deps/jsr.io/@std/expect/1.0.12/_matchers.js +0 -748
  233. package/script/deps/jsr.io/@std/expect/1.0.12/_mock_util.d.ts +0 -11
  234. package/script/deps/jsr.io/@std/expect/1.0.12/_mock_util.d.ts.map +0 -1
  235. package/script/deps/jsr.io/@std/expect/1.0.12/_mock_util.js +0 -14
  236. package/script/deps/jsr.io/@std/expect/1.0.12/_serializer.d.ts +0 -4
  237. package/script/deps/jsr.io/@std/expect/1.0.12/_serializer.d.ts.map +0 -1
  238. package/script/deps/jsr.io/@std/expect/1.0.12/_serializer.js +0 -14
  239. package/script/deps/jsr.io/@std/expect/1.0.12/_types.d.ts +0 -843
  240. package/script/deps/jsr.io/@std/expect/1.0.12/_types.d.ts.map +0 -1
  241. package/script/deps/jsr.io/@std/expect/1.0.12/_types.js +0 -4
  242. package/script/deps/jsr.io/@std/expect/1.0.12/_utils.d.ts +0 -9
  243. package/script/deps/jsr.io/@std/expect/1.0.12/_utils.d.ts.map +0 -1
  244. package/script/deps/jsr.io/@std/expect/1.0.12/_utils.js +0 -226
  245. package/script/deps/jsr.io/@std/expect/1.0.12/expect.d.ts +0 -60
  246. package/script/deps/jsr.io/@std/expect/1.0.12/expect.d.ts.map +0 -1
  247. package/script/deps/jsr.io/@std/expect/1.0.12/expect.js +0 -527
  248. package/script/deps/jsr.io/@std/expect/1.0.12/fn.d.ts +0 -29
  249. package/script/deps/jsr.io/@std/expect/1.0.12/fn.d.ts.map +0 -1
  250. package/script/deps/jsr.io/@std/expect/1.0.12/fn.js +0 -88
  251. package/script/deps/jsr.io/@std/expect/1.0.12/mod.d.ts +0 -86
  252. package/script/deps/jsr.io/@std/expect/1.0.12/mod.d.ts.map +0 -1
  253. package/script/deps/jsr.io/@std/expect/1.0.12/mod.js +0 -91
  254. package/script/deps/jsr.io/@std/internal/1.0.5/assertion_state.d.ts +0 -160
  255. package/script/deps/jsr.io/@std/internal/1.0.5/assertion_state.d.ts.map +0 -1
  256. package/script/deps/jsr.io/@std/internal/1.0.5/assertion_state.js +0 -204
  257. package/script/deps/jsr.io/@std/internal/1.0.5/build_message.d.ts +0 -82
  258. package/script/deps/jsr.io/@std/internal/1.0.5/build_message.d.ts.map +0 -1
  259. package/script/deps/jsr.io/@std/internal/1.0.5/build_message.js +0 -116
  260. package/script/deps/jsr.io/@std/internal/1.0.5/diff.d.ts +0 -140
  261. package/script/deps/jsr.io/@std/internal/1.0.5/diff.d.ts.map +0 -1
  262. package/script/deps/jsr.io/@std/internal/1.0.5/diff.js +0 -284
  263. package/script/deps/jsr.io/@std/internal/1.0.5/diff_str.d.ts +0 -99
  264. package/script/deps/jsr.io/@std/internal/1.0.5/diff_str.d.ts.map +0 -1
  265. package/script/deps/jsr.io/@std/internal/1.0.5/diff_str.js +0 -186
  266. package/script/deps/jsr.io/@std/internal/1.0.5/format.d.ts +0 -2
  267. package/script/deps/jsr.io/@std/internal/1.0.5/format.d.ts.map +0 -1
  268. package/script/deps/jsr.io/@std/internal/1.0.5/format.js +0 -41
  269. package/script/deps/jsr.io/@std/internal/1.0.5/styles.d.ts +0 -159
  270. package/script/deps/jsr.io/@std/internal/1.0.5/styles.d.ts.map +0 -1
  271. package/script/deps/jsr.io/@std/internal/1.0.5/styles.js +0 -220
  272. package/script/deps/jsr.io/@std/internal/1.0.5/types.d.ts +0 -16
  273. package/script/deps/jsr.io/@std/internal/1.0.5/types.d.ts.map +0 -1
  274. package/script/deps/jsr.io/@std/internal/1.0.5/types.js +0 -3
  275. package/script/deps/jsr.io/@std/testing/1.0.9/_test_suite.d.ts +0 -79
  276. package/script/deps/jsr.io/@std/testing/1.0.9/_test_suite.d.ts.map +0 -1
  277. package/script/deps/jsr.io/@std/testing/1.0.9/_test_suite.js +0 -385
  278. package/script/deps/jsr.io/@std/testing/1.0.9/bdd.d.ts +0 -738
  279. package/script/deps/jsr.io/@std/testing/1.0.9/bdd.d.ts.map +0 -1
  280. package/script/deps/jsr.io/@std/testing/1.0.9/bdd.js +0 -665
  281. package/script/src/collect/helpers.test.d.ts +0 -2
  282. package/script/src/collect/helpers.test.d.ts.map +0 -1
  283. package/script/src/collect/helpers.test.js +0 -79
  284. package/script/src/transform/helpers.test.d.ts +0 -2
  285. package/script/src/transform/helpers.test.d.ts.map +0 -1
  286. package/script/src/transform/helpers.test.js +0 -267
  287. package/script/src/utils/action-provider.test.d.ts +0 -2
  288. package/script/src/utils/action-provider.test.d.ts.map +0 -1
  289. package/script/src/utils/action-provider.test.js +0 -30
  290. package/script/src/utils/common.utils.test.d.ts +0 -2
  291. package/script/src/utils/common.utils.test.d.ts.map +0 -1
  292. package/script/src/utils/common.utils.test.js +0 -20
  293. package/script/src/utils/condition.test.d.ts +0 -2
  294. package/script/src/utils/condition.test.d.ts.map +0 -1
  295. package/script/src/utils/condition.test.js +0 -33
  296. package/script/src/utils/endpoint.utils.test.d.ts +0 -2
  297. package/script/src/utils/endpoint.utils.test.d.ts.map +0 -1
  298. package/script/src/utils/endpoint.utils.test.js +0 -33
  299. package/script/src/utils/factory.test.d.ts +0 -2
  300. package/script/src/utils/factory.test.d.ts.map +0 -1
  301. package/script/src/utils/factory.test.js +0 -36
  302. package/script/src/utils/generator.utils.test.d.ts +0 -2
  303. package/script/src/utils/generator.utils.test.d.ts.map +0 -1
  304. package/script/src/utils/generator.utils.test.js +0 -15
  305. package/script/src/utils/object.utils.test.d.ts +0 -2
  306. package/script/src/utils/object.utils.test.d.ts.map +0 -1
  307. package/script/src/utils/object.utils.test.js +0 -31
  308. package/script/src/utils/schema.utils.test.d.ts +0 -2
  309. package/script/src/utils/schema.utils.test.d.ts.map +0 -1
  310. package/script/src/utils/schema.utils.test.js +0 -72
  311. package/script/src/utils/source-builder.test.d.ts +0 -2
  312. package/script/src/utils/source-builder.test.d.ts.map +0 -1
  313. package/script/src/utils/source-builder.test.js +0 -507
  314. package/script/src/utils/string-builder/string-builder.test.d.ts +0 -2
  315. package/script/src/utils/string-builder/string-builder.test.d.ts.map +0 -1
  316. package/script/src/utils/string-builder/string-builder.test.js +0 -165
  317. package/script/src/utils/string.utils.test.d.ts +0 -2
  318. package/script/src/utils/string.utils.test.d.ts.map +0 -1
  319. package/script/src/utils/string.utils.test.js +0 -530
  320. package/script/tests/openapi.test.d.ts +0 -2
  321. package/script/tests/openapi.test.d.ts.map +0 -1
  322. package/script/tests/openapi.test.js +0 -35
  323. package/script/tests/schema-factory.d.ts +0 -42
  324. package/script/tests/schema-factory.d.ts.map +0 -1
  325. package/script/tests/schema-factory.js +0 -162
  326. package/src/_dnt.test_polyfills.ts +0 -70
  327. package/src/_dnt.test_shims.ts +0 -72
  328. package/src/deps/jsr.io/@std/assert/1.0.11/assertion_error.ts +0 -31
  329. package/src/deps/jsr.io/@std/assert/1.0.11/false.ts +0 -26
  330. package/src/deps/jsr.io/@std/assert/1.0.11/instance_of.ts +0 -64
  331. package/src/deps/jsr.io/@std/assert/1.0.11/match.ts +0 -30
  332. package/src/deps/jsr.io/@std/assert/1.0.11/not_instance_of.ts +0 -33
  333. package/src/deps/jsr.io/@std/assert/1.0.11/not_match.ts +0 -30
  334. package/src/deps/jsr.io/@std/assert/1.0.11/not_strict_equals.ts +0 -42
  335. package/src/deps/jsr.io/@std/assert/1.0.11/strict_equals.ts +0 -67
  336. package/src/deps/jsr.io/@std/expect/1.0.12/_assert_equals.ts +0 -38
  337. package/src/deps/jsr.io/@std/expect/1.0.12/_assert_is_error.ts +0 -54
  338. package/src/deps/jsr.io/@std/expect/1.0.12/_assert_not_equals.ts +0 -35
  339. package/src/deps/jsr.io/@std/expect/1.0.12/_assertions.ts +0 -18
  340. package/src/deps/jsr.io/@std/expect/1.0.12/_asymmetric_matchers.ts +0 -198
  341. package/src/deps/jsr.io/@std/expect/1.0.12/_build_message.ts +0 -51
  342. package/src/deps/jsr.io/@std/expect/1.0.12/_custom_equality_tester.ts +0 -19
  343. package/src/deps/jsr.io/@std/expect/1.0.12/_equal.ts +0 -230
  344. package/src/deps/jsr.io/@std/expect/1.0.12/_extend.ts +0 -16
  345. package/src/deps/jsr.io/@std/expect/1.0.12/_inspect_args.ts +0 -15
  346. package/src/deps/jsr.io/@std/expect/1.0.12/_matchers.ts +0 -1028
  347. package/src/deps/jsr.io/@std/expect/1.0.12/_mock_util.ts +0 -22
  348. package/src/deps/jsr.io/@std/expect/1.0.12/_serializer.ts +0 -15
  349. package/src/deps/jsr.io/@std/expect/1.0.12/_types.ts +0 -923
  350. package/src/deps/jsr.io/@std/expect/1.0.12/_utils.ts +0 -283
  351. package/src/deps/jsr.io/@std/expect/1.0.12/expect.ts +0 -620
  352. package/src/deps/jsr.io/@std/expect/1.0.12/fn.ts +0 -91
  353. package/src/deps/jsr.io/@std/expect/1.0.12/mod.ts +0 -89
  354. package/src/deps/jsr.io/@std/internal/1.0.5/assertion_state.ts +0 -214
  355. package/src/deps/jsr.io/@std/internal/1.0.5/build_message.ts +0 -134
  356. package/src/deps/jsr.io/@std/internal/1.0.5/diff.ts +0 -317
  357. package/src/deps/jsr.io/@std/internal/1.0.5/diff_str.ts +0 -204
  358. package/src/deps/jsr.io/@std/internal/1.0.5/format.ts +0 -39
  359. package/src/deps/jsr.io/@std/internal/1.0.5/styles.ts +0 -233
  360. package/src/deps/jsr.io/@std/internal/1.0.5/types.ts +0 -18
  361. package/src/deps/jsr.io/@std/testing/1.0.9/_test_suite.ts +0 -448
  362. package/src/deps/jsr.io/@std/testing/1.0.9/bdd.ts +0 -1288
  363. package/src/src/collect/helpers.test.ts +0 -91
  364. package/src/src/transform/helpers.test.ts +0 -316
  365. package/src/src/utils/action-provider.test.ts +0 -32
  366. package/src/src/utils/common.utils.test.ts +0 -22
  367. package/src/src/utils/condition.test.ts +0 -36
  368. package/src/src/utils/endpoint.utils.test.ts +0 -36
  369. package/src/src/utils/factory.test.ts +0 -31
  370. package/src/src/utils/generator.utils.test.ts +0 -16
  371. package/src/src/utils/object.utils.test.ts +0 -33
  372. package/src/src/utils/schema.utils.test.ts +0 -88
  373. package/src/src/utils/source-builder.test.ts +0 -657
  374. package/src/src/utils/string-builder/string-builder.test.ts +0 -188
  375. package/src/src/utils/string.utils.test.ts +0 -691
  376. package/src/tests/openapi.test.ts +0 -50
  377. package/src/tests/schema-factory.ts +0 -185
  378. package/test_runner.js +0 -221
@@ -1 +0,0 @@
1
- {"version":3,"file":"bdd.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/testing/1.0.9/bdd.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgZG;AACH,OAAO,KAAK,OAAO,MAAM,mCAAmC,CAAC;AAK7D,OAAO,EACL,KAAK,kBAAkB,EAGvB,KAAK,YAAY,EACjB,KAAK,SAAS,EAEf,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EAAE,kBAAkB,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC;AAE5D,uCAAuC;AACvC,MAAM,MAAM,MAAM,CAAC,CAAC,IAChB,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC,GAC1B;IACA,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC;CACvC,GACC;IACA,IAAI,EAAE,MAAM;IACZ,EAAE,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,WAAW,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;CACnE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EJ,8BAA8B;AAC9B,MAAM,WAAW,QAAQ;IACvB,CAAC,CAAC,EAAE,GAAG,IAAI,EAAE,YAAY,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;IAE5C,oDAAoD;IACpD,IAAI,CAAC,CAAC,EAAE,GAAG,IAAI,EAAE,YAAY,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;IAEhD,sDAAsD;IACtD,MAAM,CAAC,CAAC,EAAE,GAAG,IAAI,EAAE,YAAY,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;IAElD,4EAA4E;IAC5E,IAAI,CAAC,CAAC,EAAE,GAAG,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;CACnC;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,QAAQ,CAAC,CAAC,EACxB,GAAG,IAAI,EAAE,YAAY,CAAC,CAAC,CAAC,GACvB,SAAS,CAAC,CAAC,CAAC,CAUd;yBAZe,QAAQ;eAsCc,CAAC,WAC5B,YAAY,CAAC,CAAC,CAAC,KACvB,SAAS,CAAC,CAAC,CAAC;iBA+B2B,CAAC,WAChC,YAAY,CAAC,CAAC,CAAC,KACvB,SAAS,CAAC,CAAC,CAAC;eA+BuB,CAAC,WAC5B,YAAY,CAAC,CAAC,CAAC,KACvB,SAAS,CAAC,CAAC,CAAC"}
@@ -1,665 +0,0 @@
1
- "use strict";
2
- // Copyright 2018-2025 the Deno authors. MIT license.
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.it = it;
5
- exports.test = test;
6
- exports.beforeAll = beforeAll;
7
- exports.before = before;
8
- exports.afterAll = afterAll;
9
- exports.after = after;
10
- exports.beforeEach = beforeEach;
11
- exports.afterEach = afterEach;
12
- exports.describe = describe;
13
- const assertion_state_js_1 = require("../../internal/1.0.5/assertion_state.js");
14
- const assertion_error_js_1 = require("../../assert/1.0.11/assertion_error.js");
15
- const _test_suite_js_1 = require("./_test_suite.js");
16
- /** Generates an ItDefinition from ItArgs. */
17
- function itDefinition(...args) {
18
- var _a;
19
- let [suiteOptionsOrNameOrFn, optionsOrNameOrFn, optionsOrFn, fn,] = args;
20
- let suite = undefined;
21
- let name;
22
- let options;
23
- if (typeof suiteOptionsOrNameOrFn === "object" &&
24
- typeof suiteOptionsOrNameOrFn.symbol === "symbol") {
25
- suite = suiteOptionsOrNameOrFn;
26
- }
27
- else {
28
- fn = optionsOrFn;
29
- optionsOrFn = optionsOrNameOrFn;
30
- optionsOrNameOrFn = suiteOptionsOrNameOrFn;
31
- }
32
- if (typeof optionsOrNameOrFn === "string") {
33
- name = optionsOrNameOrFn;
34
- if (typeof optionsOrFn === "function") {
35
- fn = optionsOrFn;
36
- options = {};
37
- }
38
- else {
39
- options = optionsOrFn;
40
- if (!fn)
41
- fn = options.fn;
42
- }
43
- }
44
- else if (typeof optionsOrNameOrFn === "function") {
45
- fn = optionsOrNameOrFn;
46
- name = fn.name;
47
- options = {};
48
- }
49
- else {
50
- options = optionsOrNameOrFn;
51
- if (typeof optionsOrFn === "function") {
52
- fn = optionsOrFn;
53
- }
54
- else {
55
- fn = options.fn;
56
- }
57
- name = (_a = options.name) !== null && _a !== void 0 ? _a : fn.name;
58
- }
59
- return {
60
- ...(suite !== undefined ? { suite } : {}),
61
- ...options,
62
- name,
63
- fn,
64
- };
65
- }
66
- /**
67
- * Registers an individual test case.
68
- *
69
- * @example Usage
70
- * ```ts
71
- * import { describe, it } from "@std/testing/bdd";
72
- * import { assertEquals } from "@std/assert";
73
- *
74
- * describe("example", () => {
75
- * it("should pass", () => {
76
- * // test case
77
- * assertEquals(2 + 2, 4);
78
- * });
79
- * });
80
- * ```
81
- *
82
- * @typeParam T The self type of the function to implement the test case
83
- * @param args The test case
84
- */
85
- function it(...args) {
86
- if (_test_suite_js_1.TestSuiteInternal.runningCount > 0) {
87
- throw new Error("Cannot register new test cases after already registered test cases start running");
88
- }
89
- const assertionState = (0, assertion_state_js_1.getAssertionState)();
90
- const options = itDefinition(...args);
91
- const { suite } = options;
92
- const testSuite = suite
93
- ? _test_suite_js_1.TestSuiteInternal.suites.get(suite.symbol)
94
- : _test_suite_js_1.TestSuiteInternal.current;
95
- if (!_test_suite_js_1.TestSuiteInternal.started)
96
- _test_suite_js_1.TestSuiteInternal.started = true;
97
- if (testSuite) {
98
- _test_suite_js_1.TestSuiteInternal.addStep(testSuite, options);
99
- }
100
- else {
101
- const { name, fn, ignore, only, permissions, sanitizeExit = _test_suite_js_1.globalSanitizersState.sanitizeExit, sanitizeOps = _test_suite_js_1.globalSanitizersState.sanitizeOps, sanitizeResources = _test_suite_js_1.globalSanitizersState.sanitizeResources, } = options;
102
- const opts = {
103
- name,
104
- async fn(t) {
105
- _test_suite_js_1.TestSuiteInternal.runningCount++;
106
- try {
107
- await fn.call({}, t);
108
- }
109
- finally {
110
- _test_suite_js_1.TestSuiteInternal.runningCount--;
111
- }
112
- if (assertionState.checkAssertionErrorState()) {
113
- throw new assertion_error_js_1.AssertionError("Expected at least one assertion to be called but received none");
114
- }
115
- if (assertionState.checkAssertionCountSatisfied()) {
116
- throw new assertion_error_js_1.AssertionError(`Expected at least ${assertionState.assertionCount} assertion to be called, ` +
117
- `but received ${assertionState.assertionTriggeredCount}`);
118
- }
119
- assertionState.resetAssertionState();
120
- },
121
- };
122
- if (ignore !== undefined) {
123
- opts.ignore = ignore;
124
- }
125
- if (only !== undefined) {
126
- opts.only = only;
127
- }
128
- if (permissions !== undefined) {
129
- opts.permissions = permissions;
130
- }
131
- if (sanitizeExit !== undefined) {
132
- opts.sanitizeExit = sanitizeExit;
133
- }
134
- if (sanitizeOps !== undefined) {
135
- opts.sanitizeOps = sanitizeOps;
136
- }
137
- if (sanitizeResources !== undefined) {
138
- opts.sanitizeResources = sanitizeResources;
139
- }
140
- _test_suite_js_1.TestSuiteInternal.registerTest(opts);
141
- }
142
- }
143
- /**
144
- * Only execute this test case.
145
- *
146
- * @example Usage
147
- * ```ts
148
- * import { describe, it } from "@std/testing/bdd";
149
- * import { assertEquals } from "@std/assert";
150
- *
151
- * describe("example", () => {
152
- * it("should pass", () => {
153
- * assertEquals(2 + 2, 4);
154
- * });
155
- *
156
- * it.only("should pass too", () => {
157
- * assertEquals(3 + 4, 7);
158
- * });
159
- * });
160
- * ```
161
- *
162
- * @param args The test case
163
- */
164
- it.only = function itOnly(...args) {
165
- const options = itDefinition(...args);
166
- return it({
167
- ...options,
168
- only: true,
169
- });
170
- };
171
- /**
172
- * Ignore this test case.
173
- *
174
- * @example Usage
175
- * ```ts
176
- * import { describe, it } from "@std/testing/bdd";
177
- * import { assertEquals } from "@std/assert";
178
- *
179
- * describe("example", () => {
180
- * it("should pass", () => {
181
- * assertEquals(2 + 2, 4);
182
- * });
183
- *
184
- * it.ignore("should pass too", () => {
185
- * assertEquals(3 + 4, 7);
186
- * });
187
- * });
188
- * ```
189
- *
190
- * @param args The test case
191
- */
192
- it.ignore = function itIgnore(...args) {
193
- const options = itDefinition(...args);
194
- return it({
195
- ...options,
196
- ignore: true,
197
- });
198
- };
199
- /** Skip this test case.
200
- *
201
- * @example Usage
202
- * ```ts
203
- * import { describe, it } from "@std/testing/bdd";
204
- * import { assertEquals } from "@std/assert";
205
- *
206
- * describe("example", () => {
207
- * it("should pass", () => {
208
- * assertEquals(2 + 2, 4);
209
- * });
210
- *
211
- * it.skip("should pass too", () => {
212
- * assertEquals(3 + 4, 7);
213
- * });
214
- * });
215
- * ```
216
- *
217
- * @param args The test case
218
- */
219
- it.skip = function itSkip(...args) {
220
- it.ignore(...args);
221
- };
222
- /**
223
- * Alias of {@linkcode it}
224
- *
225
- * Registers an individual test case.
226
- *
227
- * @example Usage
228
- * ```ts
229
- * import { test } from "@std/testing/bdd";
230
- * import { assertEquals } from "@std/assert";
231
- *
232
- * test("a test case", () => {
233
- * // test case
234
- * assertEquals(2 + 2, 4);
235
- * });
236
- * ```
237
- *
238
- * @typeParam T The self type of the function to implement the test case
239
- * @param args The test case
240
- */
241
- function test(...args) {
242
- it(...args);
243
- }
244
- /**
245
- * Only execute this test case.
246
- *
247
- * @example Usage
248
- * ```ts
249
- * import { describe, test } from "@std/testing/bdd";
250
- * import { assertEquals } from "@std/assert";
251
- *
252
- * describe("example", () => {
253
- * test("should pass", () => {
254
- * assertEquals(2 + 2, 4);
255
- * });
256
- *
257
- * test.only("should pass too", () => {
258
- * assertEquals(3 + 4, 7);
259
- * });
260
- * });
261
- * ```
262
- *
263
- * @param args The test case
264
- */
265
- test.only = function itOnly(...args) {
266
- it.only(...args);
267
- };
268
- /**
269
- * Ignore this test case.
270
- *
271
- * @example Usage
272
- * ```ts
273
- * import { describe, test } from "@std/testing/bdd";
274
- * import { assertEquals } from "@std/assert";
275
- *
276
- * describe("example", () => {
277
- * test("should pass", () => {
278
- * assertEquals(2 + 2, 4);
279
- * });
280
- *
281
- * test.ignore("should pass too", () => {
282
- * assertEquals(3 + 4, 7);
283
- * });
284
- * });
285
- * ```
286
- *
287
- * @param args The test case
288
- */
289
- test.ignore = function itIgnore(...args) {
290
- it.ignore(...args);
291
- };
292
- /** Skip this test case.
293
- *
294
- * @example Usage
295
- * ```ts
296
- * import { describe, test } from "@std/testing/bdd";
297
- * import { assertEquals } from "@std/assert";
298
- *
299
- * describe("example", () => {
300
- * test("should pass", () => {
301
- * assertEquals(2 + 2, 4);
302
- * });
303
- *
304
- * test.skip("should pass too", () => {
305
- * assertEquals(3 + 4, 7);
306
- * });
307
- * });
308
- * ```
309
- *
310
- * @param args The test case
311
- */
312
- test.skip = function itSkip(...args) {
313
- it.ignore(...args);
314
- };
315
- function addHook(name, fn) {
316
- if (!_test_suite_js_1.TestSuiteInternal.current) {
317
- if (_test_suite_js_1.TestSuiteInternal.started) {
318
- throw new Error("Cannot add global hooks after a global test is registered");
319
- }
320
- _test_suite_js_1.TestSuiteInternal.current = new _test_suite_js_1.TestSuiteInternal({
321
- name: "global",
322
- [name]: fn,
323
- });
324
- }
325
- else {
326
- _test_suite_js_1.TestSuiteInternal.setHook(_test_suite_js_1.TestSuiteInternal.current, name, fn);
327
- }
328
- }
329
- /**
330
- * Run some shared setup before all of the tests in the group.
331
- * Useful for async setup in `describe` blocks. Outside them,
332
- * top-level initialization code should be used instead.
333
- *
334
- * @example Usage
335
- * ```ts
336
- * import { describe, it, beforeAll } from "@std/testing/bdd";
337
- * import { assertEquals } from "@std/assert";
338
- *
339
- * beforeAll(() => {
340
- * console.log("beforeAll");
341
- * });
342
- *
343
- * describe("example", () => {
344
- * it("should pass", () => {
345
- * // test case
346
- * assertEquals(2 + 2, 4);
347
- * });
348
- * });
349
- * ```
350
- *
351
- * @typeParam T The self type of the function
352
- * @param fn The function to implement the setup behavior.
353
- */
354
- function beforeAll(fn) {
355
- addHook("beforeAll", fn);
356
- }
357
- /**
358
- * Alias of {@linkcode beforeAll}
359
- *
360
- * Run some shared setup before all of the tests in the suite.
361
- *
362
- * @example Usage
363
- * ```ts
364
- * import { describe, it, before } from "@std/testing/bdd";
365
- * import { assertEquals } from "@std/assert";
366
- *
367
- * before(() => {
368
- * console.log("before");
369
- * });
370
- *
371
- * describe("example", () => {
372
- * it("should pass", () => {
373
- * // test case
374
- * assertEquals(2 + 2, 4);
375
- * });
376
- * });
377
- * ```
378
- *
379
- * @typeParam T The self type of the function
380
- * @param fn The function to implement the setup behavior.
381
- */
382
- function before(fn) {
383
- beforeAll(fn);
384
- }
385
- /**
386
- * Run some shared teardown after all of the tests in the suite.
387
- *
388
- * @example Usage
389
- * ```ts
390
- * import { describe, it, afterAll } from "@std/testing/bdd";
391
- * import { assertEquals } from "@std/assert";
392
- *
393
- * afterAll(() => {
394
- * console.log("afterAll");
395
- * });
396
- *
397
- * describe("example", () => {
398
- * it("should pass", () => {
399
- * // test case
400
- * assertEquals(2 + 2, 4);
401
- * });
402
- * });
403
- * ```
404
- *
405
- * @typeParam T The self type of the function
406
- * @param fn The function to implement the teardown behavior.
407
- */
408
- function afterAll(fn) {
409
- addHook("afterAll", fn);
410
- }
411
- /**
412
- * Alias of {@linkcode afterAll}.
413
- *
414
- * Run some shared teardown after all of the tests in the suite.
415
- *
416
- * @example Usage
417
- * ```ts
418
- * import { describe, it, after } from "@std/testing/bdd";
419
- * import { assertEquals } from "@std/assert";
420
- *
421
- * after(() => {
422
- * console.log("after");
423
- * });
424
- *
425
- * describe("example", () => {
426
- * it("should pass", () => {
427
- * // test case
428
- * assertEquals(2 + 2, 4);
429
- * });
430
- * });
431
- * ```
432
- *
433
- * @typeParam T The self type of the function
434
- * @param fn The function to implement the teardown behavior.
435
- */
436
- function after(fn) {
437
- afterAll(fn);
438
- }
439
- /**
440
- * Run some shared setup before each test in the suite.
441
- *
442
- * @example Usage
443
- * ```ts
444
- * import { describe, it, beforeEach } from "@std/testing/bdd";
445
- * import { assertEquals } from "@std/assert";
446
- *
447
- * beforeEach(() => {
448
- * console.log("beforeEach");
449
- * });
450
- *
451
- * describe("example", () => {
452
- * it("should pass", () => {
453
- * // test case
454
- * assertEquals(2 + 2, 4);
455
- * });
456
- * });
457
- * ```
458
- *
459
- * @typeParam T The self type of the function
460
- * @param fn The function to implement the shared setup behavior
461
- */
462
- function beforeEach(fn) {
463
- addHook("beforeEach", fn);
464
- }
465
- /**
466
- * Run some shared teardown after each test in the suite.
467
- *
468
- * @example Usage
469
- * ```ts
470
- * import { describe, it, afterEach } from "@std/testing/bdd";
471
- * import { assertEquals } from "@std/assert";
472
- *
473
- * afterEach(() => {
474
- * console.log("afterEach");
475
- * });
476
- *
477
- * describe("example", () => {
478
- * it("should pass", () => {
479
- * // test case
480
- * assertEquals(2 + 2, 4);
481
- * });
482
- * });
483
- * ```
484
- *
485
- * @typeParam T The self type of the function
486
- * @param fn The function to implement the shared teardown behavior
487
- */
488
- function afterEach(fn) {
489
- addHook("afterEach", fn);
490
- }
491
- /** Generates a DescribeDefinition from DescribeArgs. */
492
- function describeDefinition(...args) {
493
- var _a, _b;
494
- let [suiteOptionsOrNameOrFn, optionsOrNameOrFn, optionsOrFn, fn,] = args;
495
- let suite = undefined;
496
- let name;
497
- let options;
498
- if (typeof suiteOptionsOrNameOrFn === "object" &&
499
- typeof suiteOptionsOrNameOrFn.symbol === "symbol") {
500
- suite = suiteOptionsOrNameOrFn;
501
- }
502
- else {
503
- fn = optionsOrFn;
504
- optionsOrFn = optionsOrNameOrFn;
505
- optionsOrNameOrFn = suiteOptionsOrNameOrFn;
506
- }
507
- if (typeof optionsOrNameOrFn === "string") {
508
- name = optionsOrNameOrFn;
509
- if (typeof optionsOrFn === "function") {
510
- fn = optionsOrFn;
511
- options = {};
512
- }
513
- else {
514
- options = optionsOrFn !== null && optionsOrFn !== void 0 ? optionsOrFn : {};
515
- if (fn === undefined) {
516
- fn = options.fn;
517
- }
518
- }
519
- }
520
- else if (typeof optionsOrNameOrFn === "function") {
521
- fn = optionsOrNameOrFn;
522
- name = fn.name;
523
- options = {};
524
- }
525
- else {
526
- options = optionsOrNameOrFn !== null && optionsOrNameOrFn !== void 0 ? optionsOrNameOrFn : {};
527
- if (typeof optionsOrFn === "function") {
528
- fn = optionsOrFn;
529
- }
530
- else {
531
- fn = options.fn;
532
- }
533
- name = (_b = (_a = options.name) !== null && _a !== void 0 ? _a : fn === null || fn === void 0 ? void 0 : fn.name) !== null && _b !== void 0 ? _b : "";
534
- }
535
- if (suite === undefined) {
536
- suite = options.suite;
537
- }
538
- if (suite === undefined && _test_suite_js_1.TestSuiteInternal.current) {
539
- const { symbol } = _test_suite_js_1.TestSuiteInternal.current;
540
- suite = { symbol };
541
- }
542
- return {
543
- ...options,
544
- suite: suite,
545
- name,
546
- fn: fn,
547
- };
548
- }
549
- /**
550
- * Registers a test suite.
551
- *
552
- * @example Usage
553
- * ```ts
554
- * import { describe, it } from "@std/testing/bdd";
555
- * import { assertEquals } from "@std/assert";
556
- *
557
- * describe("example", () => {
558
- * it("should pass", () => {
559
- * // test case
560
- * assertEquals(2 + 2, 4);
561
- * });
562
- * });
563
- * ```
564
- *
565
- * @typeParam T The self type of the test suite body.
566
- * @param args The test suite body.
567
- * @returns The test suite
568
- */
569
- function describe(...args) {
570
- if (_test_suite_js_1.TestSuiteInternal.runningCount > 0) {
571
- throw new Error("Cannot register new test suites after already registered test cases start running");
572
- }
573
- const options = describeDefinition(...args);
574
- if (!_test_suite_js_1.TestSuiteInternal.started)
575
- _test_suite_js_1.TestSuiteInternal.started = true;
576
- const { symbol } = new _test_suite_js_1.TestSuiteInternal(options);
577
- return { symbol };
578
- }
579
- /**
580
- * Only execute this test suite.
581
- *
582
- * @example Usage
583
- * ```ts
584
- * import { describe, it, beforeAll } from "@std/testing/bdd";
585
- * import { assertEquals } from "@std/assert";
586
- *
587
- * describe("example", () => {
588
- * it("should pass", () => {
589
- * assertEquals(2 + 2, 4);
590
- * });
591
- * });
592
- *
593
- * // Only this test suite will run
594
- * describe.only("example 2", () => {
595
- * it("should pass too", () => {
596
- * assertEquals(3 + 4, 7);
597
- * });
598
- * });
599
- * ```
600
- *
601
- * @param args The test suite body
602
- */
603
- describe.only = function describeOnly(...args) {
604
- const options = describeDefinition(...args);
605
- return describe({
606
- ...options,
607
- only: true,
608
- });
609
- };
610
- /**
611
- * Ignore the test suite.
612
- *
613
- * @example Usage
614
- * ```ts
615
- * import { describe, it, beforeAll } from "@std/testing/bdd";
616
- * import { assertEquals } from "@std/assert";
617
- *
618
- * describe("example", () => {
619
- * it("should pass", () => {
620
- * assertEquals(2 + 2, 4);
621
- * });
622
- * });
623
- *
624
- * describe.ignore("example 2", () => {
625
- * it("should pass too", () => {
626
- * assertEquals(3 + 4, 7);
627
- * });
628
- * });
629
- * ```
630
- *
631
- * @param args The test suite body
632
- */
633
- describe.ignore = function describeIgnore(...args) {
634
- const options = describeDefinition(...args);
635
- return describe({
636
- ...options,
637
- ignore: true,
638
- });
639
- };
640
- /**
641
- * Skip the test suite.
642
- *
643
- * @example Usage
644
- * ```ts
645
- * import { describe, it, beforeAll } from "@std/testing/bdd";
646
- * import { assertEquals } from "@std/assert";
647
- *
648
- * describe("example", () => {
649
- * it("should pass", () => {
650
- * assertEquals(2 + 2, 4);
651
- * });
652
- * });
653
- *
654
- * describe.skip("example 2", () => {
655
- * it("should pass too", () => {
656
- * assertEquals(3 + 4, 7);
657
- * });
658
- * });
659
- * ```
660
- *
661
- * @param args The test suite body
662
- */
663
- describe.skip = function describeSkip(...args) {
664
- return describe.ignore(...args);
665
- };
@@ -1,2 +0,0 @@
1
- import "../../_dnt.test_polyfills.js";
2
- //# sourceMappingURL=helpers.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"helpers.test.d.ts","sourceRoot":"","sources":["../../../src/src/collect/helpers.test.ts"],"names":[],"mappings":"AACA,OAAO,8BAA8B,CAAC"}