@modern-js/module-tools-docs 2.2.0 → 2.2.1-beta.1

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 (293) hide show
  1. package/LICENSE +144 -0
  2. package/doc_build/html/main/index.html +16 -0
  3. package/doc_build/route.json +10 -0
  4. package/doc_build/static/css/main.css +2977 -0
  5. package/doc_build/static/css/main.css.map +1 -0
  6. package/doc_build/static/css/vendors-node_modules_pnpm_remix-run_router_1_2_0_node_modules_remix-run_router_dist_router_js-9d5e9c.css +68 -0
  7. package/doc_build/static/css/vendors-node_modules_pnpm_remix-run_router_1_2_0_node_modules_remix-run_router_dist_router_js-9d5e9c.css.map +1 -0
  8. package/doc_build/static/js/async/en_api_config_build-config.js +8406 -0
  9. package/doc_build/static/js/async/en_api_config_build-config.js.map +1 -0
  10. package/doc_build/static/js/async/en_api_config_build-preset.js +7865 -0
  11. package/doc_build/static/js/async/en_api_config_build-preset.js.map +1 -0
  12. package/doc_build/static/js/async/en_api_config_design-system.js +47805 -0
  13. package/doc_build/static/js/async/en_api_config_design-system.js.map +1 -0
  14. package/doc_build/static/js/async/en_api_config_plugins.js +1488 -0
  15. package/doc_build/static/js/async/en_api_config_plugins.js.map +1 -0
  16. package/doc_build/static/js/async/en_api_config_testing.js +2139 -0
  17. package/doc_build/static/js/async/en_api_config_testing.js.map +1 -0
  18. package/doc_build/static/js/async/en_api_index.js +51 -0
  19. package/doc_build/static/js/async/en_api_index.js.map +1 -0
  20. package/doc_build/static/js/async/en_api_plugin-api_plugin-hooks.js +14360 -0
  21. package/doc_build/static/js/async/en_api_plugin-api_plugin-hooks.js.map +1 -0
  22. package/doc_build/static/js/async/en_guide_advance_asset.js +3972 -0
  23. package/doc_build/static/js/async/en_guide_advance_asset.js.map +1 -0
  24. package/doc_build/static/js/async/en_guide_advance_build-umd.js +9857 -0
  25. package/doc_build/static/js/async/en_guide_advance_build-umd.js.map +1 -0
  26. package/doc_build/static/js/async/en_guide_advance_copy.js +6541 -0
  27. package/doc_build/static/js/async/en_guide_advance_copy.js.map +1 -0
  28. package/doc_build/static/js/async/en_guide_advance_external-dependency.js +3806 -0
  29. package/doc_build/static/js/async/en_guide_advance_external-dependency.js.map +1 -0
  30. package/doc_build/static/js/async/en_guide_advance_in-depth-about-build.js +5304 -0
  31. package/doc_build/static/js/async/en_guide_advance_in-depth-about-build.js.map +1 -0
  32. package/doc_build/static/js/async/en_guide_advance_in-depth-about-dev-command.js +2526 -0
  33. package/doc_build/static/js/async/en_guide_advance_in-depth-about-dev-command.js.map +1 -0
  34. package/doc_build/static/js/async/en_guide_advance_theme-config.js +2486 -0
  35. package/doc_build/static/js/async/en_guide_advance_theme-config.js.map +1 -0
  36. package/doc_build/static/js/async/en_guide_basic_before-getting-started.js +3720 -0
  37. package/doc_build/static/js/async/en_guide_basic_before-getting-started.js.map +1 -0
  38. package/doc_build/static/js/async/en_guide_basic_command-preview.js +3973 -0
  39. package/doc_build/static/js/async/en_guide_basic_command-preview.js.map +1 -0
  40. package/doc_build/static/js/async/en_guide_basic_modify-output-product.js +3137 -0
  41. package/doc_build/static/js/async/en_guide_basic_modify-output-product.js.map +1 -0
  42. package/doc_build/static/js/async/en_guide_basic_publish-your-project.js +2180 -0
  43. package/doc_build/static/js/async/en_guide_basic_publish-your-project.js.map +1 -0
  44. package/doc_build/static/js/async/en_guide_basic_test-your-project.js +3887 -0
  45. package/doc_build/static/js/async/en_guide_basic_test-your-project.js.map +1 -0
  46. package/doc_build/static/js/async/en_guide_basic_use-micro-generator.js +2973 -0
  47. package/doc_build/static/js/async/en_guide_basic_use-micro-generator.js.map +1 -0
  48. package/doc_build/static/js/async/en_guide_basic_using-storybook.js +4723 -0
  49. package/doc_build/static/js/async/en_guide_basic_using-storybook.js.map +1 -0
  50. package/doc_build/static/js/async/en_guide_best-practices_components.js +21400 -0
  51. package/doc_build/static/js/async/en_guide_best-practices_components.js.map +1 -0
  52. package/doc_build/static/js/async/en_guide_intro_getting-started.js +2149 -0
  53. package/doc_build/static/js/async/en_guide_intro_getting-started.js.map +1 -0
  54. package/doc_build/static/js/async/en_guide_intro_welcome.js +162 -0
  55. package/doc_build/static/js/async/en_guide_intro_welcome.js.map +1 -0
  56. package/doc_build/static/js/async/en_guide_intro_why-module-engineering-solution.js +96 -0
  57. package/doc_build/static/js/async/en_guide_intro_why-module-engineering-solution.js.map +1 -0
  58. package/doc_build/static/js/async/en_index.js +81 -0
  59. package/doc_build/static/js/async/en_index.js.map +1 -0
  60. package/doc_build/static/js/async/en_plugins_guide_getting-started.js +2556 -0
  61. package/doc_build/static/js/async/en_plugins_guide_getting-started.js.map +1 -0
  62. package/doc_build/static/js/async/en_plugins_guide_plugin-object.js +4173 -0
  63. package/doc_build/static/js/async/en_plugins_guide_plugin-object.js.map +1 -0
  64. package/doc_build/static/js/async/en_plugins_guide_setup-function.js +3815 -0
  65. package/doc_build/static/js/async/en_plugins_guide_setup-function.js.map +1 -0
  66. package/doc_build/static/js/async/en_plugins_official-list_overview.js +66 -0
  67. package/doc_build/static/js/async/en_plugins_official-list_overview.js.map +1 -0
  68. package/doc_build/static/js/async/packages_cli_doc-core_src_theme-default_components_Search_logic_search_ts.js +246 -0
  69. package/doc_build/static/js/async/packages_cli_doc-core_src_theme-default_components_Search_logic_search_ts.js.map +1 -0
  70. package/doc_build/static/js/async/vendors-node_modules_pnpm_code-hike_mdx_0_7_4_react_18_2_0_node_modules_code-hike_mdx_dist_co-06dd41.js +6656 -0
  71. package/doc_build/static/js/async/vendors-node_modules_pnpm_code-hike_mdx_0_7_4_react_18_2_0_node_modules_code-hike_mdx_dist_co-06dd41.js.map +1 -0
  72. package/doc_build/static/js/async/vendors-node_modules_pnpm_flexsearch_0_6_32_node_modules_flexsearch_dist_flexsearch_min_js.js +54 -0
  73. package/doc_build/static/js/async/vendors-node_modules_pnpm_flexsearch_0_6_32_node_modules_flexsearch_dist_flexsearch_min_js.js.map +1 -0
  74. package/doc_build/static/js/async/zh_api_config_build-config.js +11354 -0
  75. package/doc_build/static/js/async/zh_api_config_build-config.js.map +1 -0
  76. package/doc_build/static/js/async/zh_api_config_build-preset.js +7867 -0
  77. package/doc_build/static/js/async/zh_api_config_build-preset.js.map +1 -0
  78. package/doc_build/static/js/async/zh_api_config_design-system.js +48712 -0
  79. package/doc_build/static/js/async/zh_api_config_design-system.js.map +1 -0
  80. package/doc_build/static/js/async/zh_api_config_plugins.js +1488 -0
  81. package/doc_build/static/js/async/zh_api_config_plugins.js.map +1 -0
  82. package/doc_build/static/js/async/zh_api_config_testing.js +2132 -0
  83. package/doc_build/static/js/async/zh_api_config_testing.js.map +1 -0
  84. package/doc_build/static/js/async/zh_api_index.js +52 -0
  85. package/doc_build/static/js/async/zh_api_index.js.map +1 -0
  86. package/doc_build/static/js/async/zh_api_plugin-api_plugin-hooks.js +14392 -0
  87. package/doc_build/static/js/async/zh_api_plugin-api_plugin-hooks.js.map +1 -0
  88. package/doc_build/static/js/async/zh_guide_advance_asset.js +3972 -0
  89. package/doc_build/static/js/async/zh_guide_advance_asset.js.map +1 -0
  90. package/doc_build/static/js/async/zh_guide_advance_build-umd.js +9859 -0
  91. package/doc_build/static/js/async/zh_guide_advance_build-umd.js.map +1 -0
  92. package/doc_build/static/js/async/zh_guide_advance_copy.js +6541 -0
  93. package/doc_build/static/js/async/zh_guide_advance_copy.js.map +1 -0
  94. package/doc_build/static/js/async/zh_guide_advance_external-dependency.js +3808 -0
  95. package/doc_build/static/js/async/zh_guide_advance_external-dependency.js.map +1 -0
  96. package/doc_build/static/js/async/zh_guide_advance_in-depth-about-build.js +5304 -0
  97. package/doc_build/static/js/async/zh_guide_advance_in-depth-about-build.js.map +1 -0
  98. package/doc_build/static/js/async/zh_guide_advance_in-depth-about-dev-command.js +2526 -0
  99. package/doc_build/static/js/async/zh_guide_advance_in-depth-about-dev-command.js.map +1 -0
  100. package/doc_build/static/js/async/zh_guide_advance_theme-config.js +2477 -0
  101. package/doc_build/static/js/async/zh_guide_advance_theme-config.js.map +1 -0
  102. package/doc_build/static/js/async/zh_guide_basic_before-getting-started.js +3711 -0
  103. package/doc_build/static/js/async/zh_guide_basic_before-getting-started.js.map +1 -0
  104. package/doc_build/static/js/async/zh_guide_basic_command-preview.js +3805 -0
  105. package/doc_build/static/js/async/zh_guide_basic_command-preview.js.map +1 -0
  106. package/doc_build/static/js/async/zh_guide_basic_modify-output-product.js +3142 -0
  107. package/doc_build/static/js/async/zh_guide_basic_modify-output-product.js.map +1 -0
  108. package/doc_build/static/js/async/zh_guide_basic_publish-your-project.js +2241 -0
  109. package/doc_build/static/js/async/zh_guide_basic_publish-your-project.js.map +1 -0
  110. package/doc_build/static/js/async/zh_guide_basic_test-your-project.js +4286 -0
  111. package/doc_build/static/js/async/zh_guide_basic_test-your-project.js.map +1 -0
  112. package/doc_build/static/js/async/zh_guide_basic_use-micro-generator.js +2979 -0
  113. package/doc_build/static/js/async/zh_guide_basic_use-micro-generator.js.map +1 -0
  114. package/doc_build/static/js/async/zh_guide_basic_using-storybook.js +4760 -0
  115. package/doc_build/static/js/async/zh_guide_basic_using-storybook.js.map +1 -0
  116. package/doc_build/static/js/async/zh_guide_best-practices_components.js +21100 -0
  117. package/doc_build/static/js/async/zh_guide_best-practices_components.js.map +1 -0
  118. package/doc_build/static/js/async/zh_guide_intro_getting-started.js +2031 -0
  119. package/doc_build/static/js/async/zh_guide_intro_getting-started.js.map +1 -0
  120. package/doc_build/static/js/async/zh_guide_intro_welcome.js +162 -0
  121. package/doc_build/static/js/async/zh_guide_intro_welcome.js.map +1 -0
  122. package/doc_build/static/js/async/zh_guide_intro_why-module-engineering-solution.js +96 -0
  123. package/doc_build/static/js/async/zh_guide_intro_why-module-engineering-solution.js.map +1 -0
  124. package/doc_build/static/js/async/zh_index.js +81 -0
  125. package/doc_build/static/js/async/zh_index.js.map +1 -0
  126. package/doc_build/static/js/async/zh_plugins_guide_getting-started.js +2604 -0
  127. package/doc_build/static/js/async/zh_plugins_guide_getting-started.js.map +1 -0
  128. package/doc_build/static/js/async/zh_plugins_guide_plugin-object.js +4169 -0
  129. package/doc_build/static/js/async/zh_plugins_guide_plugin-object.js.map +1 -0
  130. package/doc_build/static/js/async/zh_plugins_guide_setup-function.js +3815 -0
  131. package/doc_build/static/js/async/zh_plugins_guide_setup-function.js.map +1 -0
  132. package/doc_build/static/js/async/zh_plugins_official-list_overview.js +66 -0
  133. package/doc_build/static/js/async/zh_plugins_official-list_overview.js.map +1 -0
  134. package/doc_build/static/js/builder-runtime.js +1375 -0
  135. package/doc_build/static/js/builder-runtime.js.map +1 -0
  136. package/doc_build/static/js/lib-lodash.js +4907 -0
  137. package/doc_build/static/js/lib-lodash.js.map +1 -0
  138. package/doc_build/static/js/lib-polyfill.js +11847 -0
  139. package/doc_build/static/js/lib-polyfill.js.map +1 -0
  140. package/doc_build/static/js/lib-react.js +39510 -0
  141. package/doc_build/static/js/lib-react.js.map +1 -0
  142. package/doc_build/static/js/main.js +8610 -0
  143. package/doc_build/static/js/main.js.map +1 -0
  144. package/doc_build/static/js/vendors-node_modules_pnpm_remix-run_router_1_2_0_node_modules_remix-run_router_dist_router_js-9d5e9c.js +7328 -0
  145. package/doc_build/static/js/vendors-node_modules_pnpm_remix-run_router_1_2_0_node_modules_remix-run_router_dist_router_js-9d5e9c.js.map +1 -0
  146. package/doc_build/static/search_index.json +1 -1
  147. package/docs/en/guide/advance/in-depth-about-dev-command.md +65 -12
  148. package/docs/en/guide/basic/before-getting-started.md +4 -14
  149. package/docs/en/guide/basic/command-preview.md +1 -1
  150. package/docs/en/guide/basic/modify-output-product.md +6 -2
  151. package/docs/en/guide/basic/use-micro-generator.md +62 -1
  152. package/docs/en/guide/basic/using-storybook.mdx +4 -4
  153. package/docs/en/guide/intro/getting-started.md +16 -7
  154. package/docs/zh/guide/advance/in-depth-about-dev-command.md +60 -13
  155. package/docs/zh/guide/basic/before-getting-started.md +4 -14
  156. package/docs/zh/guide/basic/command-preview.md +2 -2
  157. package/docs/zh/guide/basic/modify-output-product.md +5 -3
  158. package/docs/zh/guide/basic/publish-your-project.md +4 -4
  159. package/docs/zh/guide/basic/test-your-project.mdx +18 -5
  160. package/docs/zh/guide/basic/use-micro-generator.md +61 -1
  161. package/docs/zh/guide/basic/using-storybook.mdx +13 -10
  162. package/docs/zh/guide/intro/getting-started.md +17 -11
  163. package/package.json +3 -3
  164. package/doc_build/api/config/build-config.html +0 -332
  165. package/doc_build/api/config/build-preset.html +0 -43
  166. package/doc_build/api/config/design-system.html +0 -103
  167. package/doc_build/api/config/plugins.html +0 -7
  168. package/doc_build/api/config/testing.html +0 -21
  169. package/doc_build/api/index.html +0 -1
  170. package/doc_build/api/plugin-api/plugin-hooks.html +0 -113
  171. package/doc_build/en/api/config/build-config.html +0 -316
  172. package/doc_build/en/api/config/build-preset.html +0 -43
  173. package/doc_build/en/api/config/design-system.html +0 -117
  174. package/doc_build/en/api/config/plugins.html +0 -7
  175. package/doc_build/en/api/config/testing.html +0 -21
  176. package/doc_build/en/api/index.html +0 -1
  177. package/doc_build/en/api/plugin-api/plugin-hooks.html +0 -113
  178. package/doc_build/en/guide/advance/asset.html +0 -25
  179. package/doc_build/en/guide/advance/build-umd.html +0 -32
  180. package/doc_build/en/guide/advance/copy.html +0 -42
  181. package/doc_build/en/guide/advance/external-dependency.html +0 -31
  182. package/doc_build/en/guide/advance/in-depth-about-build.html +0 -112
  183. package/doc_build/en/guide/advance/in-depth-about-dev-command.html +0 -12
  184. package/doc_build/en/guide/advance/theme-config.html +0 -29
  185. package/doc_build/en/guide/basic/before-getting-started.html +0 -89
  186. package/doc_build/en/guide/basic/command-preview.html +0 -63
  187. package/doc_build/en/guide/basic/modify-output-product.html +0 -98
  188. package/doc_build/en/guide/basic/publish-your-project.html +0 -50
  189. package/doc_build/en/guide/basic/test-your-project.html +0 -31
  190. package/doc_build/en/guide/basic/use-micro-generator.html +0 -29
  191. package/doc_build/en/guide/basic/using-storybook.html +0 -66
  192. package/doc_build/en/guide/best-practices/components.html +0 -111
  193. package/doc_build/en/guide/intro/getting-started.html +0 -36
  194. package/doc_build/en/guide/intro/welcome.html +0 -13
  195. package/doc_build/en/guide/intro/why-module-engineering-solution.html +0 -9
  196. package/doc_build/en/index.html +0 -1
  197. package/doc_build/en/plugins/guide/getting-started.html +0 -15
  198. package/doc_build/en/plugins/guide/plugin-object.html +0 -14
  199. package/doc_build/en/plugins/guide/setup-function.html +0 -30
  200. package/doc_build/en/plugins/official-list/overview.html +0 -3
  201. package/doc_build/guide/advance/asset.html +0 -25
  202. package/doc_build/guide/advance/build-umd.html +0 -32
  203. package/doc_build/guide/advance/copy.html +0 -42
  204. package/doc_build/guide/advance/external-dependency.html +0 -31
  205. package/doc_build/guide/advance/in-depth-about-build.html +0 -112
  206. package/doc_build/guide/advance/in-depth-about-dev-command.html +0 -14
  207. package/doc_build/guide/advance/theme-config.html +0 -28
  208. package/doc_build/guide/basic/before-getting-started.html +0 -89
  209. package/doc_build/guide/basic/command-preview.html +0 -63
  210. package/doc_build/guide/basic/modify-output-product.html +0 -97
  211. package/doc_build/guide/basic/publish-your-project.html +0 -52
  212. package/doc_build/guide/basic/test-your-project.html +0 -32
  213. package/doc_build/guide/basic/use-micro-generator.html +0 -27
  214. package/doc_build/guide/basic/using-storybook.html +0 -67
  215. package/doc_build/guide/best-practices/components.html +0 -111
  216. package/doc_build/guide/intro/getting-started.html +0 -39
  217. package/doc_build/guide/intro/welcome.html +0 -13
  218. package/doc_build/guide/intro/why-module-engineering-solution.html +0 -9
  219. package/doc_build/index.html +0 -1
  220. package/doc_build/plugins/guide/getting-started.html +0 -15
  221. package/doc_build/plugins/guide/plugin-object.html +0 -14
  222. package/doc_build/plugins/guide/setup-function.html +0 -30
  223. package/doc_build/plugins/official-list/overview.html +0 -3
  224. package/doc_build/static/css/main.edaad072.css +0 -1
  225. package/doc_build/static/js/1607.70af642a.js +0 -2
  226. package/doc_build/static/js/1607.70af642a.js.LICENSE.txt +0 -23
  227. package/doc_build/static/js/async/3799.e31e8293.js +0 -1
  228. package/doc_build/static/js/async/8652.6fbf1cb7.js +0 -1
  229. package/doc_build/static/js/async/en_api_config_build-config.367a5701.js +0 -1
  230. package/doc_build/static/js/async/en_api_config_build-preset.0d78b268.js +0 -1
  231. package/doc_build/static/js/async/en_api_config_design-system.b28d6723.js +0 -1
  232. package/doc_build/static/js/async/en_api_config_plugins.fc95fb77.js +0 -1
  233. package/doc_build/static/js/async/en_api_config_testing.8bc7f316.js +0 -1
  234. package/doc_build/static/js/async/en_api_index.669f0a56.js +0 -1
  235. package/doc_build/static/js/async/en_api_plugin-api_plugin-hooks.60d0260c.js +0 -1
  236. package/doc_build/static/js/async/en_guide_advance_asset.5ff1d623.js +0 -1
  237. package/doc_build/static/js/async/en_guide_advance_build-umd.c254ed46.js +0 -1
  238. package/doc_build/static/js/async/en_guide_advance_copy.45c0a51d.js +0 -1
  239. package/doc_build/static/js/async/en_guide_advance_external-dependency.a52d3247.js +0 -1
  240. package/doc_build/static/js/async/en_guide_advance_in-depth-about-build.51bf3569.js +0 -1
  241. package/doc_build/static/js/async/en_guide_advance_in-depth-about-dev-command.aec0b4e1.js +0 -1
  242. package/doc_build/static/js/async/en_guide_advance_theme-config.db0ad9fc.js +0 -1
  243. package/doc_build/static/js/async/en_guide_basic_before-getting-started.a22fc49a.js +0 -1
  244. package/doc_build/static/js/async/en_guide_basic_command-preview.1707ed29.js +0 -1
  245. package/doc_build/static/js/async/en_guide_basic_modify-output-product.ad453d13.js +0 -1
  246. package/doc_build/static/js/async/en_guide_basic_publish-your-project.08c5112f.js +0 -1
  247. package/doc_build/static/js/async/en_guide_basic_test-your-project.f5f6b204.js +0 -1
  248. package/doc_build/static/js/async/en_guide_basic_use-micro-generator.56325139.js +0 -1
  249. package/doc_build/static/js/async/en_guide_basic_using-storybook.9d721554.js +0 -1
  250. package/doc_build/static/js/async/en_guide_best-practices_components.45155af9.js +0 -1
  251. package/doc_build/static/js/async/en_guide_intro_getting-started.f8682be3.js +0 -1
  252. package/doc_build/static/js/async/en_guide_intro_welcome.9cc45924.js +0 -1
  253. package/doc_build/static/js/async/en_guide_intro_why-module-engineering-solution.7f2dae5c.js +0 -1
  254. package/doc_build/static/js/async/en_index.7bd869c4.js +0 -1
  255. package/doc_build/static/js/async/en_plugins_guide_getting-started.b850249c.js +0 -1
  256. package/doc_build/static/js/async/en_plugins_guide_plugin-object.bf6c6221.js +0 -1
  257. package/doc_build/static/js/async/en_plugins_guide_setup-function.80a2bd97.js +0 -1
  258. package/doc_build/static/js/async/en_plugins_official-list_overview.84e5cea0.js +0 -1
  259. package/doc_build/static/js/async/zh_api_config_build-config.048fd5ec.js +0 -1
  260. package/doc_build/static/js/async/zh_api_config_build-preset.7c13584d.js +0 -1
  261. package/doc_build/static/js/async/zh_api_config_design-system.1eecd474.js +0 -1
  262. package/doc_build/static/js/async/zh_api_config_plugins.c22dc4be.js +0 -1
  263. package/doc_build/static/js/async/zh_api_config_testing.a9888eed.js +0 -1
  264. package/doc_build/static/js/async/zh_api_index.22957707.js +0 -1
  265. package/doc_build/static/js/async/zh_api_plugin-api_plugin-hooks.a4d81bf6.js +0 -1
  266. package/doc_build/static/js/async/zh_guide_advance_asset.5b936003.js +0 -1
  267. package/doc_build/static/js/async/zh_guide_advance_build-umd.b6d541ff.js +0 -1
  268. package/doc_build/static/js/async/zh_guide_advance_copy.21a1aea4.js +0 -1
  269. package/doc_build/static/js/async/zh_guide_advance_external-dependency.c7cf5d4b.js +0 -1
  270. package/doc_build/static/js/async/zh_guide_advance_in-depth-about-build.64e795f3.js +0 -1
  271. package/doc_build/static/js/async/zh_guide_advance_in-depth-about-dev-command.168ce7dd.js +0 -1
  272. package/doc_build/static/js/async/zh_guide_advance_theme-config.b9570109.js +0 -1
  273. package/doc_build/static/js/async/zh_guide_basic_before-getting-started.6b06b54a.js +0 -1
  274. package/doc_build/static/js/async/zh_guide_basic_command-preview.1199124a.js +0 -1
  275. package/doc_build/static/js/async/zh_guide_basic_modify-output-product.8ccbc8d1.js +0 -1
  276. package/doc_build/static/js/async/zh_guide_basic_publish-your-project.bf11b1c4.js +0 -1
  277. package/doc_build/static/js/async/zh_guide_basic_test-your-project.ae52c47a.js +0 -1
  278. package/doc_build/static/js/async/zh_guide_basic_use-micro-generator.a091d57d.js +0 -1
  279. package/doc_build/static/js/async/zh_guide_basic_using-storybook.27829e44.js +0 -1
  280. package/doc_build/static/js/async/zh_guide_best-practices_components.7454d916.js +0 -1
  281. package/doc_build/static/js/async/zh_guide_intro_getting-started.a4c00d9a.js +0 -1
  282. package/doc_build/static/js/async/zh_guide_intro_welcome.71c3fe16.js +0 -1
  283. package/doc_build/static/js/async/zh_guide_intro_why-module-engineering-solution.6f8b5ff6.js +0 -1
  284. package/doc_build/static/js/async/zh_index.c19f9dcf.js +0 -1
  285. package/doc_build/static/js/async/zh_plugins_guide_getting-started.099dfaea.js +0 -1
  286. package/doc_build/static/js/async/zh_plugins_guide_plugin-object.963289d5.js +0 -1
  287. package/doc_build/static/js/async/zh_plugins_guide_setup-function.67d07b91.js +0 -1
  288. package/doc_build/static/js/async/zh_plugins_official-list_overview.a7635714.js +0 -1
  289. package/doc_build/static/js/lib-lodash.c5845536.js +0 -1
  290. package/doc_build/static/js/lib-polyfill.b3038509.js +0 -1
  291. package/doc_build/static/js/lib-react.d41ace5e.js +0 -2
  292. package/doc_build/static/js/lib-react.d41ace5e.js.LICENSE.txt +0 -29
  293. package/doc_build/static/js/main.2d3257a4.js +0 -1
@@ -0,0 +1,3887 @@
1
+ "use strict";
2
+ (self["webpackChunk_modern_js_module_tools_docs"] = self["webpackChunk_modern_js_module_tools_docs"] || []).push([["en_guide_basic_test-your-project"],{
3
+
4
+ /***/ "./docs/en/guide/basic/test-your-project.mdx":
5
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
6
+
7
+ __webpack_require__.r(__webpack_exports__);
8
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
9
+ /* harmony export */ "CH": function() { return /* binding */ CH; },
10
+ /* harmony export */ "chCodeConfig": function() { return /* binding */ chCodeConfig; },
11
+ /* harmony export */ "content": function() { return /* binding */ content; },
12
+ /* harmony export */ "frontmatter": function() { return /* binding */ frontmatter; },
13
+ /* harmony export */ "title": function() { return /* binding */ title; },
14
+ /* harmony export */ "toc": function() { return /* binding */ toc; }
15
+ /* harmony export */ });
16
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js");
17
+ /* harmony import */ var _code_hike_mdx_dist_components_cjs_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../node_modules/.pnpm/@code-hike+mdx@0.7.4_react@18.2.0/node_modules/@code-hike/mdx/dist/components.esm.mjs");
18
+ /*@jsxRuntime automatic @jsxImportSource react*/
19
+ /*链接待补充*/
20
+
21
+
22
+ const CH = {
23
+ annotations: _code_hike_mdx_dist_components_cjs_js__WEBPACK_IMPORTED_MODULE_1__.annotations,
24
+ Code: _code_hike_mdx_dist_components_cjs_js__WEBPACK_IMPORTED_MODULE_1__.Code,
25
+ Spotlight: _code_hike_mdx_dist_components_cjs_js__WEBPACK_IMPORTED_MODULE_1__.Spotlight,
26
+ CodeSlot: _code_hike_mdx_dist_components_cjs_js__WEBPACK_IMPORTED_MODULE_1__.CodeSlot
27
+ };
28
+ const chCodeConfig = {
29
+ "staticMediaQuery": "not screen, (max-width: 768px)",
30
+ "theme": {
31
+ "name": "nord",
32
+ "type": "dark",
33
+ "semanticHighlighting": true,
34
+ "colors": {
35
+ "focusBorder": "#3b4252",
36
+ "foreground": "#d8dee9",
37
+ "activityBar.background": "#2e3440",
38
+ "activityBar.dropBackground": "#3b4252",
39
+ "activityBar.foreground": "#d8dee9",
40
+ "activityBar.activeBorder": "#88c0d0",
41
+ "activityBar.activeBackground": "#3b4252",
42
+ "activityBarBadge.background": "#88c0d0",
43
+ "activityBarBadge.foreground": "#2e3440",
44
+ "badge.foreground": "#2e3440",
45
+ "badge.background": "#88c0d0",
46
+ "button.background": "#88c0d0ee",
47
+ "button.foreground": "#2e3440",
48
+ "button.hoverBackground": "#88c0d0",
49
+ "button.secondaryBackground": "#434c5e",
50
+ "button.secondaryForeground": "#d8dee9",
51
+ "button.secondaryHoverBackground": "#4c566a",
52
+ "charts.red": "#bf616a",
53
+ "charts.blue": "#81a1c1",
54
+ "charts.yellow": "#ebcb8b",
55
+ "charts.orange": "#d08770",
56
+ "charts.green": "#a3be8c",
57
+ "charts.purple": "#b48ead",
58
+ "charts.foreground": "#d8dee9",
59
+ "charts.lines": "#88c0d0",
60
+ "debugConsole.infoForeground": "#88c0d0",
61
+ "debugConsole.warningForeground": "#ebcb8b",
62
+ "debugConsole.errorForeground": "#bf616a",
63
+ "debugConsole.sourceForeground": "#616e88",
64
+ "debugConsoleInputIcon.foreground": "#81a1c1",
65
+ "debugExceptionWidget.background": "#4c566a",
66
+ "debugExceptionWidget.border": "#2e3440",
67
+ "debugToolBar.background": "#3b4252",
68
+ "descriptionForeground": "#d8dee9e6",
69
+ "diffEditor.insertedTextBackground": "#81a1c133",
70
+ "diffEditor.removedTextBackground": "#bf616a4d",
71
+ "dropdown.background": "#3b4252",
72
+ "dropdown.border": "#3b4252",
73
+ "dropdown.foreground": "#d8dee9",
74
+ "editorActiveLineNumber.foreground": "#d8dee9cc",
75
+ "editorCursor.foreground": "#d8dee9",
76
+ "editorHint.border": "#ebcb8b00",
77
+ "editorHint.foreground": "#ebcb8b",
78
+ "editorIndentGuide.background": "#434c5eb3",
79
+ "editorIndentGuide.activeBackground": "#4c566a",
80
+ "editorInlayHint.background": "#434c5e",
81
+ "editorInlayHint.foreground": "#d8dee9",
82
+ "editorLineNumber.foreground": "#4c566a",
83
+ "editorLineNumber.activeForeground": "#d8dee9",
84
+ "editorWhitespace.foreground": "#4c566ab3",
85
+ "editorWidget.background": "#2e3440",
86
+ "editorWidget.border": "#3b4252",
87
+ "editor.background": "#2e3440",
88
+ "editor.foreground": "#d8dee9",
89
+ "editor.hoverHighlightBackground": "#3b4252",
90
+ "editor.findMatchBackground": "#88c0d066",
91
+ "editor.findMatchHighlightBackground": "#88c0d033",
92
+ "editor.findRangeHighlightBackground": "#88c0d033",
93
+ "editor.lineHighlightBackground": "#3b4252",
94
+ "editor.lineHighlightBorder": "#3b4252",
95
+ "editor.inactiveSelectionBackground": "#434c5ecc",
96
+ "editor.inlineValuesBackground": "#4c566a",
97
+ "editor.inlineValuesForeground": "#eceff4",
98
+ "editor.selectionBackground": "#434c5ecc",
99
+ "editor.selectionHighlightBackground": "#434c5ecc",
100
+ "editor.rangeHighlightBackground": "#434c5e52",
101
+ "editor.wordHighlightBackground": "#81a1c166",
102
+ "editor.wordHighlightStrongBackground": "#81a1c199",
103
+ "editor.stackFrameHighlightBackground": "#5e81ac",
104
+ "editor.focusedStackFrameHighlightBackground": "#5e81ac",
105
+ "editorError.foreground": "#bf616a",
106
+ "editorError.border": "#bf616a00",
107
+ "editorWarning.foreground": "#ebcb8b",
108
+ "editorWarning.border": "#ebcb8b00",
109
+ "editorBracketMatch.background": "#2e344000",
110
+ "editorBracketMatch.border": "#88c0d0",
111
+ "editorBracketHighlight.foreground1": "#8fbcbb",
112
+ "editorBracketHighlight.foreground2": "#88c0d0",
113
+ "editorBracketHighlight.foreground3": "#81a1c1",
114
+ "editorBracketHighlight.foreground4": "#5e81ac",
115
+ "editorBracketHighlight.foreground5": "#8fbcbb",
116
+ "editorBracketHighlight.foreground6": "#88c0d0",
117
+ "editorBracketHighlight.unexpectedBracket.foreground": "#bf616a",
118
+ "editorCodeLens.foreground": "#4c566a",
119
+ "editorGroup.background": "#2e3440",
120
+ "editorGroup.border": "#3b425201",
121
+ "editorGroup.dropBackground": "#3b425299",
122
+ "editorGroupHeader.border": "#3b425200",
123
+ "editorGroupHeader.noTabsBackground": "#2e3440",
124
+ "editorGroupHeader.tabsBackground": "#2e3440",
125
+ "editorGroupHeader.tabsBorder": "#3b425200",
126
+ "editorGutter.background": "#2e3440",
127
+ "editorGutter.modifiedBackground": "#ebcb8b",
128
+ "editorGutter.addedBackground": "#a3be8c",
129
+ "editorGutter.deletedBackground": "#bf616a",
130
+ "editorHoverWidget.background": "#3b4252",
131
+ "editorHoverWidget.border": "#3b4252",
132
+ "editorLink.activeForeground": "#88c0d0",
133
+ "editorMarkerNavigation.background": "#5e81acc0",
134
+ "editorMarkerNavigationError.background": "#bf616ac0",
135
+ "editorMarkerNavigationWarning.background": "#ebcb8bc0",
136
+ "editorOverviewRuler.border": "#3b4252",
137
+ "editorOverviewRuler.currentContentForeground": "#3b4252",
138
+ "editorOverviewRuler.incomingContentForeground": "#3b4252",
139
+ "editorOverviewRuler.findMatchForeground": "#88c0d066",
140
+ "editorOverviewRuler.rangeHighlightForeground": "#88c0d066",
141
+ "editorOverviewRuler.selectionHighlightForeground": "#88c0d066",
142
+ "editorOverviewRuler.wordHighlightForeground": "#88c0d066",
143
+ "editorOverviewRuler.wordHighlightStrongForeground": "#88c0d066",
144
+ "editorOverviewRuler.modifiedForeground": "#ebcb8b",
145
+ "editorOverviewRuler.addedForeground": "#a3be8c",
146
+ "editorOverviewRuler.deletedForeground": "#bf616a",
147
+ "editorOverviewRuler.errorForeground": "#bf616a",
148
+ "editorOverviewRuler.warningForeground": "#ebcb8b",
149
+ "editorOverviewRuler.infoForeground": "#81a1c1",
150
+ "editorRuler.foreground": "#434c5e",
151
+ "editorSuggestWidget.background": "#2e3440",
152
+ "editorSuggestWidget.border": "#3b4252",
153
+ "editorSuggestWidget.foreground": "#d8dee9",
154
+ "editorSuggestWidget.focusHighlightForeground": "#88c0d0",
155
+ "editorSuggestWidget.highlightForeground": "#88c0d0",
156
+ "editorSuggestWidget.selectedBackground": "#434c5e",
157
+ "editorSuggestWidget.selectedForeground": "#d8dee9",
158
+ "extensionButton.prominentForeground": "#d8dee9",
159
+ "extensionButton.prominentBackground": "#434c5e",
160
+ "extensionButton.prominentHoverBackground": "#4c566a",
161
+ "errorForeground": "#bf616a",
162
+ "gitDecoration.modifiedResourceForeground": "#ebcb8b",
163
+ "gitDecoration.deletedResourceForeground": "#bf616a",
164
+ "gitDecoration.untrackedResourceForeground": "#a3be8c",
165
+ "gitDecoration.ignoredResourceForeground": "#d8dee966",
166
+ "gitDecoration.conflictingResourceForeground": "#5e81ac",
167
+ "gitDecoration.submoduleResourceForeground": "#8fbcbb",
168
+ "gitDecoration.stageDeletedResourceForeground": "#bf616a",
169
+ "gitDecoration.stageModifiedResourceForeground": "#ebcb8b",
170
+ "input.background": "#3b4252",
171
+ "input.foreground": "#d8dee9",
172
+ "input.placeholderForeground": "#d8dee999",
173
+ "input.border": "#3b4252",
174
+ "inputOption.activeBackground": "#5e81ac",
175
+ "inputOption.activeBorder": "#5e81ac",
176
+ "inputOption.activeForeground": "#eceff4",
177
+ "inputValidation.errorBackground": "#bf616a",
178
+ "inputValidation.errorBorder": "#bf616a",
179
+ "inputValidation.infoBackground": "#81a1c1",
180
+ "inputValidation.infoBorder": "#81a1c1",
181
+ "inputValidation.warningBackground": "#d08770",
182
+ "inputValidation.warningBorder": "#d08770",
183
+ "keybindingLabel.background": "#4c566a",
184
+ "keybindingLabel.border": "#4c566a",
185
+ "keybindingLabel.bottomBorder": "#4c566a",
186
+ "keybindingLabel.foreground": "#d8dee9",
187
+ "list.activeSelectionBackground": "#88c0d0",
188
+ "list.activeSelectionForeground": "#2e3440",
189
+ "list.inactiveSelectionBackground": "#434c5e",
190
+ "list.inactiveSelectionForeground": "#d8dee9",
191
+ "list.inactiveFocusBackground": "#434c5ecc",
192
+ "list.hoverForeground": "#eceff4",
193
+ "list.focusForeground": "#d8dee9",
194
+ "list.focusBackground": "#88c0d099",
195
+ "list.focusHighlightForeground": "#eceff4",
196
+ "list.hoverBackground": "#3b4252",
197
+ "list.dropBackground": "#88c0d099",
198
+ "list.highlightForeground": "#88c0d0",
199
+ "list.errorForeground": "#bf616a",
200
+ "list.warningForeground": "#ebcb8b",
201
+ "merge.currentHeaderBackground": "#81a1c166",
202
+ "merge.currentContentBackground": "#81a1c14d",
203
+ "merge.incomingHeaderBackground": "#8fbcbb66",
204
+ "merge.incomingContentBackground": "#8fbcbb4d",
205
+ "merge.border": "#3b425200",
206
+ "minimap.background": "#2e3440",
207
+ "minimap.errorHighlight": "#bf616acc",
208
+ "minimap.findMatchHighlight": "#88c0d0",
209
+ "minimap.selectionHighlight": "#88c0d0cc",
210
+ "minimap.warningHighlight": "#ebcb8bcc",
211
+ "minimapGutter.addedBackground": "#a3be8c",
212
+ "minimapGutter.deletedBackground": "#bf616a",
213
+ "minimapGutter.modifiedBackground": "#ebcb8b",
214
+ "minimapSlider.activeBackground": "#434c5eaa",
215
+ "minimapSlider.background": "#434c5e99",
216
+ "minimapSlider.hoverBackground": "#434c5eaa",
217
+ "notification.background": "#3b4252",
218
+ "notification.buttonBackground": "#434c5e",
219
+ "notification.buttonForeground": "#d8dee9",
220
+ "notification.buttonHoverBackground": "#4c566a",
221
+ "notification.errorBackground": "#bf616a",
222
+ "notification.errorForeground": "#2e3440",
223
+ "notification.foreground": "#d8dee9",
224
+ "notification.infoBackground": "#88c0d0",
225
+ "notification.infoForeground": "#2e3440",
226
+ "notification.warningBackground": "#ebcb8b",
227
+ "notification.warningForeground": "#2e3440",
228
+ "notificationCenter.border": "#3b425200",
229
+ "notificationCenterHeader.background": "#2e3440",
230
+ "notificationCenterHeader.foreground": "#88c0d0",
231
+ "notificationLink.foreground": "#88c0d0",
232
+ "notifications.background": "#3b4252",
233
+ "notifications.border": "#2e3440",
234
+ "notifications.foreground": "#d8dee9",
235
+ "notificationToast.border": "#3b425200",
236
+ "panel.background": "#2e3440",
237
+ "panel.border": "#3b4252",
238
+ "panelTitle.activeBorder": "#88c0d000",
239
+ "panelTitle.activeForeground": "#88c0d0",
240
+ "panelTitle.inactiveForeground": "#d8dee9",
241
+ "peekView.border": "#4c566a",
242
+ "peekViewEditor.background": "#2e3440",
243
+ "peekViewEditorGutter.background": "#2e3440",
244
+ "peekViewEditor.matchHighlightBackground": "#88c0d04d",
245
+ "peekViewResult.background": "#2e3440",
246
+ "peekViewResult.fileForeground": "#88c0d0",
247
+ "peekViewResult.lineForeground": "#d8dee966",
248
+ "peekViewResult.matchHighlightBackground": "#88c0d0cc",
249
+ "peekViewResult.selectionBackground": "#434c5e",
250
+ "peekViewResult.selectionForeground": "#d8dee9",
251
+ "peekViewTitle.background": "#3b4252",
252
+ "peekViewTitleDescription.foreground": "#d8dee9",
253
+ "peekViewTitleLabel.foreground": "#88c0d0",
254
+ "pickerGroup.border": "#3b4252",
255
+ "pickerGroup.foreground": "#88c0d0",
256
+ "progressBar.background": "#88c0d0",
257
+ "quickInputList.focusBackground": "#88c0d0",
258
+ "quickInputList.focusForeground": "#2e3440",
259
+ "sash.hoverBorder": "#88c0d0",
260
+ "scrollbar.shadow": "#00000066",
261
+ "scrollbarSlider.activeBackground": "#434c5eaa",
262
+ "scrollbarSlider.background": "#434c5e99",
263
+ "scrollbarSlider.hoverBackground": "#434c5eaa",
264
+ "selection.background": "#88c0d099",
265
+ "sideBar.background": "#2e3440",
266
+ "sideBar.foreground": "#d8dee9",
267
+ "sideBar.border": "#3b4252",
268
+ "sideBarSectionHeader.background": "#3b4252",
269
+ "sideBarSectionHeader.foreground": "#d8dee9",
270
+ "sideBarTitle.foreground": "#d8dee9",
271
+ "statusBar.background": "#3b4252",
272
+ "statusBar.debuggingBackground": "#5e81ac",
273
+ "statusBar.debuggingForeground": "#d8dee9",
274
+ "statusBar.noFolderForeground": "#d8dee9",
275
+ "statusBar.noFolderBackground": "#3b4252",
276
+ "statusBar.foreground": "#d8dee9",
277
+ "statusBarItem.activeBackground": "#4c566a",
278
+ "statusBarItem.hoverBackground": "#434c5e",
279
+ "statusBarItem.prominentBackground": "#3b4252",
280
+ "statusBarItem.prominentHoverBackground": "#434c5e",
281
+ "statusBarItem.errorBackground": "#3b4252",
282
+ "statusBarItem.errorForeground": "#bf616a",
283
+ "statusBarItem.warningBackground": "#ebcb8b",
284
+ "statusBarItem.warningForeground": "#2e3440",
285
+ "statusBar.border": "#3b425200",
286
+ "tab.activeBackground": "#3b4252",
287
+ "tab.activeForeground": "#d8dee9",
288
+ "tab.border": "#3b425200",
289
+ "tab.activeBorder": "#88c0d000",
290
+ "tab.unfocusedActiveBorder": "#88c0d000",
291
+ "tab.inactiveBackground": "#2e3440",
292
+ "tab.inactiveForeground": "#d8dee966",
293
+ "tab.unfocusedActiveForeground": "#d8dee999",
294
+ "tab.unfocusedInactiveForeground": "#d8dee966",
295
+ "tab.hoverBackground": "#3b4252cc",
296
+ "tab.unfocusedHoverBackground": "#3b4252b3",
297
+ "tab.hoverBorder": "#88c0d000",
298
+ "tab.unfocusedHoverBorder": "#88c0d000",
299
+ "tab.activeBorderTop": "#88c0d000",
300
+ "tab.unfocusedActiveBorderTop": "#88c0d000",
301
+ "tab.lastPinnedBorder": "#4c566a",
302
+ "terminal.background": "#2e3440",
303
+ "terminal.foreground": "#d8dee9",
304
+ "terminal.ansiBlack": "#3b4252",
305
+ "terminal.ansiRed": "#bf616a",
306
+ "terminal.ansiGreen": "#a3be8c",
307
+ "terminal.ansiYellow": "#ebcb8b",
308
+ "terminal.ansiBlue": "#81a1c1",
309
+ "terminal.ansiMagenta": "#b48ead",
310
+ "terminal.ansiCyan": "#88c0d0",
311
+ "terminal.ansiWhite": "#e5e9f0",
312
+ "terminal.ansiBrightBlack": "#4c566a",
313
+ "terminal.ansiBrightRed": "#bf616a",
314
+ "terminal.ansiBrightGreen": "#a3be8c",
315
+ "terminal.ansiBrightYellow": "#ebcb8b",
316
+ "terminal.ansiBrightBlue": "#81a1c1",
317
+ "terminal.ansiBrightMagenta": "#b48ead",
318
+ "terminal.ansiBrightCyan": "#8fbcbb",
319
+ "terminal.ansiBrightWhite": "#eceff4",
320
+ "terminal.tab.activeBorder": "#88c0d0",
321
+ "textBlockQuote.background": "#3b4252",
322
+ "textBlockQuote.border": "#81a1c1",
323
+ "textCodeBlock.background": "#4c566a",
324
+ "textLink.activeForeground": "#88c0d0",
325
+ "textLink.foreground": "#88c0d0",
326
+ "textPreformat.foreground": "#8fbcbb",
327
+ "textSeparator.foreground": "#eceff4",
328
+ "titleBar.activeBackground": "#2e3440",
329
+ "titleBar.activeForeground": "#d8dee9",
330
+ "titleBar.border": "#2e344000",
331
+ "titleBar.inactiveBackground": "#2e3440",
332
+ "titleBar.inactiveForeground": "#d8dee966",
333
+ "tree.indentGuidesStroke": "#616e88",
334
+ "walkThrough.embeddedEditorBackground": "#2e3440",
335
+ "welcomePage.buttonBackground": "#434c5e",
336
+ "welcomePage.buttonHoverBackground": "#4c566a",
337
+ "widget.shadow": "#00000066"
338
+ },
339
+ "tokenColors": [{
340
+ "settings": {
341
+ "foreground": "#d8dee9ff",
342
+ "background": "#2e3440ff"
343
+ }
344
+ }, {
345
+ "scope": "emphasis",
346
+ "settings": {
347
+ "fontStyle": "italic"
348
+ }
349
+ }, {
350
+ "scope": "strong",
351
+ "settings": {
352
+ "fontStyle": "bold"
353
+ }
354
+ }, {
355
+ "name": "Comment",
356
+ "scope": "comment",
357
+ "settings": {
358
+ "foreground": "#616E88"
359
+ }
360
+ }, {
361
+ "name": "Constant Character",
362
+ "scope": "constant.character",
363
+ "settings": {
364
+ "foreground": "#EBCB8B"
365
+ }
366
+ }, {
367
+ "name": "Constant Character Escape",
368
+ "scope": "constant.character.escape",
369
+ "settings": {
370
+ "foreground": "#EBCB8B"
371
+ }
372
+ }, {
373
+ "name": "Constant Language",
374
+ "scope": "constant.language",
375
+ "settings": {
376
+ "foreground": "#81A1C1"
377
+ }
378
+ }, {
379
+ "name": "Constant Numeric",
380
+ "scope": "constant.numeric",
381
+ "settings": {
382
+ "foreground": "#B48EAD"
383
+ }
384
+ }, {
385
+ "name": "Constant Regexp",
386
+ "scope": "constant.regexp",
387
+ "settings": {
388
+ "foreground": "#EBCB8B"
389
+ }
390
+ }, {
391
+ "name": "Entity Name Class/Type",
392
+ "scope": ["entity.name.class", "entity.name.type.class"],
393
+ "settings": {
394
+ "foreground": "#8FBCBB"
395
+ }
396
+ }, {
397
+ "name": "Entity Name Function",
398
+ "scope": "entity.name.function",
399
+ "settings": {
400
+ "foreground": "#88C0D0"
401
+ }
402
+ }, {
403
+ "name": "Entity Name Tag",
404
+ "scope": "entity.name.tag",
405
+ "settings": {
406
+ "foreground": "#81A1C1"
407
+ }
408
+ }, {
409
+ "name": "Entity Other Attribute Name",
410
+ "scope": "entity.other.attribute-name",
411
+ "settings": {
412
+ "foreground": "#8FBCBB"
413
+ }
414
+ }, {
415
+ "name": "Entity Other Inherited Class",
416
+ "scope": "entity.other.inherited-class",
417
+ "settings": {
418
+ "fontStyle": "bold",
419
+ "foreground": "#8FBCBB"
420
+ }
421
+ }, {
422
+ "name": "Invalid Deprecated",
423
+ "scope": "invalid.deprecated",
424
+ "settings": {
425
+ "foreground": "#D8DEE9",
426
+ "background": "#EBCB8B"
427
+ }
428
+ }, {
429
+ "name": "Invalid Illegal",
430
+ "scope": "invalid.illegal",
431
+ "settings": {
432
+ "foreground": "#D8DEE9",
433
+ "background": "#BF616A"
434
+ }
435
+ }, {
436
+ "name": "Keyword",
437
+ "scope": "keyword",
438
+ "settings": {
439
+ "foreground": "#81A1C1"
440
+ }
441
+ }, {
442
+ "name": "Keyword Operator",
443
+ "scope": "keyword.operator",
444
+ "settings": {
445
+ "foreground": "#81A1C1"
446
+ }
447
+ }, {
448
+ "name": "Keyword Other New",
449
+ "scope": "keyword.other.new",
450
+ "settings": {
451
+ "foreground": "#81A1C1"
452
+ }
453
+ }, {
454
+ "name": "Markup Bold",
455
+ "scope": "markup.bold",
456
+ "settings": {
457
+ "fontStyle": "bold"
458
+ }
459
+ }, {
460
+ "name": "Markup Changed",
461
+ "scope": "markup.changed",
462
+ "settings": {
463
+ "foreground": "#EBCB8B"
464
+ }
465
+ }, {
466
+ "name": "Markup Deleted",
467
+ "scope": "markup.deleted",
468
+ "settings": {
469
+ "foreground": "#BF616A"
470
+ }
471
+ }, {
472
+ "name": "Markup Inserted",
473
+ "scope": "markup.inserted",
474
+ "settings": {
475
+ "foreground": "#A3BE8C"
476
+ }
477
+ }, {
478
+ "name": "Meta Preprocessor",
479
+ "scope": "meta.preprocessor",
480
+ "settings": {
481
+ "foreground": "#5E81AC"
482
+ }
483
+ }, {
484
+ "name": "Punctuation",
485
+ "scope": "punctuation",
486
+ "settings": {
487
+ "foreground": "#ECEFF4"
488
+ }
489
+ }, {
490
+ "name": "Punctuation Definition Parameters",
491
+ "scope": ["punctuation.definition.method-parameters", "punctuation.definition.function-parameters", "punctuation.definition.parameters"],
492
+ "settings": {
493
+ "foreground": "#ECEFF4"
494
+ }
495
+ }, {
496
+ "name": "Punctuation Definition Tag",
497
+ "scope": "punctuation.definition.tag",
498
+ "settings": {
499
+ "foreground": "#81A1C1"
500
+ }
501
+ }, {
502
+ "name": "Punctuation Definition Comment",
503
+ "scope": ["punctuation.definition.comment", "punctuation.end.definition.comment", "punctuation.start.definition.comment"],
504
+ "settings": {
505
+ "foreground": "#616E88"
506
+ }
507
+ }, {
508
+ "name": "Punctuation Section",
509
+ "scope": "punctuation.section",
510
+ "settings": {
511
+ "foreground": "#ECEFF4"
512
+ }
513
+ }, {
514
+ "name": "Punctuation Section Embedded",
515
+ "scope": ["punctuation.section.embedded.begin", "punctuation.section.embedded.end"],
516
+ "settings": {
517
+ "foreground": "#81A1C1"
518
+ }
519
+ }, {
520
+ "name": "Punctuation Terminator",
521
+ "scope": "punctuation.terminator",
522
+ "settings": {
523
+ "foreground": "#81A1C1"
524
+ }
525
+ }, {
526
+ "name": "Punctuation Variable",
527
+ "scope": "punctuation.definition.variable",
528
+ "settings": {
529
+ "foreground": "#81A1C1"
530
+ }
531
+ }, {
532
+ "name": "Storage",
533
+ "scope": "storage",
534
+ "settings": {
535
+ "foreground": "#81A1C1"
536
+ }
537
+ }, {
538
+ "name": "String",
539
+ "scope": "string",
540
+ "settings": {
541
+ "foreground": "#A3BE8C"
542
+ }
543
+ }, {
544
+ "name": "String Regexp",
545
+ "scope": "string.regexp",
546
+ "settings": {
547
+ "foreground": "#EBCB8B"
548
+ }
549
+ }, {
550
+ "name": "Support Class",
551
+ "scope": "support.class",
552
+ "settings": {
553
+ "foreground": "#8FBCBB"
554
+ }
555
+ }, {
556
+ "name": "Support Constant",
557
+ "scope": "support.constant",
558
+ "settings": {
559
+ "foreground": "#81A1C1"
560
+ }
561
+ }, {
562
+ "name": "Support Function",
563
+ "scope": "support.function",
564
+ "settings": {
565
+ "foreground": "#88C0D0"
566
+ }
567
+ }, {
568
+ "name": "Support Function Construct",
569
+ "scope": "support.function.construct",
570
+ "settings": {
571
+ "foreground": "#81A1C1"
572
+ }
573
+ }, {
574
+ "name": "Support Type",
575
+ "scope": "support.type",
576
+ "settings": {
577
+ "foreground": "#8FBCBB"
578
+ }
579
+ }, {
580
+ "name": "Support Type Exception",
581
+ "scope": "support.type.exception",
582
+ "settings": {
583
+ "foreground": "#8FBCBB"
584
+ }
585
+ }, {
586
+ "name": "Token Debug",
587
+ "scope": "token.debug-token",
588
+ "settings": {
589
+ "foreground": "#b48ead"
590
+ }
591
+ }, {
592
+ "name": "Token Error",
593
+ "scope": "token.error-token",
594
+ "settings": {
595
+ "foreground": "#bf616a"
596
+ }
597
+ }, {
598
+ "name": "Token Info",
599
+ "scope": "token.info-token",
600
+ "settings": {
601
+ "foreground": "#88c0d0"
602
+ }
603
+ }, {
604
+ "name": "Token Warning",
605
+ "scope": "token.warn-token",
606
+ "settings": {
607
+ "foreground": "#ebcb8b"
608
+ }
609
+ }, {
610
+ "name": "Variable",
611
+ "scope": "variable.other",
612
+ "settings": {
613
+ "foreground": "#D8DEE9"
614
+ }
615
+ }, {
616
+ "name": "Variable Language",
617
+ "scope": "variable.language",
618
+ "settings": {
619
+ "foreground": "#81A1C1"
620
+ }
621
+ }, {
622
+ "name": "Variable Parameter",
623
+ "scope": "variable.parameter",
624
+ "settings": {
625
+ "foreground": "#D8DEE9"
626
+ }
627
+ }, {
628
+ "name": "[C/CPP] Punctuation Separator Pointer-Access",
629
+ "scope": "punctuation.separator.pointer-access.c",
630
+ "settings": {
631
+ "foreground": "#81A1C1"
632
+ }
633
+ }, {
634
+ "name": "[C/CPP] Meta Preprocessor Include",
635
+ "scope": ["source.c meta.preprocessor.include", "source.c string.quoted.other.lt-gt.include"],
636
+ "settings": {
637
+ "foreground": "#8FBCBB"
638
+ }
639
+ }, {
640
+ "name": "[C/CPP] Conditional Directive",
641
+ "scope": ["source.cpp keyword.control.directive.conditional", "source.cpp punctuation.definition.directive", "source.c keyword.control.directive.conditional", "source.c punctuation.definition.directive"],
642
+ "settings": {
643
+ "foreground": "#5E81AC",
644
+ "fontStyle": "bold"
645
+ }
646
+ }, {
647
+ "name": "[CSS] Constant Other Color RGB Value",
648
+ "scope": "source.css constant.other.color.rgb-value",
649
+ "settings": {
650
+ "foreground": "#B48EAD"
651
+ }
652
+ }, {
653
+ "name": "[CSS](Function) Meta Property-Value",
654
+ "scope": "source.css meta.property-value",
655
+ "settings": {
656
+ "foreground": "#88C0D0"
657
+ }
658
+ }, {
659
+ "name": "[CSS] Media Queries",
660
+ "scope": ["source.css keyword.control.at-rule.media", "source.css keyword.control.at-rule.media punctuation.definition.keyword"],
661
+ "settings": {
662
+ "foreground": "#D08770"
663
+ }
664
+ }, {
665
+ "name": "[CSS] Punctuation Definition Keyword",
666
+ "scope": "source.css punctuation.definition.keyword",
667
+ "settings": {
668
+ "foreground": "#81A1C1"
669
+ }
670
+ }, {
671
+ "name": "[CSS] Support Type Property Name",
672
+ "scope": "source.css support.type.property-name",
673
+ "settings": {
674
+ "foreground": "#D8DEE9"
675
+ }
676
+ }, {
677
+ "name": "[diff] Meta Range Context",
678
+ "scope": "source.diff meta.diff.range.context",
679
+ "settings": {
680
+ "foreground": "#8FBCBB"
681
+ }
682
+ }, {
683
+ "name": "[diff] Meta Header From-File",
684
+ "scope": "source.diff meta.diff.header.from-file",
685
+ "settings": {
686
+ "foreground": "#8FBCBB"
687
+ }
688
+ }, {
689
+ "name": "[diff] Punctuation Definition From-File",
690
+ "scope": "source.diff punctuation.definition.from-file",
691
+ "settings": {
692
+ "foreground": "#8FBCBB"
693
+ }
694
+ }, {
695
+ "name": "[diff] Punctuation Definition Range",
696
+ "scope": "source.diff punctuation.definition.range",
697
+ "settings": {
698
+ "foreground": "#8FBCBB"
699
+ }
700
+ }, {
701
+ "name": "[diff] Punctuation Definition Separator",
702
+ "scope": "source.diff punctuation.definition.separator",
703
+ "settings": {
704
+ "foreground": "#81A1C1"
705
+ }
706
+ }, {
707
+ "name": "[Elixir](JakeBecker.elixir-ls) module names",
708
+ "scope": "entity.name.type.module.elixir",
709
+ "settings": {
710
+ "foreground": "#8FBCBB"
711
+ }
712
+ }, {
713
+ "name": "[Elixir](JakeBecker.elixir-ls) module attributes",
714
+ "scope": "variable.other.readwrite.module.elixir",
715
+ "settings": {
716
+ "foreground": "#D8DEE9",
717
+ "fontStyle": "bold"
718
+ }
719
+ }, {
720
+ "name": "[Elixir](JakeBecker.elixir-ls) atoms",
721
+ "scope": "constant.other.symbol.elixir",
722
+ "settings": {
723
+ "foreground": "#D8DEE9",
724
+ "fontStyle": "bold"
725
+ }
726
+ }, {
727
+ "name": "[Elixir](JakeBecker.elixir-ls) modules",
728
+ "scope": "variable.other.constant.elixir",
729
+ "settings": {
730
+ "foreground": "#8FBCBB"
731
+ }
732
+ }, {
733
+ "name": "[Go] String Format Placeholder",
734
+ "scope": "source.go constant.other.placeholder.go",
735
+ "settings": {
736
+ "foreground": "#EBCB8B"
737
+ }
738
+ }, {
739
+ "name": "[Java](JavaDoc) Comment Block Documentation HTML Entities",
740
+ "scope": "source.java comment.block.documentation.javadoc punctuation.definition.entity.html",
741
+ "settings": {
742
+ "foreground": "#81A1C1"
743
+ }
744
+ }, {
745
+ "name": "[Java](JavaDoc) Constant Other",
746
+ "scope": "source.java constant.other",
747
+ "settings": {
748
+ "foreground": "#D8DEE9"
749
+ }
750
+ }, {
751
+ "name": "[Java](JavaDoc) Keyword Other Documentation",
752
+ "scope": "source.java keyword.other.documentation",
753
+ "settings": {
754
+ "foreground": "#8FBCBB"
755
+ }
756
+ }, {
757
+ "name": "[Java](JavaDoc) Keyword Other Documentation Author",
758
+ "scope": "source.java keyword.other.documentation.author.javadoc",
759
+ "settings": {
760
+ "foreground": "#8FBCBB"
761
+ }
762
+ }, {
763
+ "name": "[Java](JavaDoc) Keyword Other Documentation Directive/Custom",
764
+ "scope": ["source.java keyword.other.documentation.directive", "source.java keyword.other.documentation.custom"],
765
+ "settings": {
766
+ "foreground": "#8FBCBB"
767
+ }
768
+ }, {
769
+ "name": "[Java](JavaDoc) Keyword Other Documentation See",
770
+ "scope": "source.java keyword.other.documentation.see.javadoc",
771
+ "settings": {
772
+ "foreground": "#8FBCBB"
773
+ }
774
+ }, {
775
+ "name": "[Java] Meta Method-Call",
776
+ "scope": "source.java meta.method-call meta.method",
777
+ "settings": {
778
+ "foreground": "#88C0D0"
779
+ }
780
+ }, {
781
+ "name": "[Java](JavaDoc) Meta Tag Template Link",
782
+ "scope": ["source.java meta.tag.template.link.javadoc", "source.java string.other.link.title.javadoc"],
783
+ "settings": {
784
+ "foreground": "#8FBCBB"
785
+ }
786
+ }, {
787
+ "name": "[Java](JavaDoc) Meta Tag Template Value",
788
+ "scope": "source.java meta.tag.template.value.javadoc",
789
+ "settings": {
790
+ "foreground": "#88C0D0"
791
+ }
792
+ }, {
793
+ "name": "[Java](JavaDoc) Punctuation Definition Keyword",
794
+ "scope": "source.java punctuation.definition.keyword.javadoc",
795
+ "settings": {
796
+ "foreground": "#8FBCBB"
797
+ }
798
+ }, {
799
+ "name": "[Java](JavaDoc) Punctuation Definition Tag",
800
+ "scope": ["source.java punctuation.definition.tag.begin.javadoc", "source.java punctuation.definition.tag.end.javadoc"],
801
+ "settings": {
802
+ "foreground": "#616E88"
803
+ }
804
+ }, {
805
+ "name": "[Java] Storage Modifier Import",
806
+ "scope": "source.java storage.modifier.import",
807
+ "settings": {
808
+ "foreground": "#8FBCBB"
809
+ }
810
+ }, {
811
+ "name": "[Java] Storage Modifier Package",
812
+ "scope": "source.java storage.modifier.package",
813
+ "settings": {
814
+ "foreground": "#8FBCBB"
815
+ }
816
+ }, {
817
+ "name": "[Java] Storage Type",
818
+ "scope": "source.java storage.type",
819
+ "settings": {
820
+ "foreground": "#8FBCBB"
821
+ }
822
+ }, {
823
+ "name": "[Java] Storage Type Annotation",
824
+ "scope": "source.java storage.type.annotation",
825
+ "settings": {
826
+ "foreground": "#D08770"
827
+ }
828
+ }, {
829
+ "name": "[Java] Storage Type Generic",
830
+ "scope": "source.java storage.type.generic",
831
+ "settings": {
832
+ "foreground": "#8FBCBB"
833
+ }
834
+ }, {
835
+ "name": "[Java] Storage Type Primitive",
836
+ "scope": "source.java storage.type.primitive",
837
+ "settings": {
838
+ "foreground": "#81A1C1"
839
+ }
840
+ }, {
841
+ "name": "[JavaScript] Decorator",
842
+ "scope": ["source.js punctuation.decorator", "source.js meta.decorator variable.other.readwrite", "source.js meta.decorator entity.name.function"],
843
+ "settings": {
844
+ "foreground": "#D08770"
845
+ }
846
+ }, {
847
+ "name": "[JavaScript] Meta Object-Literal Key",
848
+ "scope": "source.js meta.object-literal.key",
849
+ "settings": {
850
+ "foreground": "#88C0D0"
851
+ }
852
+ }, {
853
+ "name": "[JavaScript](JSDoc) Storage Type Class",
854
+ "scope": "source.js storage.type.class.jsdoc",
855
+ "settings": {
856
+ "foreground": "#8FBCBB"
857
+ }
858
+ }, {
859
+ "name": "[JavaScript] String Template Literals Punctuation",
860
+ "scope": ["source.js string.quoted.template punctuation.quasi.element.begin", "source.js string.quoted.template punctuation.quasi.element.end", "source.js string.template punctuation.definition.template-expression"],
861
+ "settings": {
862
+ "foreground": "#81A1C1"
863
+ }
864
+ }, {
865
+ "name": "[JavaScript] Interpolated String Template Punctuation Functions",
866
+ "scope": "source.js string.quoted.template meta.method-call.with-arguments",
867
+ "settings": {
868
+ "foreground": "#ECEFF4"
869
+ }
870
+ }, {
871
+ "name": "[JavaScript] String Template Literal Variable",
872
+ "scope": ["source.js string.template meta.template.expression support.variable.property", "source.js string.template meta.template.expression variable.other.object"],
873
+ "settings": {
874
+ "foreground": "#D8DEE9"
875
+ }
876
+ }, {
877
+ "name": "[JavaScript] Support Type Primitive",
878
+ "scope": "source.js support.type.primitive",
879
+ "settings": {
880
+ "foreground": "#81A1C1"
881
+ }
882
+ }, {
883
+ "name": "[JavaScript] Variable Other Object",
884
+ "scope": "source.js variable.other.object",
885
+ "settings": {
886
+ "foreground": "#D8DEE9"
887
+ }
888
+ }, {
889
+ "name": "[JavaScript] Variable Other Read-Write Alias",
890
+ "scope": "source.js variable.other.readwrite.alias",
891
+ "settings": {
892
+ "foreground": "#8FBCBB"
893
+ }
894
+ }, {
895
+ "name": "[JavaScript] Parentheses in Template Strings",
896
+ "scope": ["source.js meta.embedded.line meta.brace.square", "source.js meta.embedded.line meta.brace.round", "source.js string.quoted.template meta.brace.square", "source.js string.quoted.template meta.brace.round"],
897
+ "settings": {
898
+ "foreground": "#ECEFF4"
899
+ }
900
+ }, {
901
+ "name": "[HTML] Constant Character Entity",
902
+ "scope": "text.html.basic constant.character.entity.html",
903
+ "settings": {
904
+ "foreground": "#EBCB8B"
905
+ }
906
+ }, {
907
+ "name": "[HTML] Constant Other Inline-Data",
908
+ "scope": "text.html.basic constant.other.inline-data",
909
+ "settings": {
910
+ "foreground": "#D08770",
911
+ "fontStyle": "italic"
912
+ }
913
+ }, {
914
+ "name": "[HTML] Meta Tag SGML Doctype",
915
+ "scope": "text.html.basic meta.tag.sgml.doctype",
916
+ "settings": {
917
+ "foreground": "#5E81AC"
918
+ }
919
+ }, {
920
+ "name": "[HTML] Punctuation Definition Entity",
921
+ "scope": "text.html.basic punctuation.definition.entity",
922
+ "settings": {
923
+ "foreground": "#81A1C1"
924
+ }
925
+ }, {
926
+ "name": "[INI] Entity Name Section Group-Title",
927
+ "scope": "source.properties entity.name.section.group-title.ini",
928
+ "settings": {
929
+ "foreground": "#88C0D0"
930
+ }
931
+ }, {
932
+ "name": "[INI] Punctuation Separator Key-Value",
933
+ "scope": "source.properties punctuation.separator.key-value.ini",
934
+ "settings": {
935
+ "foreground": "#81A1C1"
936
+ }
937
+ }, {
938
+ "name": "[Markdown] Markup Fenced Code Block",
939
+ "scope": ["text.html.markdown markup.fenced_code.block", "text.html.markdown markup.fenced_code.block punctuation.definition"],
940
+ "settings": {
941
+ "foreground": "#8FBCBB"
942
+ }
943
+ }, {
944
+ "name": "[Markdown] Markup Heading",
945
+ "scope": "markup.heading",
946
+ "settings": {
947
+ "foreground": "#88C0D0"
948
+ }
949
+ }, {
950
+ "name": "[Markdown] Markup Inline",
951
+ "scope": ["text.html.markdown markup.inline.raw", "text.html.markdown markup.inline.raw punctuation.definition.raw"],
952
+ "settings": {
953
+ "foreground": "#8FBCBB"
954
+ }
955
+ }, {
956
+ "name": "[Markdown] Markup Italic",
957
+ "scope": "text.html.markdown markup.italic",
958
+ "settings": {
959
+ "fontStyle": "italic"
960
+ }
961
+ }, {
962
+ "name": "[Markdown] Markup Link",
963
+ "scope": "text.html.markdown markup.underline.link",
964
+ "settings": {
965
+ "fontStyle": "underline"
966
+ }
967
+ }, {
968
+ "name": "[Markdown] Markup List Numbered/Unnumbered",
969
+ "scope": "text.html.markdown beginning.punctuation.definition.list",
970
+ "settings": {
971
+ "foreground": "#81A1C1"
972
+ }
973
+ }, {
974
+ "name": "[Markdown] Markup Quote Punctuation Definition",
975
+ "scope": "text.html.markdown beginning.punctuation.definition.quote",
976
+ "settings": {
977
+ "foreground": "#8FBCBB"
978
+ }
979
+ }, {
980
+ "name": "[Markdown] Markup Quote Punctuation Definition",
981
+ "scope": "text.html.markdown markup.quote",
982
+ "settings": {
983
+ "foreground": "#616E88"
984
+ }
985
+ }, {
986
+ "name": "[Markdown] Markup Math Constant",
987
+ "scope": "text.html.markdown constant.character.math.tex",
988
+ "settings": {
989
+ "foreground": "#81A1C1"
990
+ }
991
+ }, {
992
+ "name": "[Markdown] Markup Math Definition Marker",
993
+ "scope": ["text.html.markdown punctuation.definition.math.begin", "text.html.markdown punctuation.definition.math.end"],
994
+ "settings": {
995
+ "foreground": "#5E81AC"
996
+ }
997
+ }, {
998
+ "name": "[Markdown] Markup Math Function Definition Marker",
999
+ "scope": "text.html.markdown punctuation.definition.function.math.tex",
1000
+ "settings": {
1001
+ "foreground": "#88C0D0"
1002
+ }
1003
+ }, {
1004
+ "name": "[Markdown] Markup Math Operator",
1005
+ "scope": "text.html.markdown punctuation.math.operator.latex",
1006
+ "settings": {
1007
+ "foreground": "#81A1C1"
1008
+ }
1009
+ }, {
1010
+ "name": "[Markdown] Punctuation Definition Heading",
1011
+ "scope": "text.html.markdown punctuation.definition.heading",
1012
+ "settings": {
1013
+ "foreground": "#81A1C1"
1014
+ }
1015
+ }, {
1016
+ "name": "[Markdown] Punctuation Definition Constant/String",
1017
+ "scope": ["text.html.markdown punctuation.definition.constant", "text.html.markdown punctuation.definition.string"],
1018
+ "settings": {
1019
+ "foreground": "#81A1C1"
1020
+ }
1021
+ }, {
1022
+ "name": "[Markdown] String Other Link Description/Title",
1023
+ "scope": ["text.html.markdown constant.other.reference.link", "text.html.markdown string.other.link.description", "text.html.markdown string.other.link.title"],
1024
+ "settings": {
1025
+ "foreground": "#88C0D0"
1026
+ }
1027
+ }, {
1028
+ "name": "[Perl] Perl Sigils",
1029
+ "scope": "source.perl punctuation.definition.variable",
1030
+ "settings": {
1031
+ "foreground": "#D8DEE9"
1032
+ }
1033
+ }, {
1034
+ "name": "[PHP] Meta Function-Call Object",
1035
+ "scope": ["source.php meta.function-call", "source.php meta.function-call.object"],
1036
+ "settings": {
1037
+ "foreground": "#88C0D0"
1038
+ }
1039
+ }, {
1040
+ "name": "[Python] Decorator",
1041
+ "scope": ["source.python entity.name.function.decorator", "source.python meta.function.decorator support.type"],
1042
+ "settings": {
1043
+ "foreground": "#D08770"
1044
+ }
1045
+ }, {
1046
+ "name": "[Python] Function Call",
1047
+ "scope": "source.python meta.function-call.generic",
1048
+ "settings": {
1049
+ "foreground": "#88C0D0"
1050
+ }
1051
+ }, {
1052
+ "name": "[Python] Support Type",
1053
+ "scope": "source.python support.type",
1054
+ "settings": {
1055
+ "foreground": "#88C0D0"
1056
+ }
1057
+ }, {
1058
+ "name": "[Python] Function Parameter",
1059
+ "scope": ["source.python variable.parameter.function.language"],
1060
+ "settings": {
1061
+ "foreground": "#D8DEE9"
1062
+ }
1063
+ }, {
1064
+ "name": "[Python] Function Parameter Special",
1065
+ "scope": ["source.python meta.function.parameters variable.parameter.function.language.special.self"],
1066
+ "settings": {
1067
+ "foreground": "#81A1C1"
1068
+ }
1069
+ }, {
1070
+ "name": "[Rust] Entity types",
1071
+ "scope": "source.rust entity.name.type",
1072
+ "settings": {
1073
+ "foreground": "#8FBCBB"
1074
+ }
1075
+ }, {
1076
+ "name": "[Rust] Macro",
1077
+ "scope": "source.rust meta.macro entity.name.function",
1078
+ "settings": {
1079
+ "fontStyle": "bold",
1080
+ "foreground": "#88C0D0"
1081
+ }
1082
+ }, {
1083
+ "name": "[Rust] Attributes",
1084
+ "scope": ["source.rust meta.attribute", "source.rust meta.attribute punctuation", "source.rust meta.attribute keyword.operator"],
1085
+ "settings": {
1086
+ "foreground": "#5E81AC"
1087
+ }
1088
+ }, {
1089
+ "name": "[Rust] Traits",
1090
+ "scope": "source.rust entity.name.type.trait",
1091
+ "settings": {
1092
+ "fontStyle": "bold"
1093
+ }
1094
+ }, {
1095
+ "name": "[Rust] Interpolation Bracket Curly",
1096
+ "scope": "source.rust punctuation.definition.interpolation",
1097
+ "settings": {
1098
+ "foreground": "#EBCB8B"
1099
+ }
1100
+ }, {
1101
+ "name": "[SCSS] Punctuation Definition Interpolation Bracket Curly",
1102
+ "scope": ["source.css.scss punctuation.definition.interpolation.begin.bracket.curly", "source.css.scss punctuation.definition.interpolation.end.bracket.curly"],
1103
+ "settings": {
1104
+ "foreground": "#81A1C1"
1105
+ }
1106
+ }, {
1107
+ "name": "[SCSS] Variable Interpolation",
1108
+ "scope": "source.css.scss variable.interpolation",
1109
+ "settings": {
1110
+ "foreground": "#D8DEE9",
1111
+ "fontStyle": "italic"
1112
+ }
1113
+ }, {
1114
+ "name": "[TypeScript] Decorators",
1115
+ "scope": ["source.ts punctuation.decorator", "source.ts meta.decorator variable.other.readwrite", "source.ts meta.decorator entity.name.function", "source.tsx punctuation.decorator", "source.tsx meta.decorator variable.other.readwrite", "source.tsx meta.decorator entity.name.function"],
1116
+ "settings": {
1117
+ "foreground": "#D08770"
1118
+ }
1119
+ }, {
1120
+ "name": "[TypeScript] Object-literal keys",
1121
+ "scope": ["source.ts meta.object-literal.key", "source.tsx meta.object-literal.key"],
1122
+ "settings": {
1123
+ "foreground": "#D8DEE9"
1124
+ }
1125
+ }, {
1126
+ "name": "[TypeScript] Object-literal functions",
1127
+ "scope": ["source.ts meta.object-literal.key entity.name.function", "source.tsx meta.object-literal.key entity.name.function"],
1128
+ "settings": {
1129
+ "foreground": "#88C0D0"
1130
+ }
1131
+ }, {
1132
+ "name": "[TypeScript] Type/Class",
1133
+ "scope": ["source.ts support.class", "source.ts support.type", "source.ts entity.name.type", "source.ts entity.name.class", "source.tsx support.class", "source.tsx support.type", "source.tsx entity.name.type", "source.tsx entity.name.class"],
1134
+ "settings": {
1135
+ "foreground": "#8FBCBB"
1136
+ }
1137
+ }, {
1138
+ "name": "[TypeScript] Static Class Support",
1139
+ "scope": ["source.ts support.constant.math", "source.ts support.constant.dom", "source.ts support.constant.json", "source.tsx support.constant.math", "source.tsx support.constant.dom", "source.tsx support.constant.json"],
1140
+ "settings": {
1141
+ "foreground": "#8FBCBB"
1142
+ }
1143
+ }, {
1144
+ "name": "[TypeScript] Variables",
1145
+ "scope": ["source.ts support.variable", "source.tsx support.variable"],
1146
+ "settings": {
1147
+ "foreground": "#D8DEE9"
1148
+ }
1149
+ }, {
1150
+ "name": "[TypeScript] Parentheses in Template Strings",
1151
+ "scope": ["source.ts meta.embedded.line meta.brace.square", "source.ts meta.embedded.line meta.brace.round", "source.tsx meta.embedded.line meta.brace.square", "source.tsx meta.embedded.line meta.brace.round"],
1152
+ "settings": {
1153
+ "foreground": "#ECEFF4"
1154
+ }
1155
+ }, {
1156
+ "name": "[XML] Entity Name Tag Namespace",
1157
+ "scope": "text.xml entity.name.tag.namespace",
1158
+ "settings": {
1159
+ "foreground": "#8FBCBB"
1160
+ }
1161
+ }, {
1162
+ "name": "[XML] Keyword Other Doctype",
1163
+ "scope": "text.xml keyword.other.doctype",
1164
+ "settings": {
1165
+ "foreground": "#5E81AC"
1166
+ }
1167
+ }, {
1168
+ "name": "[XML] Meta Tag Preprocessor",
1169
+ "scope": "text.xml meta.tag.preprocessor entity.name.tag",
1170
+ "settings": {
1171
+ "foreground": "#5E81AC"
1172
+ }
1173
+ }, {
1174
+ "name": "[XML] Entity Name Tag Namespace",
1175
+ "scope": ["text.xml string.unquoted.cdata", "text.xml string.unquoted.cdata punctuation.definition.string"],
1176
+ "settings": {
1177
+ "foreground": "#D08770",
1178
+ "fontStyle": "italic"
1179
+ }
1180
+ }, {
1181
+ "name": "[YAML] Entity Name Tag",
1182
+ "scope": "source.yaml entity.name.tag",
1183
+ "settings": {
1184
+ "foreground": "#8FBCBB"
1185
+ }
1186
+ }]
1187
+ },
1188
+ "autoImport": true,
1189
+ "showCopyButton": true,
1190
+ "skipLanguages": [],
1191
+ "filepath": "/Users/bytedance/github/targeral/modern-dev/website/module-tools/docs/en/guide/basic/test-your-project.mdx"
1192
+ };
1193
+ const frontmatter = {
1194
+ "sidebar_position": 6
1195
+ };
1196
+ const toc = [{
1197
+ "id": "prerequisites-and-conventions",
1198
+ "text": "Prerequisites and conventions",
1199
+ "depth": 2
1200
+ }, {
1201
+ "id": "run-the-tests",
1202
+ "text": "Run the tests",
1203
+ "depth": 2
1204
+ }, {
1205
+ "id": "usage-configuration",
1206
+ "text": "Usage Configuration",
1207
+ "depth": 2
1208
+ }, {
1209
+ "id": "test-example",
1210
+ "text": "Test example",
1211
+ "depth": 2
1212
+ }, {
1213
+ "id": "common-modules",
1214
+ "text": "Common modules",
1215
+ "depth": 3
1216
+ }, {
1217
+ "id": "components",
1218
+ "text": "Components",
1219
+ "depth": 3
1220
+ }];
1221
+ const title = `Testing Projects`;
1222
+ const content = "\"---\\nsidebar_position: 6\\n---\\n\\n# Testing Projects\\n\\nThis chapter will describe how to test modules.\\n\\n## Prerequisites and conventions\\n\\nTo use the testing features of the project, you need to make sure that the project contains the dependency: `\\\"@modern-js/plugin-testing\\\"` , which can be done with [modern new](/guide/basic/command-preview#modern-new).\\n\\nIn the module engineering scheme, the following conventions are in place for test cases, or files for writing tests:\\n\\n- The `tests` directory in the project directory is the directory for test cases and test files, **no support for changing the directory for running test cases**.\\n- Files with the suffix `.test.[tj]sx?` are automatically recognized as test files by default.\\n- Other `. [tj]sx?` suffixes are recognized as normal files that can be used as test `utils` files or for other purposes.\\n\\n## Run the tests\\n\\nOnce the dependencies are prepared and we know where to write the test cases, we can execute the tests with the following command:\\n\\n```bash\\nmodern test\\n\\n// Update snapshot\\nmodern test --updateSnapshot\\n```\\n\\nAfter execution, you will see the results of the test:\\n\\n![test-result](https://lf3-static.bytednsdoc.com/obj/eden-cn/uhbfnupenuhf/test-result.png)\\n\\n## Usage Configuration\\n\\nThe Module Engineering Program provides the following configurations for testing.\\n\\n- [`testing`](/api/config/testing)\\n\\nYou can add it in `modern.config.(j|t)s`.\\n\\n## Test example\\n\\n### Common modules\\n\\nFor common modules, we can use the test function as follows:\\n\\n<CH.Spotlight>\\n\\n```typescript ./src/index.ts\\nexport default function () {\\n return 'hello world';\\n}\\n```\\n\\n---\\n\\nFirst is the code of the module.\\n\\n```typescript ./src/index.ts\\nexport default function () {\\n return 'hello world';\\n}\\n```\\n\\n---\\n\\nThen in the test file, we can do this.\\n\\nWhere `@` points to the source directory, defined in `tests/tsconfig.json` in the initialization project.\\n\\n```typescript ./tests/index.test.ts\\nimport main from '@/index';\\n\\ndescribe('default cases', () => {\\n test('Have returns', () => {\\n const drink = jest.fn(main);\\n drink();\\n expect(drink).toHaveReturned();\\n });\\n});\\n```\\n\\n---\\n\\nFinally we can execute `modern test`.\\n\\n```bash\\npnpm test\\n## or\\nyarn test\\n## or\\nnpm run test\\n```\\n\\n</CH.Spotlight>\\n\\n### Components\\n\\n{/* 链接待补充 */}\\n\\nFor components, Modern.js's Runtime API provides functionality for testing UI components, which is provided by `@modern-js/runtime/testing`.\\n\\n:::tip\\nIf you need to use the Runtime API, then you can turn it on via [microgenerator](/guide/basic/command-preview).\\n:::\\n\\n<CH.Spotlight>\\n\\n```tsx ./src/index.tsx\\nexport const default () {\\n return (\\n <div>This is a UI Component</div>\\n );\\n}\\n```\\n\\n---\\n\\nFirst is the code of the component.\\n\\n```tsx ./src/index.tsx\\nexport const default () {\\n return (\\n <div>This is a UI Component</div>\\n );\\n}\\n```\\n\\n---\\n\\nThen in the test file, we can do this.\\n\\nWhere `@` points to the source directory, defined in `tests/tsconfig.json` in the initialization project.\\n\\n```tsx ./tests/index.test.tsx\\nimport { render, screen } from '@modern-js/runtime/testing';\\n\\nimport Component from '@/index';\\n\\ndescribe('default cases', () => {\\n test('Rendered', () => {\\n render(<Component />);\\n expect(screen.getByText('This is a UI Component')).toBeInTheDocument();\\n });\\n});\\n```\\n\\n---\\n\\nFinally we can execute `modern test`.\\n\\n```bash\\npnpm test\\n## or\\nyarn test\\n## or\\nnpm run test\\n```\\n\\n</CH.Spotlight>\\n\"";
1223
+ function _createMdxContent(props) {
1224
+ const _components = Object.assign({
1225
+ h1: "h1",
1226
+ a: "a",
1227
+ p: "p",
1228
+ h2: "h2",
1229
+ code: "code",
1230
+ ul: "ul",
1231
+ li: "li",
1232
+ strong: "strong",
1233
+ img: "img",
1234
+ h3: "h3",
1235
+ div: "div"
1236
+ }, props.components);
1237
+ if (!CH) _missingMdxReference("CH", false, "23:1-28:4");
1238
+ if (!CH.Code) _missingMdxReference("CH.Code", true, "23:1-28:4");
1239
+ if (!CH.CodeSlot) _missingMdxReference("CH.CodeSlot", true);
1240
+ if (!CH.Spotlight) _missingMdxReference("CH.Spotlight", true, "48:1-96:16");
1241
+ return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
1242
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h1, {
1243
+ id: "testing-projects",
1244
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1245
+ className: "header-anchor",
1246
+ "aria-hidden": "true",
1247
+ href: "#testing-projects",
1248
+ children: "#"
1249
+ }), "Testing Projects"]
1250
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
1251
+ children: "This chapter will describe how to test modules."
1252
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h2, {
1253
+ id: "prerequisites-and-conventions",
1254
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1255
+ className: "header-anchor",
1256
+ "aria-hidden": "true",
1257
+ href: "#prerequisites-and-conventions",
1258
+ children: "#"
1259
+ }), "Prerequisites and conventions"]
1260
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
1261
+ children: ["To use the testing features of the project, you need to make sure that the project contains the dependency: ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1262
+ children: "\"@modern-js/plugin-testing\""
1263
+ }), " , which can be done with ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1264
+ href: "/module-tools/en/guide/basic/command-preview.html#modern-new-1",
1265
+ children: "modern new"
1266
+ }), "."]
1267
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
1268
+ children: "In the module engineering scheme, the following conventions are in place for test cases, or files for writing tests:"
1269
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
1270
+ children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
1271
+ children: ["The ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1272
+ children: "tests"
1273
+ }), " directory in the project directory is the directory for test cases and test files, ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.strong, {
1274
+ children: "no support for changing the directory for running test cases"
1275
+ }), "."]
1276
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
1277
+ children: ["Files with the suffix ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1278
+ children: ".test.[tj]sx?"
1279
+ }), " are automatically recognized as test files by default."]
1280
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.li, {
1281
+ children: ["Other ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1282
+ children: ". [tj]sx?"
1283
+ }), " suffixes are recognized as normal files that can be used as test ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1284
+ children: "utils"
1285
+ }), " files or for other purposes."]
1286
+ }), "\n"]
1287
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h2, {
1288
+ id: "run-the-tests",
1289
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1290
+ className: "header-anchor",
1291
+ "aria-hidden": "true",
1292
+ href: "#run-the-tests",
1293
+ children: "#"
1294
+ }), "Run the tests"]
1295
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
1296
+ children: "Once the dependencies are prepared and we know where to write the test cases, we can execute the tests with the following command:"
1297
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.Code, {
1298
+ codeConfig: chCodeConfig,
1299
+ northPanel: {
1300
+ "tabs": [""],
1301
+ "active": "",
1302
+ "heightRatio": 1
1303
+ },
1304
+ files: [{
1305
+ "name": "",
1306
+ "focus": "",
1307
+ "code": {
1308
+ "lines": [{
1309
+ "tokens": [{
1310
+ "content": "modern ",
1311
+ "props": {
1312
+ "style": {
1313
+ "color": "#D8DEE9FF"
1314
+ }
1315
+ }
1316
+ }, {
1317
+ "content": "test",
1318
+ "props": {
1319
+ "style": {
1320
+ "color": "#88C0D0"
1321
+ }
1322
+ }
1323
+ }]
1324
+ }, {
1325
+ "tokens": []
1326
+ }, {
1327
+ "tokens": [{
1328
+ "content": "// Update snapshot",
1329
+ "props": {
1330
+ "style": {
1331
+ "color": "#D8DEE9FF"
1332
+ }
1333
+ }
1334
+ }]
1335
+ }, {
1336
+ "tokens": [{
1337
+ "content": "modern ",
1338
+ "props": {
1339
+ "style": {
1340
+ "color": "#D8DEE9FF"
1341
+ }
1342
+ }
1343
+ }, {
1344
+ "content": "test",
1345
+ "props": {
1346
+ "style": {
1347
+ "color": "#88C0D0"
1348
+ }
1349
+ }
1350
+ }, {
1351
+ "content": " --updateSnapshot",
1352
+ "props": {
1353
+ "style": {
1354
+ "color": "#D8DEE9FF"
1355
+ }
1356
+ }
1357
+ }]
1358
+ }],
1359
+ "lang": "bash"
1360
+ },
1361
+ "annotations": []
1362
+ }]
1363
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
1364
+ children: "After execution, you will see the results of the test:"
1365
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
1366
+ children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.img, {
1367
+ src: "https://lf3-static.bytednsdoc.com/obj/eden-cn/uhbfnupenuhf/test-result.png",
1368
+ alt: "test-result"
1369
+ })
1370
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h2, {
1371
+ id: "usage-configuration",
1372
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1373
+ className: "header-anchor",
1374
+ "aria-hidden": "true",
1375
+ href: "#usage-configuration",
1376
+ children: "#"
1377
+ }), "Usage Configuration"]
1378
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
1379
+ children: "The Module Engineering Program provides the following configurations for testing."
1380
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.ul, {
1381
+ children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.li, {
1382
+ children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1383
+ href: "/module-tools/en/api/config/testing.html",
1384
+ children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1385
+ children: "testing"
1386
+ })
1387
+ })
1388
+ }), "\n"]
1389
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
1390
+ children: ["You can add it in ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
1391
+ children: "modern.config.(j|t)s"
1392
+ }), "."]
1393
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h2, {
1394
+ id: "test-example",
1395
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1396
+ className: "header-anchor",
1397
+ "aria-hidden": "true",
1398
+ href: "#test-example",
1399
+ children: "#"
1400
+ }), "Test example"]
1401
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h3, {
1402
+ id: "common-modules",
1403
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
1404
+ className: "header-anchor",
1405
+ "aria-hidden": "true",
1406
+ href: "#common-modules",
1407
+ children: "#"
1408
+ }), "Common modules"]
1409
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
1410
+ children: "For common modules, we can use the test function as follows:"
1411
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(CH.Spotlight, {
1412
+ codeConfig: chCodeConfig,
1413
+ editorSteps: [{
1414
+ "northPanel": {
1415
+ "tabs": ["./src/index.ts"],
1416
+ "active": "./src/index.ts",
1417
+ "heightRatio": 1
1418
+ },
1419
+ "files": [{
1420
+ "name": "./src/index.ts",
1421
+ "focus": "",
1422
+ "code": {
1423
+ "lines": [{
1424
+ "tokens": [{
1425
+ "content": "export",
1426
+ "props": {
1427
+ "style": {
1428
+ "color": "#81A1C1"
1429
+ }
1430
+ }
1431
+ }, {
1432
+ "content": " ",
1433
+ "props": {
1434
+ "style": {
1435
+ "color": "#D8DEE9FF"
1436
+ }
1437
+ }
1438
+ }, {
1439
+ "content": "default",
1440
+ "props": {
1441
+ "style": {
1442
+ "color": "#81A1C1"
1443
+ }
1444
+ }
1445
+ }, {
1446
+ "content": " ",
1447
+ "props": {
1448
+ "style": {
1449
+ "color": "#D8DEE9FF"
1450
+ }
1451
+ }
1452
+ }, {
1453
+ "content": "function",
1454
+ "props": {
1455
+ "style": {
1456
+ "color": "#81A1C1"
1457
+ }
1458
+ }
1459
+ }, {
1460
+ "content": " ",
1461
+ "props": {
1462
+ "style": {
1463
+ "color": "#D8DEE9FF"
1464
+ }
1465
+ }
1466
+ }, {
1467
+ "content": "()",
1468
+ "props": {
1469
+ "style": {
1470
+ "color": "#ECEFF4"
1471
+ }
1472
+ }
1473
+ }, {
1474
+ "content": " ",
1475
+ "props": {
1476
+ "style": {
1477
+ "color": "#D8DEE9FF"
1478
+ }
1479
+ }
1480
+ }, {
1481
+ "content": "{",
1482
+ "props": {
1483
+ "style": {
1484
+ "color": "#ECEFF4"
1485
+ }
1486
+ }
1487
+ }]
1488
+ }, {
1489
+ "tokens": [{
1490
+ "content": " ",
1491
+ "props": {
1492
+ "style": {
1493
+ "color": "#D8DEE9FF"
1494
+ }
1495
+ }
1496
+ }, {
1497
+ "content": "return",
1498
+ "props": {
1499
+ "style": {
1500
+ "color": "#81A1C1"
1501
+ }
1502
+ }
1503
+ }, {
1504
+ "content": " ",
1505
+ "props": {
1506
+ "style": {
1507
+ "color": "#D8DEE9FF"
1508
+ }
1509
+ }
1510
+ }, {
1511
+ "content": "'",
1512
+ "props": {
1513
+ "style": {
1514
+ "color": "#ECEFF4"
1515
+ }
1516
+ }
1517
+ }, {
1518
+ "content": "hello world",
1519
+ "props": {
1520
+ "style": {
1521
+ "color": "#A3BE8C"
1522
+ }
1523
+ }
1524
+ }, {
1525
+ "content": "'",
1526
+ "props": {
1527
+ "style": {
1528
+ "color": "#ECEFF4"
1529
+ }
1530
+ }
1531
+ }, {
1532
+ "content": ";",
1533
+ "props": {
1534
+ "style": {
1535
+ "color": "#81A1C1"
1536
+ }
1537
+ }
1538
+ }]
1539
+ }, {
1540
+ "tokens": [{
1541
+ "content": "}",
1542
+ "props": {
1543
+ "style": {
1544
+ "color": "#ECEFF4"
1545
+ }
1546
+ }
1547
+ }]
1548
+ }],
1549
+ "lang": "typescript"
1550
+ },
1551
+ "annotations": []
1552
+ }]
1553
+ }, {
1554
+ "northPanel": {
1555
+ "tabs": ["./src/index.ts"],
1556
+ "active": "./src/index.ts",
1557
+ "heightRatio": 1
1558
+ },
1559
+ "files": [{
1560
+ "name": "./src/index.ts",
1561
+ "focus": "",
1562
+ "code": {
1563
+ "lines": [{
1564
+ "tokens": [{
1565
+ "content": "export",
1566
+ "props": {
1567
+ "style": {
1568
+ "color": "#81A1C1"
1569
+ }
1570
+ }
1571
+ }, {
1572
+ "content": " ",
1573
+ "props": {
1574
+ "style": {
1575
+ "color": "#D8DEE9FF"
1576
+ }
1577
+ }
1578
+ }, {
1579
+ "content": "default",
1580
+ "props": {
1581
+ "style": {
1582
+ "color": "#81A1C1"
1583
+ }
1584
+ }
1585
+ }, {
1586
+ "content": " ",
1587
+ "props": {
1588
+ "style": {
1589
+ "color": "#D8DEE9FF"
1590
+ }
1591
+ }
1592
+ }, {
1593
+ "content": "function",
1594
+ "props": {
1595
+ "style": {
1596
+ "color": "#81A1C1"
1597
+ }
1598
+ }
1599
+ }, {
1600
+ "content": " ",
1601
+ "props": {
1602
+ "style": {
1603
+ "color": "#D8DEE9FF"
1604
+ }
1605
+ }
1606
+ }, {
1607
+ "content": "()",
1608
+ "props": {
1609
+ "style": {
1610
+ "color": "#ECEFF4"
1611
+ }
1612
+ }
1613
+ }, {
1614
+ "content": " ",
1615
+ "props": {
1616
+ "style": {
1617
+ "color": "#D8DEE9FF"
1618
+ }
1619
+ }
1620
+ }, {
1621
+ "content": "{",
1622
+ "props": {
1623
+ "style": {
1624
+ "color": "#ECEFF4"
1625
+ }
1626
+ }
1627
+ }]
1628
+ }, {
1629
+ "tokens": [{
1630
+ "content": " ",
1631
+ "props": {
1632
+ "style": {
1633
+ "color": "#D8DEE9FF"
1634
+ }
1635
+ }
1636
+ }, {
1637
+ "content": "return",
1638
+ "props": {
1639
+ "style": {
1640
+ "color": "#81A1C1"
1641
+ }
1642
+ }
1643
+ }, {
1644
+ "content": " ",
1645
+ "props": {
1646
+ "style": {
1647
+ "color": "#D8DEE9FF"
1648
+ }
1649
+ }
1650
+ }, {
1651
+ "content": "'",
1652
+ "props": {
1653
+ "style": {
1654
+ "color": "#ECEFF4"
1655
+ }
1656
+ }
1657
+ }, {
1658
+ "content": "hello world",
1659
+ "props": {
1660
+ "style": {
1661
+ "color": "#A3BE8C"
1662
+ }
1663
+ }
1664
+ }, {
1665
+ "content": "'",
1666
+ "props": {
1667
+ "style": {
1668
+ "color": "#ECEFF4"
1669
+ }
1670
+ }
1671
+ }, {
1672
+ "content": ";",
1673
+ "props": {
1674
+ "style": {
1675
+ "color": "#81A1C1"
1676
+ }
1677
+ }
1678
+ }]
1679
+ }, {
1680
+ "tokens": [{
1681
+ "content": "}",
1682
+ "props": {
1683
+ "style": {
1684
+ "color": "#ECEFF4"
1685
+ }
1686
+ }
1687
+ }]
1688
+ }],
1689
+ "lang": "typescript"
1690
+ },
1691
+ "annotations": []
1692
+ }],
1693
+ "southPanel": undefined
1694
+ }, {
1695
+ "northPanel": {
1696
+ "tabs": ["./src/index.ts", "./tests/index.test.ts"],
1697
+ "active": "./tests/index.test.ts",
1698
+ "heightRatio": 1
1699
+ },
1700
+ "files": [{
1701
+ "name": "./src/index.ts",
1702
+ "focus": "",
1703
+ "code": {
1704
+ "lines": [{
1705
+ "tokens": [{
1706
+ "content": "export",
1707
+ "props": {
1708
+ "style": {
1709
+ "color": "#81A1C1"
1710
+ }
1711
+ }
1712
+ }, {
1713
+ "content": " ",
1714
+ "props": {
1715
+ "style": {
1716
+ "color": "#D8DEE9FF"
1717
+ }
1718
+ }
1719
+ }, {
1720
+ "content": "default",
1721
+ "props": {
1722
+ "style": {
1723
+ "color": "#81A1C1"
1724
+ }
1725
+ }
1726
+ }, {
1727
+ "content": " ",
1728
+ "props": {
1729
+ "style": {
1730
+ "color": "#D8DEE9FF"
1731
+ }
1732
+ }
1733
+ }, {
1734
+ "content": "function",
1735
+ "props": {
1736
+ "style": {
1737
+ "color": "#81A1C1"
1738
+ }
1739
+ }
1740
+ }, {
1741
+ "content": " ",
1742
+ "props": {
1743
+ "style": {
1744
+ "color": "#D8DEE9FF"
1745
+ }
1746
+ }
1747
+ }, {
1748
+ "content": "()",
1749
+ "props": {
1750
+ "style": {
1751
+ "color": "#ECEFF4"
1752
+ }
1753
+ }
1754
+ }, {
1755
+ "content": " ",
1756
+ "props": {
1757
+ "style": {
1758
+ "color": "#D8DEE9FF"
1759
+ }
1760
+ }
1761
+ }, {
1762
+ "content": "{",
1763
+ "props": {
1764
+ "style": {
1765
+ "color": "#ECEFF4"
1766
+ }
1767
+ }
1768
+ }]
1769
+ }, {
1770
+ "tokens": [{
1771
+ "content": " ",
1772
+ "props": {
1773
+ "style": {
1774
+ "color": "#D8DEE9FF"
1775
+ }
1776
+ }
1777
+ }, {
1778
+ "content": "return",
1779
+ "props": {
1780
+ "style": {
1781
+ "color": "#81A1C1"
1782
+ }
1783
+ }
1784
+ }, {
1785
+ "content": " ",
1786
+ "props": {
1787
+ "style": {
1788
+ "color": "#D8DEE9FF"
1789
+ }
1790
+ }
1791
+ }, {
1792
+ "content": "'",
1793
+ "props": {
1794
+ "style": {
1795
+ "color": "#ECEFF4"
1796
+ }
1797
+ }
1798
+ }, {
1799
+ "content": "hello world",
1800
+ "props": {
1801
+ "style": {
1802
+ "color": "#A3BE8C"
1803
+ }
1804
+ }
1805
+ }, {
1806
+ "content": "'",
1807
+ "props": {
1808
+ "style": {
1809
+ "color": "#ECEFF4"
1810
+ }
1811
+ }
1812
+ }, {
1813
+ "content": ";",
1814
+ "props": {
1815
+ "style": {
1816
+ "color": "#81A1C1"
1817
+ }
1818
+ }
1819
+ }]
1820
+ }, {
1821
+ "tokens": [{
1822
+ "content": "}",
1823
+ "props": {
1824
+ "style": {
1825
+ "color": "#ECEFF4"
1826
+ }
1827
+ }
1828
+ }]
1829
+ }],
1830
+ "lang": "typescript"
1831
+ },
1832
+ "annotations": []
1833
+ }, {
1834
+ "name": "./tests/index.test.ts",
1835
+ "focus": "",
1836
+ "code": {
1837
+ "lines": [{
1838
+ "tokens": [{
1839
+ "content": "import",
1840
+ "props": {
1841
+ "style": {
1842
+ "color": "#81A1C1"
1843
+ }
1844
+ }
1845
+ }, {
1846
+ "content": " ",
1847
+ "props": {
1848
+ "style": {
1849
+ "color": "#D8DEE9FF"
1850
+ }
1851
+ }
1852
+ }, {
1853
+ "content": "main",
1854
+ "props": {
1855
+ "style": {
1856
+ "color": "#D8DEE9"
1857
+ }
1858
+ }
1859
+ }, {
1860
+ "content": " ",
1861
+ "props": {
1862
+ "style": {
1863
+ "color": "#D8DEE9FF"
1864
+ }
1865
+ }
1866
+ }, {
1867
+ "content": "from",
1868
+ "props": {
1869
+ "style": {
1870
+ "color": "#81A1C1"
1871
+ }
1872
+ }
1873
+ }, {
1874
+ "content": " ",
1875
+ "props": {
1876
+ "style": {
1877
+ "color": "#D8DEE9FF"
1878
+ }
1879
+ }
1880
+ }, {
1881
+ "content": "'",
1882
+ "props": {
1883
+ "style": {
1884
+ "color": "#ECEFF4"
1885
+ }
1886
+ }
1887
+ }, {
1888
+ "content": "@/index",
1889
+ "props": {
1890
+ "style": {
1891
+ "color": "#A3BE8C"
1892
+ }
1893
+ }
1894
+ }, {
1895
+ "content": "'",
1896
+ "props": {
1897
+ "style": {
1898
+ "color": "#ECEFF4"
1899
+ }
1900
+ }
1901
+ }, {
1902
+ "content": ";",
1903
+ "props": {
1904
+ "style": {
1905
+ "color": "#81A1C1"
1906
+ }
1907
+ }
1908
+ }]
1909
+ }, {
1910
+ "tokens": []
1911
+ }, {
1912
+ "tokens": [{
1913
+ "content": "describe",
1914
+ "props": {
1915
+ "style": {
1916
+ "color": "#88C0D0"
1917
+ }
1918
+ }
1919
+ }, {
1920
+ "content": "(",
1921
+ "props": {
1922
+ "style": {
1923
+ "color": "#D8DEE9FF"
1924
+ }
1925
+ }
1926
+ }, {
1927
+ "content": "'",
1928
+ "props": {
1929
+ "style": {
1930
+ "color": "#ECEFF4"
1931
+ }
1932
+ }
1933
+ }, {
1934
+ "content": "default cases",
1935
+ "props": {
1936
+ "style": {
1937
+ "color": "#A3BE8C"
1938
+ }
1939
+ }
1940
+ }, {
1941
+ "content": "'",
1942
+ "props": {
1943
+ "style": {
1944
+ "color": "#ECEFF4"
1945
+ }
1946
+ }
1947
+ }, {
1948
+ "content": ",",
1949
+ "props": {
1950
+ "style": {
1951
+ "color": "#ECEFF4"
1952
+ }
1953
+ }
1954
+ }, {
1955
+ "content": " ",
1956
+ "props": {
1957
+ "style": {
1958
+ "color": "#D8DEE9FF"
1959
+ }
1960
+ }
1961
+ }, {
1962
+ "content": "()",
1963
+ "props": {
1964
+ "style": {
1965
+ "color": "#ECEFF4"
1966
+ }
1967
+ }
1968
+ }, {
1969
+ "content": " ",
1970
+ "props": {
1971
+ "style": {
1972
+ "color": "#D8DEE9FF"
1973
+ }
1974
+ }
1975
+ }, {
1976
+ "content": "=>",
1977
+ "props": {
1978
+ "style": {
1979
+ "color": "#81A1C1"
1980
+ }
1981
+ }
1982
+ }, {
1983
+ "content": " ",
1984
+ "props": {
1985
+ "style": {
1986
+ "color": "#D8DEE9FF"
1987
+ }
1988
+ }
1989
+ }, {
1990
+ "content": "{",
1991
+ "props": {
1992
+ "style": {
1993
+ "color": "#ECEFF4"
1994
+ }
1995
+ }
1996
+ }]
1997
+ }, {
1998
+ "tokens": [{
1999
+ "content": " ",
2000
+ "props": {
2001
+ "style": {
2002
+ "color": "#D8DEE9FF"
2003
+ }
2004
+ }
2005
+ }, {
2006
+ "content": "test",
2007
+ "props": {
2008
+ "style": {
2009
+ "color": "#88C0D0"
2010
+ }
2011
+ }
2012
+ }, {
2013
+ "content": "(",
2014
+ "props": {
2015
+ "style": {
2016
+ "color": "#D8DEE9FF"
2017
+ }
2018
+ }
2019
+ }, {
2020
+ "content": "'",
2021
+ "props": {
2022
+ "style": {
2023
+ "color": "#ECEFF4"
2024
+ }
2025
+ }
2026
+ }, {
2027
+ "content": "Have returns",
2028
+ "props": {
2029
+ "style": {
2030
+ "color": "#A3BE8C"
2031
+ }
2032
+ }
2033
+ }, {
2034
+ "content": "'",
2035
+ "props": {
2036
+ "style": {
2037
+ "color": "#ECEFF4"
2038
+ }
2039
+ }
2040
+ }, {
2041
+ "content": ",",
2042
+ "props": {
2043
+ "style": {
2044
+ "color": "#ECEFF4"
2045
+ }
2046
+ }
2047
+ }, {
2048
+ "content": " ",
2049
+ "props": {
2050
+ "style": {
2051
+ "color": "#D8DEE9FF"
2052
+ }
2053
+ }
2054
+ }, {
2055
+ "content": "()",
2056
+ "props": {
2057
+ "style": {
2058
+ "color": "#ECEFF4"
2059
+ }
2060
+ }
2061
+ }, {
2062
+ "content": " ",
2063
+ "props": {
2064
+ "style": {
2065
+ "color": "#D8DEE9FF"
2066
+ }
2067
+ }
2068
+ }, {
2069
+ "content": "=>",
2070
+ "props": {
2071
+ "style": {
2072
+ "color": "#81A1C1"
2073
+ }
2074
+ }
2075
+ }, {
2076
+ "content": " ",
2077
+ "props": {
2078
+ "style": {
2079
+ "color": "#D8DEE9FF"
2080
+ }
2081
+ }
2082
+ }, {
2083
+ "content": "{",
2084
+ "props": {
2085
+ "style": {
2086
+ "color": "#ECEFF4"
2087
+ }
2088
+ }
2089
+ }]
2090
+ }, {
2091
+ "tokens": [{
2092
+ "content": " ",
2093
+ "props": {
2094
+ "style": {
2095
+ "color": "#D8DEE9FF"
2096
+ }
2097
+ }
2098
+ }, {
2099
+ "content": "const",
2100
+ "props": {
2101
+ "style": {
2102
+ "color": "#81A1C1"
2103
+ }
2104
+ }
2105
+ }, {
2106
+ "content": " ",
2107
+ "props": {
2108
+ "style": {
2109
+ "color": "#D8DEE9FF"
2110
+ }
2111
+ }
2112
+ }, {
2113
+ "content": "drink",
2114
+ "props": {
2115
+ "style": {
2116
+ "color": "#D8DEE9"
2117
+ }
2118
+ }
2119
+ }, {
2120
+ "content": " ",
2121
+ "props": {
2122
+ "style": {
2123
+ "color": "#D8DEE9FF"
2124
+ }
2125
+ }
2126
+ }, {
2127
+ "content": "=",
2128
+ "props": {
2129
+ "style": {
2130
+ "color": "#81A1C1"
2131
+ }
2132
+ }
2133
+ }, {
2134
+ "content": " ",
2135
+ "props": {
2136
+ "style": {
2137
+ "color": "#D8DEE9FF"
2138
+ }
2139
+ }
2140
+ }, {
2141
+ "content": "jest",
2142
+ "props": {
2143
+ "style": {
2144
+ "color": "#D8DEE9"
2145
+ }
2146
+ }
2147
+ }, {
2148
+ "content": ".",
2149
+ "props": {
2150
+ "style": {
2151
+ "color": "#ECEFF4"
2152
+ }
2153
+ }
2154
+ }, {
2155
+ "content": "fn",
2156
+ "props": {
2157
+ "style": {
2158
+ "color": "#88C0D0"
2159
+ }
2160
+ }
2161
+ }, {
2162
+ "content": "(",
2163
+ "props": {
2164
+ "style": {
2165
+ "color": "#D8DEE9FF"
2166
+ }
2167
+ }
2168
+ }, {
2169
+ "content": "main",
2170
+ "props": {
2171
+ "style": {
2172
+ "color": "#D8DEE9"
2173
+ }
2174
+ }
2175
+ }, {
2176
+ "content": ")",
2177
+ "props": {
2178
+ "style": {
2179
+ "color": "#D8DEE9FF"
2180
+ }
2181
+ }
2182
+ }, {
2183
+ "content": ";",
2184
+ "props": {
2185
+ "style": {
2186
+ "color": "#81A1C1"
2187
+ }
2188
+ }
2189
+ }]
2190
+ }, {
2191
+ "tokens": [{
2192
+ "content": " ",
2193
+ "props": {
2194
+ "style": {
2195
+ "color": "#D8DEE9FF"
2196
+ }
2197
+ }
2198
+ }, {
2199
+ "content": "drink",
2200
+ "props": {
2201
+ "style": {
2202
+ "color": "#88C0D0"
2203
+ }
2204
+ }
2205
+ }, {
2206
+ "content": "()",
2207
+ "props": {
2208
+ "style": {
2209
+ "color": "#D8DEE9FF"
2210
+ }
2211
+ }
2212
+ }, {
2213
+ "content": ";",
2214
+ "props": {
2215
+ "style": {
2216
+ "color": "#81A1C1"
2217
+ }
2218
+ }
2219
+ }]
2220
+ }, {
2221
+ "tokens": [{
2222
+ "content": " ",
2223
+ "props": {
2224
+ "style": {
2225
+ "color": "#D8DEE9FF"
2226
+ }
2227
+ }
2228
+ }, {
2229
+ "content": "expect",
2230
+ "props": {
2231
+ "style": {
2232
+ "color": "#88C0D0"
2233
+ }
2234
+ }
2235
+ }, {
2236
+ "content": "(",
2237
+ "props": {
2238
+ "style": {
2239
+ "color": "#D8DEE9FF"
2240
+ }
2241
+ }
2242
+ }, {
2243
+ "content": "drink",
2244
+ "props": {
2245
+ "style": {
2246
+ "color": "#D8DEE9"
2247
+ }
2248
+ }
2249
+ }, {
2250
+ "content": ")",
2251
+ "props": {
2252
+ "style": {
2253
+ "color": "#D8DEE9FF"
2254
+ }
2255
+ }
2256
+ }, {
2257
+ "content": ".",
2258
+ "props": {
2259
+ "style": {
2260
+ "color": "#ECEFF4"
2261
+ }
2262
+ }
2263
+ }, {
2264
+ "content": "toHaveReturned",
2265
+ "props": {
2266
+ "style": {
2267
+ "color": "#88C0D0"
2268
+ }
2269
+ }
2270
+ }, {
2271
+ "content": "()",
2272
+ "props": {
2273
+ "style": {
2274
+ "color": "#D8DEE9FF"
2275
+ }
2276
+ }
2277
+ }, {
2278
+ "content": ";",
2279
+ "props": {
2280
+ "style": {
2281
+ "color": "#81A1C1"
2282
+ }
2283
+ }
2284
+ }]
2285
+ }, {
2286
+ "tokens": [{
2287
+ "content": " ",
2288
+ "props": {
2289
+ "style": {
2290
+ "color": "#D8DEE9FF"
2291
+ }
2292
+ }
2293
+ }, {
2294
+ "content": "}",
2295
+ "props": {
2296
+ "style": {
2297
+ "color": "#ECEFF4"
2298
+ }
2299
+ }
2300
+ }, {
2301
+ "content": ")",
2302
+ "props": {
2303
+ "style": {
2304
+ "color": "#D8DEE9FF"
2305
+ }
2306
+ }
2307
+ }, {
2308
+ "content": ";",
2309
+ "props": {
2310
+ "style": {
2311
+ "color": "#81A1C1"
2312
+ }
2313
+ }
2314
+ }]
2315
+ }, {
2316
+ "tokens": [{
2317
+ "content": "}",
2318
+ "props": {
2319
+ "style": {
2320
+ "color": "#ECEFF4"
2321
+ }
2322
+ }
2323
+ }, {
2324
+ "content": ")",
2325
+ "props": {
2326
+ "style": {
2327
+ "color": "#D8DEE9FF"
2328
+ }
2329
+ }
2330
+ }, {
2331
+ "content": ";",
2332
+ "props": {
2333
+ "style": {
2334
+ "color": "#81A1C1"
2335
+ }
2336
+ }
2337
+ }]
2338
+ }],
2339
+ "lang": "typescript"
2340
+ },
2341
+ "annotations": []
2342
+ }],
2343
+ "southPanel": undefined
2344
+ }, {
2345
+ "northPanel": {
2346
+ "tabs": ["./src/index.ts", ""],
2347
+ "active": "",
2348
+ "heightRatio": 1
2349
+ },
2350
+ "files": [{
2351
+ "name": "./src/index.ts",
2352
+ "focus": "",
2353
+ "code": {
2354
+ "lines": [{
2355
+ "tokens": [{
2356
+ "content": "export",
2357
+ "props": {
2358
+ "style": {
2359
+ "color": "#81A1C1"
2360
+ }
2361
+ }
2362
+ }, {
2363
+ "content": " ",
2364
+ "props": {
2365
+ "style": {
2366
+ "color": "#D8DEE9FF"
2367
+ }
2368
+ }
2369
+ }, {
2370
+ "content": "default",
2371
+ "props": {
2372
+ "style": {
2373
+ "color": "#81A1C1"
2374
+ }
2375
+ }
2376
+ }, {
2377
+ "content": " ",
2378
+ "props": {
2379
+ "style": {
2380
+ "color": "#D8DEE9FF"
2381
+ }
2382
+ }
2383
+ }, {
2384
+ "content": "function",
2385
+ "props": {
2386
+ "style": {
2387
+ "color": "#81A1C1"
2388
+ }
2389
+ }
2390
+ }, {
2391
+ "content": " ",
2392
+ "props": {
2393
+ "style": {
2394
+ "color": "#D8DEE9FF"
2395
+ }
2396
+ }
2397
+ }, {
2398
+ "content": "()",
2399
+ "props": {
2400
+ "style": {
2401
+ "color": "#ECEFF4"
2402
+ }
2403
+ }
2404
+ }, {
2405
+ "content": " ",
2406
+ "props": {
2407
+ "style": {
2408
+ "color": "#D8DEE9FF"
2409
+ }
2410
+ }
2411
+ }, {
2412
+ "content": "{",
2413
+ "props": {
2414
+ "style": {
2415
+ "color": "#ECEFF4"
2416
+ }
2417
+ }
2418
+ }]
2419
+ }, {
2420
+ "tokens": [{
2421
+ "content": " ",
2422
+ "props": {
2423
+ "style": {
2424
+ "color": "#D8DEE9FF"
2425
+ }
2426
+ }
2427
+ }, {
2428
+ "content": "return",
2429
+ "props": {
2430
+ "style": {
2431
+ "color": "#81A1C1"
2432
+ }
2433
+ }
2434
+ }, {
2435
+ "content": " ",
2436
+ "props": {
2437
+ "style": {
2438
+ "color": "#D8DEE9FF"
2439
+ }
2440
+ }
2441
+ }, {
2442
+ "content": "'",
2443
+ "props": {
2444
+ "style": {
2445
+ "color": "#ECEFF4"
2446
+ }
2447
+ }
2448
+ }, {
2449
+ "content": "hello world",
2450
+ "props": {
2451
+ "style": {
2452
+ "color": "#A3BE8C"
2453
+ }
2454
+ }
2455
+ }, {
2456
+ "content": "'",
2457
+ "props": {
2458
+ "style": {
2459
+ "color": "#ECEFF4"
2460
+ }
2461
+ }
2462
+ }, {
2463
+ "content": ";",
2464
+ "props": {
2465
+ "style": {
2466
+ "color": "#81A1C1"
2467
+ }
2468
+ }
2469
+ }]
2470
+ }, {
2471
+ "tokens": [{
2472
+ "content": "}",
2473
+ "props": {
2474
+ "style": {
2475
+ "color": "#ECEFF4"
2476
+ }
2477
+ }
2478
+ }]
2479
+ }],
2480
+ "lang": "typescript"
2481
+ },
2482
+ "annotations": []
2483
+ }, {
2484
+ "name": "",
2485
+ "focus": "",
2486
+ "code": {
2487
+ "lines": [{
2488
+ "tokens": [{
2489
+ "content": "pnpm ",
2490
+ "props": {
2491
+ "style": {
2492
+ "color": "#D8DEE9FF"
2493
+ }
2494
+ }
2495
+ }, {
2496
+ "content": "test",
2497
+ "props": {
2498
+ "style": {
2499
+ "color": "#88C0D0"
2500
+ }
2501
+ }
2502
+ }]
2503
+ }, {
2504
+ "tokens": [{
2505
+ "content": "## or",
2506
+ "props": {
2507
+ "style": {
2508
+ "color": "#616E88"
2509
+ }
2510
+ }
2511
+ }]
2512
+ }, {
2513
+ "tokens": [{
2514
+ "content": "yarn ",
2515
+ "props": {
2516
+ "style": {
2517
+ "color": "#D8DEE9FF"
2518
+ }
2519
+ }
2520
+ }, {
2521
+ "content": "test",
2522
+ "props": {
2523
+ "style": {
2524
+ "color": "#88C0D0"
2525
+ }
2526
+ }
2527
+ }]
2528
+ }, {
2529
+ "tokens": [{
2530
+ "content": "## or",
2531
+ "props": {
2532
+ "style": {
2533
+ "color": "#616E88"
2534
+ }
2535
+ }
2536
+ }]
2537
+ }, {
2538
+ "tokens": [{
2539
+ "content": "npm run ",
2540
+ "props": {
2541
+ "style": {
2542
+ "color": "#D8DEE9FF"
2543
+ }
2544
+ }
2545
+ }, {
2546
+ "content": "test",
2547
+ "props": {
2548
+ "style": {
2549
+ "color": "#88C0D0"
2550
+ }
2551
+ }
2552
+ }]
2553
+ }],
2554
+ "lang": "bash"
2555
+ },
2556
+ "annotations": []
2557
+ }],
2558
+ "southPanel": undefined
2559
+ }],
2560
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
2561
+ children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.CodeSlot, {})
2562
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
2563
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
2564
+ children: "First is the code of the module."
2565
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.CodeSlot, {})]
2566
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
2567
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
2568
+ children: "Then in the test file, we can do this."
2569
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
2570
+ children: ["Where ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2571
+ children: "@"
2572
+ }), " points to the source directory, defined in ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2573
+ children: "tests/tsconfig.json"
2574
+ }), " in the initialization project."]
2575
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.CodeSlot, {})]
2576
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
2577
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
2578
+ children: ["Finally we can execute ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2579
+ children: "modern test"
2580
+ }), "."]
2581
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.CodeSlot, {})]
2582
+ })]
2583
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.h3, {
2584
+ id: "components",
2585
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2586
+ className: "header-anchor",
2587
+ "aria-hidden": "true",
2588
+ href: "#components",
2589
+ children: "#"
2590
+ }), "Components"]
2591
+ }), "\n", "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
2592
+ children: ["For components, Modern.js's Runtime API provides functionality for testing UI components, which is provided by ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
2593
+ children: "@modern-js/runtime/testing"
2594
+ }), "."]
2595
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.div, {
2596
+ className: "modern-directive tip",
2597
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
2598
+ className: "modern-directive-title",
2599
+ children: "TIP"
2600
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.div, {
2601
+ className: "modern-directive-content",
2602
+ children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
2603
+ children: ["\nIf you need to use the Runtime API, then you can turn it on via ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.a, {
2604
+ href: "/module-tools/en/guide/basic/command-preview.html",
2605
+ children: "microgenerator"
2606
+ }), "."]
2607
+ })
2608
+ })]
2609
+ }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(CH.Spotlight, {
2610
+ codeConfig: chCodeConfig,
2611
+ editorSteps: [{
2612
+ "northPanel": {
2613
+ "tabs": ["./src/index.tsx"],
2614
+ "active": "./src/index.tsx",
2615
+ "heightRatio": 1
2616
+ },
2617
+ "files": [{
2618
+ "name": "./src/index.tsx",
2619
+ "focus": "",
2620
+ "code": {
2621
+ "lines": [{
2622
+ "tokens": [{
2623
+ "content": "export",
2624
+ "props": {
2625
+ "style": {
2626
+ "color": "#81A1C1"
2627
+ }
2628
+ }
2629
+ }, {
2630
+ "content": " ",
2631
+ "props": {
2632
+ "style": {
2633
+ "color": "#D8DEE9FF"
2634
+ }
2635
+ }
2636
+ }, {
2637
+ "content": "const",
2638
+ "props": {
2639
+ "style": {
2640
+ "color": "#81A1C1"
2641
+ }
2642
+ }
2643
+ }, {
2644
+ "content": " ",
2645
+ "props": {
2646
+ "style": {
2647
+ "color": "#D8DEE9FF"
2648
+ }
2649
+ }
2650
+ }, {
2651
+ "content": "default",
2652
+ "props": {
2653
+ "style": {
2654
+ "color": "#D8DEE9"
2655
+ }
2656
+ }
2657
+ }, {
2658
+ "content": " () {",
2659
+ "props": {
2660
+ "style": {
2661
+ "color": "#D8DEE9FF"
2662
+ }
2663
+ }
2664
+ }]
2665
+ }, {
2666
+ "tokens": [{
2667
+ "content": " ",
2668
+ "props": {
2669
+ "style": {
2670
+ "color": "#D8DEE9FF"
2671
+ }
2672
+ }
2673
+ }, {
2674
+ "content": "return",
2675
+ "props": {
2676
+ "style": {
2677
+ "color": "#81A1C1"
2678
+ }
2679
+ }
2680
+ }, {
2681
+ "content": " (",
2682
+ "props": {
2683
+ "style": {
2684
+ "color": "#D8DEE9FF"
2685
+ }
2686
+ }
2687
+ }]
2688
+ }, {
2689
+ "tokens": [{
2690
+ "content": " ",
2691
+ "props": {
2692
+ "style": {
2693
+ "color": "#D8DEE9FF"
2694
+ }
2695
+ }
2696
+ }, {
2697
+ "content": "<div>",
2698
+ "props": {
2699
+ "style": {
2700
+ "color": "#81A1C1"
2701
+ }
2702
+ }
2703
+ }, {
2704
+ "content": "This is a UI Component",
2705
+ "props": {
2706
+ "style": {
2707
+ "color": "#D8DEE9FF"
2708
+ }
2709
+ }
2710
+ }, {
2711
+ "content": "</div>",
2712
+ "props": {
2713
+ "style": {
2714
+ "color": "#81A1C1"
2715
+ }
2716
+ }
2717
+ }]
2718
+ }, {
2719
+ "tokens": [{
2720
+ "content": " )",
2721
+ "props": {
2722
+ "style": {
2723
+ "color": "#D8DEE9FF"
2724
+ }
2725
+ }
2726
+ }, {
2727
+ "content": ";",
2728
+ "props": {
2729
+ "style": {
2730
+ "color": "#81A1C1"
2731
+ }
2732
+ }
2733
+ }]
2734
+ }, {
2735
+ "tokens": [{
2736
+ "content": "}",
2737
+ "props": {
2738
+ "style": {
2739
+ "color": "#D8DEE9FF"
2740
+ }
2741
+ }
2742
+ }]
2743
+ }],
2744
+ "lang": "tsx"
2745
+ },
2746
+ "annotations": []
2747
+ }]
2748
+ }, {
2749
+ "northPanel": {
2750
+ "tabs": ["./src/index.tsx"],
2751
+ "active": "./src/index.tsx",
2752
+ "heightRatio": 1
2753
+ },
2754
+ "files": [{
2755
+ "name": "./src/index.tsx",
2756
+ "focus": "",
2757
+ "code": {
2758
+ "lines": [{
2759
+ "tokens": [{
2760
+ "content": "export",
2761
+ "props": {
2762
+ "style": {
2763
+ "color": "#81A1C1"
2764
+ }
2765
+ }
2766
+ }, {
2767
+ "content": " ",
2768
+ "props": {
2769
+ "style": {
2770
+ "color": "#D8DEE9FF"
2771
+ }
2772
+ }
2773
+ }, {
2774
+ "content": "const",
2775
+ "props": {
2776
+ "style": {
2777
+ "color": "#81A1C1"
2778
+ }
2779
+ }
2780
+ }, {
2781
+ "content": " ",
2782
+ "props": {
2783
+ "style": {
2784
+ "color": "#D8DEE9FF"
2785
+ }
2786
+ }
2787
+ }, {
2788
+ "content": "default",
2789
+ "props": {
2790
+ "style": {
2791
+ "color": "#D8DEE9"
2792
+ }
2793
+ }
2794
+ }, {
2795
+ "content": " () {",
2796
+ "props": {
2797
+ "style": {
2798
+ "color": "#D8DEE9FF"
2799
+ }
2800
+ }
2801
+ }]
2802
+ }, {
2803
+ "tokens": [{
2804
+ "content": " ",
2805
+ "props": {
2806
+ "style": {
2807
+ "color": "#D8DEE9FF"
2808
+ }
2809
+ }
2810
+ }, {
2811
+ "content": "return",
2812
+ "props": {
2813
+ "style": {
2814
+ "color": "#81A1C1"
2815
+ }
2816
+ }
2817
+ }, {
2818
+ "content": " (",
2819
+ "props": {
2820
+ "style": {
2821
+ "color": "#D8DEE9FF"
2822
+ }
2823
+ }
2824
+ }]
2825
+ }, {
2826
+ "tokens": [{
2827
+ "content": " ",
2828
+ "props": {
2829
+ "style": {
2830
+ "color": "#D8DEE9FF"
2831
+ }
2832
+ }
2833
+ }, {
2834
+ "content": "<div>",
2835
+ "props": {
2836
+ "style": {
2837
+ "color": "#81A1C1"
2838
+ }
2839
+ }
2840
+ }, {
2841
+ "content": "This is a UI Component",
2842
+ "props": {
2843
+ "style": {
2844
+ "color": "#D8DEE9FF"
2845
+ }
2846
+ }
2847
+ }, {
2848
+ "content": "</div>",
2849
+ "props": {
2850
+ "style": {
2851
+ "color": "#81A1C1"
2852
+ }
2853
+ }
2854
+ }]
2855
+ }, {
2856
+ "tokens": [{
2857
+ "content": " )",
2858
+ "props": {
2859
+ "style": {
2860
+ "color": "#D8DEE9FF"
2861
+ }
2862
+ }
2863
+ }, {
2864
+ "content": ";",
2865
+ "props": {
2866
+ "style": {
2867
+ "color": "#81A1C1"
2868
+ }
2869
+ }
2870
+ }]
2871
+ }, {
2872
+ "tokens": [{
2873
+ "content": "}",
2874
+ "props": {
2875
+ "style": {
2876
+ "color": "#D8DEE9FF"
2877
+ }
2878
+ }
2879
+ }]
2880
+ }],
2881
+ "lang": "tsx"
2882
+ },
2883
+ "annotations": []
2884
+ }],
2885
+ "southPanel": undefined
2886
+ }, {
2887
+ "northPanel": {
2888
+ "tabs": ["./src/index.tsx", "./tests/index.test.tsx"],
2889
+ "active": "./tests/index.test.tsx",
2890
+ "heightRatio": 1
2891
+ },
2892
+ "files": [{
2893
+ "name": "./src/index.tsx",
2894
+ "focus": "",
2895
+ "code": {
2896
+ "lines": [{
2897
+ "tokens": [{
2898
+ "content": "export",
2899
+ "props": {
2900
+ "style": {
2901
+ "color": "#81A1C1"
2902
+ }
2903
+ }
2904
+ }, {
2905
+ "content": " ",
2906
+ "props": {
2907
+ "style": {
2908
+ "color": "#D8DEE9FF"
2909
+ }
2910
+ }
2911
+ }, {
2912
+ "content": "const",
2913
+ "props": {
2914
+ "style": {
2915
+ "color": "#81A1C1"
2916
+ }
2917
+ }
2918
+ }, {
2919
+ "content": " ",
2920
+ "props": {
2921
+ "style": {
2922
+ "color": "#D8DEE9FF"
2923
+ }
2924
+ }
2925
+ }, {
2926
+ "content": "default",
2927
+ "props": {
2928
+ "style": {
2929
+ "color": "#D8DEE9"
2930
+ }
2931
+ }
2932
+ }, {
2933
+ "content": " () {",
2934
+ "props": {
2935
+ "style": {
2936
+ "color": "#D8DEE9FF"
2937
+ }
2938
+ }
2939
+ }]
2940
+ }, {
2941
+ "tokens": [{
2942
+ "content": " ",
2943
+ "props": {
2944
+ "style": {
2945
+ "color": "#D8DEE9FF"
2946
+ }
2947
+ }
2948
+ }, {
2949
+ "content": "return",
2950
+ "props": {
2951
+ "style": {
2952
+ "color": "#81A1C1"
2953
+ }
2954
+ }
2955
+ }, {
2956
+ "content": " (",
2957
+ "props": {
2958
+ "style": {
2959
+ "color": "#D8DEE9FF"
2960
+ }
2961
+ }
2962
+ }]
2963
+ }, {
2964
+ "tokens": [{
2965
+ "content": " ",
2966
+ "props": {
2967
+ "style": {
2968
+ "color": "#D8DEE9FF"
2969
+ }
2970
+ }
2971
+ }, {
2972
+ "content": "<div>",
2973
+ "props": {
2974
+ "style": {
2975
+ "color": "#81A1C1"
2976
+ }
2977
+ }
2978
+ }, {
2979
+ "content": "This is a UI Component",
2980
+ "props": {
2981
+ "style": {
2982
+ "color": "#D8DEE9FF"
2983
+ }
2984
+ }
2985
+ }, {
2986
+ "content": "</div>",
2987
+ "props": {
2988
+ "style": {
2989
+ "color": "#81A1C1"
2990
+ }
2991
+ }
2992
+ }]
2993
+ }, {
2994
+ "tokens": [{
2995
+ "content": " )",
2996
+ "props": {
2997
+ "style": {
2998
+ "color": "#D8DEE9FF"
2999
+ }
3000
+ }
3001
+ }, {
3002
+ "content": ";",
3003
+ "props": {
3004
+ "style": {
3005
+ "color": "#81A1C1"
3006
+ }
3007
+ }
3008
+ }]
3009
+ }, {
3010
+ "tokens": [{
3011
+ "content": "}",
3012
+ "props": {
3013
+ "style": {
3014
+ "color": "#D8DEE9FF"
3015
+ }
3016
+ }
3017
+ }]
3018
+ }],
3019
+ "lang": "tsx"
3020
+ },
3021
+ "annotations": []
3022
+ }, {
3023
+ "name": "./tests/index.test.tsx",
3024
+ "focus": "",
3025
+ "code": {
3026
+ "lines": [{
3027
+ "tokens": [{
3028
+ "content": "import",
3029
+ "props": {
3030
+ "style": {
3031
+ "color": "#81A1C1"
3032
+ }
3033
+ }
3034
+ }, {
3035
+ "content": " ",
3036
+ "props": {
3037
+ "style": {
3038
+ "color": "#D8DEE9FF"
3039
+ }
3040
+ }
3041
+ }, {
3042
+ "content": "{",
3043
+ "props": {
3044
+ "style": {
3045
+ "color": "#ECEFF4"
3046
+ }
3047
+ }
3048
+ }, {
3049
+ "content": " ",
3050
+ "props": {
3051
+ "style": {
3052
+ "color": "#D8DEE9FF"
3053
+ }
3054
+ }
3055
+ }, {
3056
+ "content": "render",
3057
+ "props": {
3058
+ "style": {
3059
+ "color": "#D8DEE9"
3060
+ }
3061
+ }
3062
+ }, {
3063
+ "content": ",",
3064
+ "props": {
3065
+ "style": {
3066
+ "color": "#ECEFF4"
3067
+ }
3068
+ }
3069
+ }, {
3070
+ "content": " ",
3071
+ "props": {
3072
+ "style": {
3073
+ "color": "#D8DEE9FF"
3074
+ }
3075
+ }
3076
+ }, {
3077
+ "content": "screen",
3078
+ "props": {
3079
+ "style": {
3080
+ "color": "#D8DEE9"
3081
+ }
3082
+ }
3083
+ }, {
3084
+ "content": " ",
3085
+ "props": {
3086
+ "style": {
3087
+ "color": "#D8DEE9FF"
3088
+ }
3089
+ }
3090
+ }, {
3091
+ "content": "}",
3092
+ "props": {
3093
+ "style": {
3094
+ "color": "#ECEFF4"
3095
+ }
3096
+ }
3097
+ }, {
3098
+ "content": " ",
3099
+ "props": {
3100
+ "style": {
3101
+ "color": "#D8DEE9FF"
3102
+ }
3103
+ }
3104
+ }, {
3105
+ "content": "from",
3106
+ "props": {
3107
+ "style": {
3108
+ "color": "#81A1C1"
3109
+ }
3110
+ }
3111
+ }, {
3112
+ "content": " ",
3113
+ "props": {
3114
+ "style": {
3115
+ "color": "#D8DEE9FF"
3116
+ }
3117
+ }
3118
+ }, {
3119
+ "content": "'",
3120
+ "props": {
3121
+ "style": {
3122
+ "color": "#ECEFF4"
3123
+ }
3124
+ }
3125
+ }, {
3126
+ "content": "@modern-js/runtime/testing",
3127
+ "props": {
3128
+ "style": {
3129
+ "color": "#A3BE8C"
3130
+ }
3131
+ }
3132
+ }, {
3133
+ "content": "'",
3134
+ "props": {
3135
+ "style": {
3136
+ "color": "#ECEFF4"
3137
+ }
3138
+ }
3139
+ }, {
3140
+ "content": ";",
3141
+ "props": {
3142
+ "style": {
3143
+ "color": "#81A1C1"
3144
+ }
3145
+ }
3146
+ }]
3147
+ }, {
3148
+ "tokens": []
3149
+ }, {
3150
+ "tokens": [{
3151
+ "content": "import",
3152
+ "props": {
3153
+ "style": {
3154
+ "color": "#81A1C1"
3155
+ }
3156
+ }
3157
+ }, {
3158
+ "content": " ",
3159
+ "props": {
3160
+ "style": {
3161
+ "color": "#D8DEE9FF"
3162
+ }
3163
+ }
3164
+ }, {
3165
+ "content": "Component",
3166
+ "props": {
3167
+ "style": {
3168
+ "color": "#D8DEE9"
3169
+ }
3170
+ }
3171
+ }, {
3172
+ "content": " ",
3173
+ "props": {
3174
+ "style": {
3175
+ "color": "#D8DEE9FF"
3176
+ }
3177
+ }
3178
+ }, {
3179
+ "content": "from",
3180
+ "props": {
3181
+ "style": {
3182
+ "color": "#81A1C1"
3183
+ }
3184
+ }
3185
+ }, {
3186
+ "content": " ",
3187
+ "props": {
3188
+ "style": {
3189
+ "color": "#D8DEE9FF"
3190
+ }
3191
+ }
3192
+ }, {
3193
+ "content": "'",
3194
+ "props": {
3195
+ "style": {
3196
+ "color": "#ECEFF4"
3197
+ }
3198
+ }
3199
+ }, {
3200
+ "content": "@/index",
3201
+ "props": {
3202
+ "style": {
3203
+ "color": "#A3BE8C"
3204
+ }
3205
+ }
3206
+ }, {
3207
+ "content": "'",
3208
+ "props": {
3209
+ "style": {
3210
+ "color": "#ECEFF4"
3211
+ }
3212
+ }
3213
+ }, {
3214
+ "content": ";",
3215
+ "props": {
3216
+ "style": {
3217
+ "color": "#81A1C1"
3218
+ }
3219
+ }
3220
+ }]
3221
+ }, {
3222
+ "tokens": []
3223
+ }, {
3224
+ "tokens": [{
3225
+ "content": "describe",
3226
+ "props": {
3227
+ "style": {
3228
+ "color": "#88C0D0"
3229
+ }
3230
+ }
3231
+ }, {
3232
+ "content": "(",
3233
+ "props": {
3234
+ "style": {
3235
+ "color": "#D8DEE9FF"
3236
+ }
3237
+ }
3238
+ }, {
3239
+ "content": "'",
3240
+ "props": {
3241
+ "style": {
3242
+ "color": "#ECEFF4"
3243
+ }
3244
+ }
3245
+ }, {
3246
+ "content": "default cases",
3247
+ "props": {
3248
+ "style": {
3249
+ "color": "#A3BE8C"
3250
+ }
3251
+ }
3252
+ }, {
3253
+ "content": "'",
3254
+ "props": {
3255
+ "style": {
3256
+ "color": "#ECEFF4"
3257
+ }
3258
+ }
3259
+ }, {
3260
+ "content": ",",
3261
+ "props": {
3262
+ "style": {
3263
+ "color": "#ECEFF4"
3264
+ }
3265
+ }
3266
+ }, {
3267
+ "content": " ",
3268
+ "props": {
3269
+ "style": {
3270
+ "color": "#D8DEE9FF"
3271
+ }
3272
+ }
3273
+ }, {
3274
+ "content": "()",
3275
+ "props": {
3276
+ "style": {
3277
+ "color": "#ECEFF4"
3278
+ }
3279
+ }
3280
+ }, {
3281
+ "content": " ",
3282
+ "props": {
3283
+ "style": {
3284
+ "color": "#D8DEE9FF"
3285
+ }
3286
+ }
3287
+ }, {
3288
+ "content": "=>",
3289
+ "props": {
3290
+ "style": {
3291
+ "color": "#81A1C1"
3292
+ }
3293
+ }
3294
+ }, {
3295
+ "content": " ",
3296
+ "props": {
3297
+ "style": {
3298
+ "color": "#D8DEE9FF"
3299
+ }
3300
+ }
3301
+ }, {
3302
+ "content": "{",
3303
+ "props": {
3304
+ "style": {
3305
+ "color": "#ECEFF4"
3306
+ }
3307
+ }
3308
+ }]
3309
+ }, {
3310
+ "tokens": [{
3311
+ "content": " ",
3312
+ "props": {
3313
+ "style": {
3314
+ "color": "#D8DEE9FF"
3315
+ }
3316
+ }
3317
+ }, {
3318
+ "content": "test",
3319
+ "props": {
3320
+ "style": {
3321
+ "color": "#88C0D0"
3322
+ }
3323
+ }
3324
+ }, {
3325
+ "content": "(",
3326
+ "props": {
3327
+ "style": {
3328
+ "color": "#D8DEE9FF"
3329
+ }
3330
+ }
3331
+ }, {
3332
+ "content": "'",
3333
+ "props": {
3334
+ "style": {
3335
+ "color": "#ECEFF4"
3336
+ }
3337
+ }
3338
+ }, {
3339
+ "content": "Rendered",
3340
+ "props": {
3341
+ "style": {
3342
+ "color": "#A3BE8C"
3343
+ }
3344
+ }
3345
+ }, {
3346
+ "content": "'",
3347
+ "props": {
3348
+ "style": {
3349
+ "color": "#ECEFF4"
3350
+ }
3351
+ }
3352
+ }, {
3353
+ "content": ",",
3354
+ "props": {
3355
+ "style": {
3356
+ "color": "#ECEFF4"
3357
+ }
3358
+ }
3359
+ }, {
3360
+ "content": " ",
3361
+ "props": {
3362
+ "style": {
3363
+ "color": "#D8DEE9FF"
3364
+ }
3365
+ }
3366
+ }, {
3367
+ "content": "()",
3368
+ "props": {
3369
+ "style": {
3370
+ "color": "#ECEFF4"
3371
+ }
3372
+ }
3373
+ }, {
3374
+ "content": " ",
3375
+ "props": {
3376
+ "style": {
3377
+ "color": "#D8DEE9FF"
3378
+ }
3379
+ }
3380
+ }, {
3381
+ "content": "=>",
3382
+ "props": {
3383
+ "style": {
3384
+ "color": "#81A1C1"
3385
+ }
3386
+ }
3387
+ }, {
3388
+ "content": " ",
3389
+ "props": {
3390
+ "style": {
3391
+ "color": "#D8DEE9FF"
3392
+ }
3393
+ }
3394
+ }, {
3395
+ "content": "{",
3396
+ "props": {
3397
+ "style": {
3398
+ "color": "#ECEFF4"
3399
+ }
3400
+ }
3401
+ }]
3402
+ }, {
3403
+ "tokens": [{
3404
+ "content": " ",
3405
+ "props": {
3406
+ "style": {
3407
+ "color": "#D8DEE9FF"
3408
+ }
3409
+ }
3410
+ }, {
3411
+ "content": "render",
3412
+ "props": {
3413
+ "style": {
3414
+ "color": "#88C0D0"
3415
+ }
3416
+ }
3417
+ }, {
3418
+ "content": "(",
3419
+ "props": {
3420
+ "style": {
3421
+ "color": "#D8DEE9FF"
3422
+ }
3423
+ }
3424
+ }, {
3425
+ "content": "<",
3426
+ "props": {
3427
+ "style": {
3428
+ "color": "#81A1C1"
3429
+ }
3430
+ }
3431
+ }, {
3432
+ "content": "Component",
3433
+ "props": {
3434
+ "style": {
3435
+ "color": "#8FBCBB"
3436
+ }
3437
+ }
3438
+ }, {
3439
+ "content": " ",
3440
+ "props": {
3441
+ "style": {
3442
+ "color": "#D8DEE9FF"
3443
+ }
3444
+ }
3445
+ }, {
3446
+ "content": "/>",
3447
+ "props": {
3448
+ "style": {
3449
+ "color": "#81A1C1"
3450
+ }
3451
+ }
3452
+ }, {
3453
+ "content": ")",
3454
+ "props": {
3455
+ "style": {
3456
+ "color": "#D8DEE9FF"
3457
+ }
3458
+ }
3459
+ }, {
3460
+ "content": ";",
3461
+ "props": {
3462
+ "style": {
3463
+ "color": "#81A1C1"
3464
+ }
3465
+ }
3466
+ }]
3467
+ }, {
3468
+ "tokens": [{
3469
+ "content": " ",
3470
+ "props": {
3471
+ "style": {
3472
+ "color": "#D8DEE9FF"
3473
+ }
3474
+ }
3475
+ }, {
3476
+ "content": "expect",
3477
+ "props": {
3478
+ "style": {
3479
+ "color": "#88C0D0"
3480
+ }
3481
+ }
3482
+ }, {
3483
+ "content": "(",
3484
+ "props": {
3485
+ "style": {
3486
+ "color": "#D8DEE9FF"
3487
+ }
3488
+ }
3489
+ }, {
3490
+ "content": "screen",
3491
+ "props": {
3492
+ "style": {
3493
+ "color": "#D8DEE9"
3494
+ }
3495
+ }
3496
+ }, {
3497
+ "content": ".",
3498
+ "props": {
3499
+ "style": {
3500
+ "color": "#ECEFF4"
3501
+ }
3502
+ }
3503
+ }, {
3504
+ "content": "getByText",
3505
+ "props": {
3506
+ "style": {
3507
+ "color": "#88C0D0"
3508
+ }
3509
+ }
3510
+ }, {
3511
+ "content": "(",
3512
+ "props": {
3513
+ "style": {
3514
+ "color": "#D8DEE9FF"
3515
+ }
3516
+ }
3517
+ }, {
3518
+ "content": "'",
3519
+ "props": {
3520
+ "style": {
3521
+ "color": "#ECEFF4"
3522
+ }
3523
+ }
3524
+ }, {
3525
+ "content": "This is a UI Component",
3526
+ "props": {
3527
+ "style": {
3528
+ "color": "#A3BE8C"
3529
+ }
3530
+ }
3531
+ }, {
3532
+ "content": "'",
3533
+ "props": {
3534
+ "style": {
3535
+ "color": "#ECEFF4"
3536
+ }
3537
+ }
3538
+ }, {
3539
+ "content": "))",
3540
+ "props": {
3541
+ "style": {
3542
+ "color": "#D8DEE9FF"
3543
+ }
3544
+ }
3545
+ }, {
3546
+ "content": ".",
3547
+ "props": {
3548
+ "style": {
3549
+ "color": "#ECEFF4"
3550
+ }
3551
+ }
3552
+ }, {
3553
+ "content": "toBeInTheDocument",
3554
+ "props": {
3555
+ "style": {
3556
+ "color": "#88C0D0"
3557
+ }
3558
+ }
3559
+ }, {
3560
+ "content": "()",
3561
+ "props": {
3562
+ "style": {
3563
+ "color": "#D8DEE9FF"
3564
+ }
3565
+ }
3566
+ }, {
3567
+ "content": ";",
3568
+ "props": {
3569
+ "style": {
3570
+ "color": "#81A1C1"
3571
+ }
3572
+ }
3573
+ }]
3574
+ }, {
3575
+ "tokens": [{
3576
+ "content": " ",
3577
+ "props": {
3578
+ "style": {
3579
+ "color": "#D8DEE9FF"
3580
+ }
3581
+ }
3582
+ }, {
3583
+ "content": "}",
3584
+ "props": {
3585
+ "style": {
3586
+ "color": "#ECEFF4"
3587
+ }
3588
+ }
3589
+ }, {
3590
+ "content": ")",
3591
+ "props": {
3592
+ "style": {
3593
+ "color": "#D8DEE9FF"
3594
+ }
3595
+ }
3596
+ }, {
3597
+ "content": ";",
3598
+ "props": {
3599
+ "style": {
3600
+ "color": "#81A1C1"
3601
+ }
3602
+ }
3603
+ }]
3604
+ }, {
3605
+ "tokens": [{
3606
+ "content": "}",
3607
+ "props": {
3608
+ "style": {
3609
+ "color": "#ECEFF4"
3610
+ }
3611
+ }
3612
+ }, {
3613
+ "content": ")",
3614
+ "props": {
3615
+ "style": {
3616
+ "color": "#D8DEE9FF"
3617
+ }
3618
+ }
3619
+ }, {
3620
+ "content": ";",
3621
+ "props": {
3622
+ "style": {
3623
+ "color": "#81A1C1"
3624
+ }
3625
+ }
3626
+ }]
3627
+ }],
3628
+ "lang": "tsx"
3629
+ },
3630
+ "annotations": []
3631
+ }],
3632
+ "southPanel": undefined
3633
+ }, {
3634
+ "northPanel": {
3635
+ "tabs": ["./src/index.tsx", ""],
3636
+ "active": "",
3637
+ "heightRatio": 1
3638
+ },
3639
+ "files": [{
3640
+ "name": "./src/index.tsx",
3641
+ "focus": "",
3642
+ "code": {
3643
+ "lines": [{
3644
+ "tokens": [{
3645
+ "content": "export",
3646
+ "props": {
3647
+ "style": {
3648
+ "color": "#81A1C1"
3649
+ }
3650
+ }
3651
+ }, {
3652
+ "content": " ",
3653
+ "props": {
3654
+ "style": {
3655
+ "color": "#D8DEE9FF"
3656
+ }
3657
+ }
3658
+ }, {
3659
+ "content": "const",
3660
+ "props": {
3661
+ "style": {
3662
+ "color": "#81A1C1"
3663
+ }
3664
+ }
3665
+ }, {
3666
+ "content": " ",
3667
+ "props": {
3668
+ "style": {
3669
+ "color": "#D8DEE9FF"
3670
+ }
3671
+ }
3672
+ }, {
3673
+ "content": "default",
3674
+ "props": {
3675
+ "style": {
3676
+ "color": "#D8DEE9"
3677
+ }
3678
+ }
3679
+ }, {
3680
+ "content": " () {",
3681
+ "props": {
3682
+ "style": {
3683
+ "color": "#D8DEE9FF"
3684
+ }
3685
+ }
3686
+ }]
3687
+ }, {
3688
+ "tokens": [{
3689
+ "content": " ",
3690
+ "props": {
3691
+ "style": {
3692
+ "color": "#D8DEE9FF"
3693
+ }
3694
+ }
3695
+ }, {
3696
+ "content": "return",
3697
+ "props": {
3698
+ "style": {
3699
+ "color": "#81A1C1"
3700
+ }
3701
+ }
3702
+ }, {
3703
+ "content": " (",
3704
+ "props": {
3705
+ "style": {
3706
+ "color": "#D8DEE9FF"
3707
+ }
3708
+ }
3709
+ }]
3710
+ }, {
3711
+ "tokens": [{
3712
+ "content": " ",
3713
+ "props": {
3714
+ "style": {
3715
+ "color": "#D8DEE9FF"
3716
+ }
3717
+ }
3718
+ }, {
3719
+ "content": "<div>",
3720
+ "props": {
3721
+ "style": {
3722
+ "color": "#81A1C1"
3723
+ }
3724
+ }
3725
+ }, {
3726
+ "content": "This is a UI Component",
3727
+ "props": {
3728
+ "style": {
3729
+ "color": "#D8DEE9FF"
3730
+ }
3731
+ }
3732
+ }, {
3733
+ "content": "</div>",
3734
+ "props": {
3735
+ "style": {
3736
+ "color": "#81A1C1"
3737
+ }
3738
+ }
3739
+ }]
3740
+ }, {
3741
+ "tokens": [{
3742
+ "content": " )",
3743
+ "props": {
3744
+ "style": {
3745
+ "color": "#D8DEE9FF"
3746
+ }
3747
+ }
3748
+ }, {
3749
+ "content": ";",
3750
+ "props": {
3751
+ "style": {
3752
+ "color": "#81A1C1"
3753
+ }
3754
+ }
3755
+ }]
3756
+ }, {
3757
+ "tokens": [{
3758
+ "content": "}",
3759
+ "props": {
3760
+ "style": {
3761
+ "color": "#D8DEE9FF"
3762
+ }
3763
+ }
3764
+ }]
3765
+ }],
3766
+ "lang": "tsx"
3767
+ },
3768
+ "annotations": []
3769
+ }, {
3770
+ "name": "",
3771
+ "focus": "",
3772
+ "code": {
3773
+ "lines": [{
3774
+ "tokens": [{
3775
+ "content": "pnpm ",
3776
+ "props": {
3777
+ "style": {
3778
+ "color": "#D8DEE9FF"
3779
+ }
3780
+ }
3781
+ }, {
3782
+ "content": "test",
3783
+ "props": {
3784
+ "style": {
3785
+ "color": "#88C0D0"
3786
+ }
3787
+ }
3788
+ }]
3789
+ }, {
3790
+ "tokens": [{
3791
+ "content": "## or",
3792
+ "props": {
3793
+ "style": {
3794
+ "color": "#616E88"
3795
+ }
3796
+ }
3797
+ }]
3798
+ }, {
3799
+ "tokens": [{
3800
+ "content": "yarn ",
3801
+ "props": {
3802
+ "style": {
3803
+ "color": "#D8DEE9FF"
3804
+ }
3805
+ }
3806
+ }, {
3807
+ "content": "test",
3808
+ "props": {
3809
+ "style": {
3810
+ "color": "#88C0D0"
3811
+ }
3812
+ }
3813
+ }]
3814
+ }, {
3815
+ "tokens": [{
3816
+ "content": "## or",
3817
+ "props": {
3818
+ "style": {
3819
+ "color": "#616E88"
3820
+ }
3821
+ }
3822
+ }]
3823
+ }, {
3824
+ "tokens": [{
3825
+ "content": "npm run ",
3826
+ "props": {
3827
+ "style": {
3828
+ "color": "#D8DEE9FF"
3829
+ }
3830
+ }
3831
+ }, {
3832
+ "content": "test",
3833
+ "props": {
3834
+ "style": {
3835
+ "color": "#88C0D0"
3836
+ }
3837
+ }
3838
+ }]
3839
+ }],
3840
+ "lang": "bash"
3841
+ },
3842
+ "annotations": []
3843
+ }],
3844
+ "southPanel": undefined
3845
+ }],
3846
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
3847
+ children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.CodeSlot, {})
3848
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
3849
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
3850
+ children: "First is the code of the component."
3851
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.CodeSlot, {})]
3852
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
3853
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.p, {
3854
+ children: "Then in the test file, we can do this."
3855
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
3856
+ children: ["Where ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
3857
+ children: "@"
3858
+ }), " points to the source directory, defined in ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
3859
+ children: "tests/tsconfig.json"
3860
+ }), " in the initialization project."]
3861
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.CodeSlot, {})]
3862
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
3863
+ children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components.p, {
3864
+ children: ["Finally we can execute ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components.code, {
3865
+ children: "modern test"
3866
+ }), "."]
3867
+ }), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CH.CodeSlot, {})]
3868
+ })]
3869
+ })]
3870
+ });
3871
+ }
3872
+ function MDXContent(props = {}) {
3873
+ const {wrapper: MDXLayout} = props.components || ({});
3874
+ return MDXLayout ? (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(MDXLayout, Object.assign({}, props, {
3875
+ children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_createMdxContent, props)
3876
+ })) : _createMdxContent(props);
3877
+ }
3878
+ /* harmony default export */ __webpack_exports__["default"] = (MDXContent);
3879
+ function _missingMdxReference(id, component, place) {
3880
+ throw new Error("Expected " + (component ? "component" : "object") + " `" + id + "` to be defined: you likely forgot to import, pass, or provide it." + (place ? "\nIt’s referenced in your code at `" + place + "` in `/Users/bytedance/github/targeral/modern-dev/website/module-tools/docs/en/guide/basic/test-your-project.mdx`" : ""));
3881
+ }
3882
+
3883
+
3884
+ /***/ })
3885
+
3886
+ }]);
3887
+ //# sourceMappingURL=en_guide_basic_test-your-project.js.map