@wtf/project-docs 6.0.0 → 6.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (404) hide show
  1. package/README.md +2 -0
  2. package/api/.generated +66 -0
  3. package/api/@wtf/project-astro/config/functions/baseConfig.md +1 -1
  4. package/api/@wtf/project-astro/config/functions/baseOf.md +1 -1
  5. package/api/@wtf/project-astro/config/functions/siteOf.md +1 -1
  6. package/api/@wtf/project-astro/config/type-aliases/BaseOptions.md +6 -6
  7. package/api/@wtf/project-astro/config/type-aliases/Env.md +1 -1
  8. package/api/@wtf/project-astro/errors/classes/BrokenLinksError.md +5 -5
  9. package/api/@wtf/project-astro/errors/classes/InvalidRedirectError.md +6 -6
  10. package/api/@wtf/project-astro/errors/classes/RedirectedLinksError.md +5 -5
  11. package/api/@wtf/project-astro/errors/classes/SiteError.md +4 -4
  12. package/api/@wtf/project-astro/index/type-aliases/AstroPlatform.md +1 -1
  13. package/api/@wtf/project-astro/index/type-aliases/BrokenLink.md +3 -3
  14. package/api/@wtf/project-astro/index/type-aliases/IgnoredLine.md +4 -4
  15. package/api/@wtf/project-astro/index/type-aliases/RedirectInput.md +2 -2
  16. package/api/@wtf/project-astro/index/type-aliases/RedirectMatch.md +3 -3
  17. package/api/@wtf/project-astro/index/type-aliases/RedirectRule.md +5 -5
  18. package/api/@wtf/project-astro/index/type-aliases/RedirectStatus.md +1 -1
  19. package/api/@wtf/project-astro/index/type-aliases/RedirectedLink.md +2 -2
  20. package/api/@wtf/project-astro/index/type-aliases/Redirects.md +3 -3
  21. package/api/@wtf/project-astro/index/type-aliases/RouteParams.md +3 -3
  22. package/api/@wtf/project-astro/links/functions/brokenLinksIn.md +1 -1
  23. package/api/@wtf/project-astro/links/functions/links.md +1 -1
  24. package/api/@wtf/project-astro/links/functions/redirectedLinksIn.md +1 -1
  25. package/api/@wtf/project-astro/links/type-aliases/LinksOptions.md +2 -2
  26. package/api/@wtf/project-astro/links/variables/LINKS.md +1 -1
  27. package/api/@wtf/project-astro/pages/functions/fixSearchUrlsIn.md +1 -1
  28. package/api/@wtf/project-astro/pages/functions/moveConflictingPages.md +1 -1
  29. package/api/@wtf/project-astro/pages/functions/pages.md +1 -1
  30. package/api/@wtf/project-astro/pages/functions/prefixedLocaleOf.md +1 -1
  31. package/api/@wtf/project-astro/pages/functions/redirectBaseToLocaleIn.md +1 -1
  32. package/api/@wtf/project-astro/pages/functions/slashFolderLinksIn.md +1 -1
  33. package/api/@wtf/project-astro/pages/type-aliases/I18n.md +1 -1
  34. package/api/@wtf/project-astro/pages/type-aliases/PagesOptions.md +2 -2
  35. package/api/@wtf/project-astro/pages/variables/PAGES.md +1 -1
  36. package/api/@wtf/project-astro/preview/functions/files.md +1 -1
  37. package/api/@wtf/project-astro/preview/functions/listen.md +1 -1
  38. package/api/@wtf/project-astro/preview/functions/notFound.md +1 -1
  39. package/api/@wtf/project-astro/preview/functions/pagesOf.md +1 -1
  40. package/api/@wtf/project-astro/preview/functions/previewOf.md +1 -1
  41. package/api/@wtf/project-astro/preview/type-aliases/FilesOptions.md +2 -2
  42. package/api/@wtf/project-astro/preview/type-aliases/Handler.md +1 -1
  43. package/api/@wtf/project-astro/preview/type-aliases/ListenOptions.md +4 -4
  44. package/api/@wtf/project-astro/preview/type-aliases/Listening.md +5 -5
  45. package/api/@wtf/project-astro/preview/type-aliases/Pages.md +3 -3
  46. package/api/@wtf/project-astro/preview/type-aliases/Preview.md +4 -4
  47. package/api/@wtf/project-astro/preview/type-aliases/PreviewOptions.md +3 -3
  48. package/api/@wtf/project-astro/redirects/functions/formatRedirects.md +1 -1
  49. package/api/@wtf/project-astro/redirects/functions/matchRedirect.md +1 -1
  50. package/api/@wtf/project-astro/redirects/functions/parseRedirects.md +1 -1
  51. package/api/@wtf/project-astro/redirects/variables/MAX_PARTS.md +1 -1
  52. package/api/@wtf/project-astro/redirects/variables/MAX_RULES.md +1 -1
  53. package/api/@wtf/project-astro/redirects/variables/MAX_SIZE.md +1 -1
  54. package/api/@wtf/project-astro/routes/functions/routeParams.md +1 -1
  55. package/api/@wtf/project-astro/routes/type-aliases/RouteParamsOptions.md +2 -2
  56. package/api/@wtf/project-astro/schema/functions/astroSchemaWith.md +1 -1
  57. package/api/@wtf/project-astro/schema/type-aliases/AstroSection.md +1 -1
  58. package/api/@wtf/project-astro/schema/type-aliases/JsonSchema.md +12 -12
  59. package/api/@wtf/project-astro/schema/type-aliases/OptionsSchema.md +1 -1
  60. package/api/@wtf/project-astro/schema/variables/astroProperties.md +1 -1
  61. package/api/@wtf/project-astro/schema/variables/astroSchema.md +1 -1
  62. package/api/@wtf/project-bare/README.md +69 -0
  63. package/api/@wtf/project-bare/bundle/README.md +34 -0
  64. package/api/@wtf/project-bare/bundle/functions/bundleTests.md +23 -0
  65. package/api/@wtf/project-bare/bundle/type-aliases/Bundle.md +35 -0
  66. package/api/@wtf/project-bare/bundle/type-aliases/BundleOptions.md +95 -0
  67. package/api/@wtf/project-bare/bundle/variables/BUNDLE_DIR.md +11 -0
  68. package/api/@wtf/project-bare/bundle/variables/SHIM.md +11 -0
  69. package/api/@wtf/project-bare/errors/README.md +18 -0
  70. package/api/@wtf/project-bare/errors/classes/BareBuildError.md +178 -0
  71. package/api/@wtf/project-bare/errors/classes/BareError.md +194 -0
  72. package/api/@wtf/project-bare/errors/classes/BareMissingModuleError.md +178 -0
  73. package/api/@wtf/project-bare/errors/classes/BareTimeoutError.md +172 -0
  74. package/api/@wtf/project-bare/errors/classes/BareUnavailableError.md +171 -0
  75. package/api/@wtf/project-bare/errors/classes/NoTestFilesError.md +171 -0
  76. package/api/@wtf/project-bare/expect/README.md +40 -0
  77. package/api/@wtf/project-bare/expect/classes/AssertionError.md +202 -0
  78. package/api/@wtf/project-bare/expect/classes/AsymmetricMatcher.md +66 -0
  79. package/api/@wtf/project-bare/expect/functions/equals.md +32 -0
  80. package/api/@wtf/project-bare/expect/functions/format.md +27 -0
  81. package/api/@wtf/project-bare/expect/functions/pollWith.md +21 -0
  82. package/api/@wtf/project-bare/expect/functions/retry.md +28 -0
  83. package/api/@wtf/project-bare/expect/functions/sleep.md +21 -0
  84. package/api/@wtf/project-bare/expect/functions/timersOf.md +15 -0
  85. package/api/@wtf/project-bare/expect/type-aliases/Assertions.md +19 -0
  86. package/api/@wtf/project-bare/expect/type-aliases/ExpectStatics.md +220 -0
  87. package/api/@wtf/project-bare/expect/type-aliases/Matchers.md +654 -0
  88. package/api/@wtf/project-bare/expect/type-aliases/MockLike.md +27 -0
  89. package/api/@wtf/project-bare/expect/type-aliases/PollOptions.md +31 -0
  90. package/api/@wtf/project-bare/expect/type-aliases/Timers.md +66 -0
  91. package/api/@wtf/project-bare/expect/variables/expect.md +17 -0
  92. package/api/@wtf/project-bare/globals/README.md +10 -0
  93. package/api/@wtf/project-bare/globals/variables/BARE_GLOBALS.md +14 -0
  94. package/api/@wtf/project-bare/modules/README.md +12 -0
  95. package/api/@wtf/project-bare/modules/variables/NODE_MODULES.md +12 -0
  96. package/api/@wtf/project-bare/node/README.md +9 -0
  97. package/api/@wtf/project-bare/node/functions/testFilesOf.md +27 -0
  98. package/api/@wtf/project-bare/run/README.md +18 -0
  99. package/api/@wtf/project-bare/run/functions/runBare.md +24 -0
  100. package/api/@wtf/project-bare/run/type-aliases/RunBareOptions.md +71 -0
  101. package/api/@wtf/project-bare/shim/README.md +65 -0
  102. package/api/@wtf/project-bare/shim/functions/createRunner.md +16 -0
  103. package/api/@wtf/project-bare/shim/functions/run.md +21 -0
  104. package/api/@wtf/project-bare/shim/type-aliases/Describe.md +171 -0
  105. package/api/@wtf/project-bare/shim/type-aliases/Hook.md +22 -0
  106. package/api/@wtf/project-bare/shim/type-aliases/It.md +236 -0
  107. package/api/@wtf/project-bare/shim/type-aliases/Mock.md +36 -0
  108. package/api/@wtf/project-bare/shim/type-aliases/RunOptions.md +112 -0
  109. package/api/@wtf/project-bare/shim/type-aliases/Runner.md +123 -0
  110. package/api/@wtf/project-bare/shim/type-aliases/Summary.md +85 -0
  111. package/api/@wtf/project-bare/shim/type-aliases/TestContext.md +81 -0
  112. package/api/@wtf/project-bare/shim/type-aliases/TestFunction.md +21 -0
  113. package/api/@wtf/project-bare/shim/type-aliases/TestOptions.md +21 -0
  114. package/api/@wtf/project-bare/shim/variables/afterAll.md +11 -0
  115. package/api/@wtf/project-bare/shim/variables/afterEach.md +11 -0
  116. package/api/@wtf/project-bare/shim/variables/beforeAll.md +11 -0
  117. package/api/@wtf/project-bare/shim/variables/beforeEach.md +11 -0
  118. package/api/@wtf/project-bare/shim/variables/describe.md +11 -0
  119. package/api/@wtf/project-bare/shim/variables/it.md +11 -0
  120. package/api/@wtf/project-bare/shim/variables/onTestFinished.md +21 -0
  121. package/api/@wtf/project-bare/shim/variables/test.md +11 -0
  122. package/api/@wtf/project-bare/shim/variables/vi.md +23 -0
  123. package/api/@wtf/project-bare/test/README.md +28 -0
  124. package/api/@wtf/project-bare/test/functions/bareTest.md +24 -0
  125. package/api/@wtf/project-bare/test/type-aliases/BareTestOptions.md +11 -0
  126. package/api/@wtf/project-bare/test/type-aliases/BareTestResult.md +33 -0
  127. package/api/@wtf/project-bare/type-aliases/BarePlatform.md +14 -0
  128. package/api/@wtf/project-config/define/functions/defineConfig.md +1 -1
  129. package/api/@wtf/project-config/env/functions/envNameOf.md +1 -1
  130. package/api/@wtf/project-config/env/functions/envPrefixOf.md +1 -1
  131. package/api/@wtf/project-config/env/functions/jsonSchemaOf.md +1 -1
  132. package/api/@wtf/project-config/env/functions/variablesOf.md +1 -1
  133. package/api/@wtf/project-config/env/functions/withEnvironment.md +1 -1
  134. package/api/@wtf/project-config/env/type-aliases/Environment.md +1 -1
  135. package/api/@wtf/project-config/env/type-aliases/EnvironmentValue.md +3 -3
  136. package/api/@wtf/project-config/env/type-aliases/WithEnvironment.md +3 -3
  137. package/api/@wtf/project-config/errors/classes/ConfigError.md +4 -4
  138. package/api/@wtf/project-config/errors/classes/ConfigFileMismatchError.md +6 -6
  139. package/api/@wtf/project-config/errors/classes/ConfigInCodeError.md +5 -5
  140. package/api/@wtf/project-config/errors/classes/ConfigPathError.md +5 -5
  141. package/api/@wtf/project-config/errors/classes/EnvPlaceholderUnsetError.md +6 -6
  142. package/api/@wtf/project-config/errors/classes/InvalidConfigFileError.md +5 -5
  143. package/api/@wtf/project-config/errors/classes/InvalidSectionError.md +7 -7
  144. package/api/@wtf/project-config/errors/classes/NamedError.md +12 -12
  145. package/api/@wtf/project-config/errors/classes/NoConfigFileError.md +5 -5
  146. package/api/@wtf/project-config/errors/classes/NoConfigValueError.md +6 -6
  147. package/api/@wtf/project-config/errors/classes/SyncSchemaError.md +5 -5
  148. package/api/@wtf/project-config/errors/classes/UnwritableConfigFileError.md +5 -5
  149. package/api/@wtf/project-config/errors/type-aliases/NamedErrorCode.md +1 -1
  150. package/api/@wtf/project-config/errors/type-aliases/NamedErrorDetails.md +9 -9
  151. package/api/@wtf/project-config/index/type-aliases/ConfigDefaults.md +3 -3
  152. package/api/@wtf/project-config/index/type-aliases/ConfigEnvironment.md +4 -4
  153. package/api/@wtf/project-config/index/type-aliases/ConfigIssue.md +3 -3
  154. package/api/@wtf/project-config/index/type-aliases/ConfigNames.md +4 -4
  155. package/api/@wtf/project-config/index/type-aliases/ConfigPath.md +1 -1
  156. package/api/@wtf/project-config/index/type-aliases/ConfigPlatform.md +1 -1
  157. package/api/@wtf/project-config/index/type-aliases/ConfigSection.md +1 -1
  158. package/api/@wtf/project-config/index/type-aliases/ConfigSource.md +3 -3
  159. package/api/@wtf/project-config/index/type-aliases/ConfigWrite.md +10 -10
  160. package/api/@wtf/project-config/index/type-aliases/ImportModule.md +1 -1
  161. package/api/@wtf/project-config/index/type-aliases/JsonSchema.md +1 -1
  162. package/api/@wtf/project-config/index/type-aliases/LocatedConfig.md +4 -4
  163. package/api/@wtf/project-config/index/type-aliases/NamespaceConfig.md +2 -2
  164. package/api/@wtf/project-config/index/type-aliases/ResolvedConfig.md +9 -9
  165. package/api/@wtf/project-config/index/type-aliases/SectionSchema.md +1 -1
  166. package/api/@wtf/project-config/index/type-aliases/SectionsOf.md +1 -1
  167. package/api/@wtf/project-config/index/type-aliases/ValidateSection.md +1 -1
  168. package/api/@wtf/project-config/load/functions/ignoredWarning.md +1 -1
  169. package/api/@wtf/project-config/load/functions/importFileModule.md +1 -1
  170. package/api/@wtf/project-config/load/functions/loadConfig.md +1 -1
  171. package/api/@wtf/project-config/load/type-aliases/LoadLayers.md +3 -3
  172. package/api/@wtf/project-config/load/type-aliases/LoadOptions.md +3 -3
  173. package/api/@wtf/project-config/load/type-aliases/LoadPlatform.md +1 -1
  174. package/api/@wtf/project-config/locate/functions/configFilesOf.md +1 -1
  175. package/api/@wtf/project-config/locate/functions/configNamesOf.md +1 -1
  176. package/api/@wtf/project-config/locate/functions/jsonFilesOf.md +1 -1
  177. package/api/@wtf/project-config/locate/functions/locateConfig.md +1 -1
  178. package/api/@wtf/project-config/locate/functions/projectRootOf.md +1 -1
  179. package/api/@wtf/project-config/locate/type-aliases/LocateNames.md +2 -2
  180. package/api/@wtf/project-config/locate/type-aliases/LocateOptions.md +2 -2
  181. package/api/@wtf/project-config/locate/type-aliases/NamespaceNames.md +2 -2
  182. package/api/@wtf/project-config/locate/variables/DEFAULT_NAMESPACE.md +1 -1
  183. package/api/@wtf/project-config/named/functions/factoryOf.md +1 -1
  184. package/api/@wtf/project-config/named/functions/namedSchema.md +1 -1
  185. package/api/@wtf/project-config/named/functions/namedSetSchema.md +1 -1
  186. package/api/@wtf/project-config/named/functions/resolveNamed.md +1 -1
  187. package/api/@wtf/project-config/named/functions/resolveNamedSet.md +1 -1
  188. package/api/@wtf/project-config/named/type-aliases/LoadModule.md +1 -1
  189. package/api/@wtf/project-config/named/type-aliases/ModuleReference.md +3 -3
  190. package/api/@wtf/project-config/named/type-aliases/NamedCheckOptions.md +5 -5
  191. package/api/@wtf/project-config/named/type-aliases/NamedEntries.md +1 -1
  192. package/api/@wtf/project-config/named/type-aliases/NamedFactory.md +1 -1
  193. package/api/@wtf/project-config/named/type-aliases/NamedOptions.md +1 -1
  194. package/api/@wtf/project-config/named/type-aliases/NamedReference.md +1 -1
  195. package/api/@wtf/project-config/named/type-aliases/NamedResolveOptions.md +3 -3
  196. package/api/@wtf/project-config/named/type-aliases/NamedSchema.md +1 -1
  197. package/api/@wtf/project-config/named/type-aliases/NamedSchemaOptions.md +4 -4
  198. package/api/@wtf/project-config/named/type-aliases/NamedSet.md +1 -1
  199. package/api/@wtf/project-config/named/type-aliases/NamedSetOptions.md +2 -2
  200. package/api/@wtf/project-config/named/type-aliases/NamedSetSchemaOptions.md +3 -3
  201. package/api/@wtf/project-config/named/type-aliases/NamedSets.md +1 -1
  202. package/api/@wtf/project-config/named/type-aliases/NamedUse.md +1 -1
  203. package/api/@wtf/project-config/path/functions/configPathOf.md +1 -1
  204. package/api/@wtf/project-config/path/functions/textOfConfigPath.md +1 -1
  205. package/api/@wtf/project-config/path/functions/valueAt.md +1 -1
  206. package/api/@wtf/project-config/placeholder/functions/expandPlaceholders.md +1 -1
  207. package/api/@wtf/project-config/placeholder/functions/expandString.md +1 -1
  208. package/api/@wtf/project-config/schema/functions/namespaceSchema.md +1 -1
  209. package/api/@wtf/project-config/schema/functions/sectionIdOf.md +1 -1
  210. package/api/@wtf/project-config/schema/type-aliases/NamespaceSchemaOptions.md +3 -3
  211. package/api/@wtf/project-config/schema/variables/JSON_SCHEMA_DRAFT.md +1 -1
  212. package/api/@wtf/project-config/section/functions/issuesOf.md +1 -1
  213. package/api/@wtf/project-config/section/functions/issuesOfSync.md +1 -1
  214. package/api/@wtf/project-config/section/functions/mergeSection.md +1 -1
  215. package/api/@wtf/project-config/section/functions/sectionOf.md +1 -1
  216. package/api/@wtf/project-config/section/type-aliases/Checked.md +3 -3
  217. package/api/@wtf/project-config/write/functions/setConfigValue.md +1 -1
  218. package/api/@wtf/project-config/write/functions/unsetConfigValue.md +1 -1
  219. package/api/@wtf/project-config/write/type-aliases/WriteOptions.md +2 -2
  220. package/api/@wtf/project-oxfmt/config/functions/oxfmtConfig.md +1 -1
  221. package/api/@wtf/project-oxfmt/config/type-aliases/OxfmtOptions.md +1 -1
  222. package/api/@wtf/project-oxfmt/config/variables/OXFMT_DEFAULTS.md +6 -6
  223. package/api/@wtf/project-oxfmt/config/variables/default.md +1 -1
  224. package/api/@wtf/project-oxfmt/schema/variables/oxfmtSchema.md +1 -1
  225. package/api/@wtf/project-oxlint/config/functions/oxlintConfig.md +1 -1
  226. package/api/@wtf/project-oxlint/config/type-aliases/OxlintOptions.md +1 -1
  227. package/api/@wtf/project-oxlint/config/variables/OXLINT_DEFAULTS.md +17 -17
  228. package/api/@wtf/project-oxlint/config/variables/default.md +1 -1
  229. package/api/@wtf/project-oxlint/schema/variables/oxlintSchema.md +1 -1
  230. package/api/@wtf/project-resolve/condition/variables/SOURCE_CONDITION.md +1 -1
  231. package/api/@wtf/project-resolve/env/functions/isHook.md +1 -1
  232. package/api/@wtf/project-resolve/env/functions/optionsWithoutHook.md +1 -1
  233. package/api/@wtf/project-resolve/env/functions/withoutHook.md +1 -1
  234. package/api/@wtf/project-resolve/env/type-aliases/Env.md +1 -1
  235. package/api/@wtf/project-resolve/errors/classes/ResolveError.md +4 -4
  236. package/api/@wtf/project-resolve/errors/classes/UnreadableWorkspaceError.md +6 -6
  237. package/api/@wtf/project-resolve/errors/classes/WorkspaceError.md +5 -5
  238. package/api/@wtf/project-resolve/hooks/functions/candidatesOf.md +1 -1
  239. package/api/@wtf/project-resolve/hooks/functions/sourcesHookOf.md +1 -1
  240. package/api/@wtf/project-resolve/hooks/functions/sourcesOf.md +1 -1
  241. package/api/@wtf/project-resolve/hooks/variables/resolveTypeScript.md +1 -1
  242. package/api/@wtf/project-resolve/node/functions/nodePlatform.md +5 -5
  243. package/api/@wtf/project-resolve/register/variables/REGISTERED.md +1 -1
  244. package/api/@wtf/project-resolve/workspace/functions/filesOf.md +1 -1
  245. package/api/@wtf/project-resolve/workspace/functions/packagesOf.md +1 -1
  246. package/api/@wtf/project-resolve/workspace/functions/workspaceAt.md +1 -1
  247. package/api/@wtf/project-resolve/workspace/functions/workspaceOf.md +1 -1
  248. package/api/@wtf/project-resolve/workspace/functions/workspaceRootAbove.md +1 -1
  249. package/api/@wtf/project-resolve/workspace/functions/workspaceRootOf.md +1 -1
  250. package/api/@wtf/project-resolve/workspace/type-aliases/Agent.md +1 -1
  251. package/api/@wtf/project-resolve/workspace/type-aliases/DirectoryEntry.md +4 -4
  252. package/api/@wtf/project-resolve/workspace/type-aliases/FileContents.md +3 -3
  253. package/api/@wtf/project-resolve/workspace/type-aliases/PackageManager.md +4 -4
  254. package/api/@wtf/project-resolve/workspace/type-aliases/PackageManagerName.md +1 -1
  255. package/api/@wtf/project-resolve/workspace/type-aliases/ProcessWorkspaceOptions.md +1 -1
  256. package/api/@wtf/project-resolve/workspace/type-aliases/Workspace.md +5 -5
  257. package/api/@wtf/project-resolve/workspace/type-aliases/WorkspaceDirectoryHandle.md +6 -6
  258. package/api/@wtf/project-resolve/workspace/type-aliases/WorkspaceFileHandle.md +3 -3
  259. package/api/@wtf/project-resolve/workspace/type-aliases/WorkspaceFiles.md +6 -6
  260. package/api/@wtf/project-resolve/workspace/type-aliases/WorkspaceOptions.md +2 -2
  261. package/api/@wtf/project-resolve/workspace/type-aliases/WorkspacePackage.md +4 -4
  262. package/api/@wtf/project-resolve/workspace/type-aliases/WorkspacePaths.md +7 -7
  263. package/api/@wtf/project-storybook/config/functions/escapeAttribute.md +1 -1
  264. package/api/@wtf/project-storybook/config/functions/folderOf.md +1 -1
  265. package/api/@wtf/project-storybook/config/functions/metaTags.md +1 -1
  266. package/api/@wtf/project-storybook/config/functions/refsOf.md +1 -1
  267. package/api/@wtf/project-storybook/config/functions/storybookConfig.md +1 -1
  268. package/api/@wtf/project-storybook/config/type-aliases/ComposedRef.md +3 -3
  269. package/api/@wtf/project-storybook/config/type-aliases/StorybookConfig.md +8 -8
  270. package/api/@wtf/project-storybook/config/type-aliases/StorybookOptions.md +13 -13
  271. package/api/@wtf/project-storybook/config/type-aliases/StorybookRef.md +4 -4
  272. package/api/@wtf/project-storybook/config/type-aliases/VersionLabel.md +4 -4
  273. package/api/@wtf/project-storybook/manager/functions/registerVersion.md +1 -1
  274. package/api/@wtf/project-storybook/manager/type-aliases/VersionOptions.md +2 -2
  275. package/api/@wtf/project-storybook/schema/type-aliases/StorybookSection.md +1 -1
  276. package/api/@wtf/project-storybook/schema/variables/storybookSchema.md +1 -1
  277. package/api/@wtf/project-storybook/versions/functions/labelOf.md +1 -1
  278. package/api/@wtf/project-storybook/versions/functions/versionsOf.md +1 -1
  279. package/api/@wtf/project-storybook/versions/type-aliases/Label.md +5 -5
  280. package/api/@wtf/project-storybook/versions/type-aliases/ListedVersion.md +4 -4
  281. package/api/@wtf/project-storybook/versions/variables/META.md +5 -5
  282. package/api/@wtf/project-typedoc/config/functions/gitRevisionOf.md +1 -1
  283. package/api/@wtf/project-typedoc/config/functions/typedocConfig.md +1 -1
  284. package/api/@wtf/project-typedoc/config/type-aliases/TypedocConfig.md +1 -1
  285. package/api/@wtf/project-typedoc/config/type-aliases/TypedocOptions.md +7 -7
  286. package/api/@wtf/project-typedoc/config/type-aliases/TypedocPlatform.md +2 -2
  287. package/api/@wtf/project-typedoc/plugins/functions/cleanGeneratedMarkdown.md +1 -1
  288. package/api/@wtf/project-typedoc/plugins/functions/linkTrackedSources.md +1 -1
  289. package/api/@wtf/project-typedoc/plugins/functions/preventMediaFiles.md +1 -1
  290. package/api/@wtf/project-typedoc/plugins/type-aliases/CleanGeneratedMarkdownOptions.md +4 -4
  291. package/api/@wtf/project-typedoc/plugins/type-aliases/LinkTrackedSourcesOptions.md +3 -3
  292. package/api/@wtf/project-typedoc/plugins/type-aliases/PreventMediaFilesOptions.md +4 -4
  293. package/api/@wtf/project-typedoc/plugins/type-aliases/TypedocPlugin.md +1 -1
  294. package/api/@wtf/project-typedoc/schema/type-aliases/TypedocSection.md +2 -2
  295. package/api/@wtf/project-typedoc/schema/variables/typedocSchema.md +1 -1
  296. package/api/@wtf/project-vite/config/functions/baseConfig.md +4 -4
  297. package/api/@wtf/project-vite/config/functions/buildsSite.md +1 -1
  298. package/api/@wtf/project-vite/config/functions/compress.md +1 -1
  299. package/api/@wtf/project-vite/config/functions/conditionsOf.md +1 -1
  300. package/api/@wtf/project-vite/config/functions/fromDist.md +1 -1
  301. package/api/@wtf/project-vite/config/type-aliases/BaseOptions.md +3 -3
  302. package/api/@wtf/project-vite/config/type-aliases/CompressOptions.md +4 -4
  303. package/api/@wtf/project-vite/config/variables/CLIENT_CONDITIONS.md +1 -1
  304. package/api/@wtf/project-vite/config/variables/COMPRESSIBLE.md +1 -1
  305. package/api/@wtf/project-vite/config/variables/THRESHOLD.md +1 -1
  306. package/api/@wtf/project-vite/schema/type-aliases/ViteSection.md +1 -1
  307. package/api/@wtf/project-vite/schema/variables/viteSchema.md +1 -1
  308. package/api/@wtf/project-vitest/browser/functions/browserConfig.md +1 -1
  309. package/api/@wtf/project-vitest/browser/functions/browserRootConfig.md +1 -1
  310. package/api/@wtf/project-vitest/browser/type-aliases/BrowserOptions.md +4 -4
  311. package/api/@wtf/project-vitest/config/functions/fromDist.md +1 -1
  312. package/api/@wtf/project-vitest/config/functions/integrationConfig.md +1 -1
  313. package/api/@wtf/project-vitest/config/functions/packageConfig.md +1 -1
  314. package/api/@wtf/project-vitest/config/functions/rootConfig.md +1 -1
  315. package/api/@wtf/project-vitest/config/type-aliases/PackageOptions.md +2 -2
  316. package/api/@wtf/project-vitest/config/type-aliases/RootConfigOptions.md +2 -2
  317. package/api/@wtf/project-vitest/config/type-aliases/RootOptions.md +8 -8
  318. package/api/@wtf/project-vitest/config/type-aliases/VitestPlatform.md +4 -4
  319. package/api/@wtf/project-vitest/config/type-aliases/VitestRootPlatform.md +1 -1
  320. package/api/@wtf/project-vitest/config/variables/GUARD_TIMEOUT.md +1 -1
  321. package/api/@wtf/project-vitest/config/variables/integration.md +9 -9
  322. package/api/@wtf/project-vitest/process/functions/childEnv.md +1 -1
  323. package/api/@wtf/project-vitest/process/type-aliases/Env.md +1 -1
  324. package/api/@wtf/project-vitest/schema/type-aliases/VitestSection.md +1 -1
  325. package/api/@wtf/project-vitest/schema/variables/vitestSchema.md +1 -1
  326. package/api/@wtf/project-vitest/storybook/functions/storybookConfig.md +1 -1
  327. package/api/@wtf/project-vitest/storybook/type-aliases/StorybookOptions.md +2 -2
  328. package/api/@wtf/project-wpt/builtins/functions/builtins.md +1 -1
  329. package/api/@wtf/project-wpt/builtins/functions/intrinsics.md +1 -1
  330. package/api/@wtf/project-wpt/checkout/functions/checkoutFolderOf.md +1 -1
  331. package/api/@wtf/project-wpt/checkout/functions/checkoutTests.md +1 -1
  332. package/api/@wtf/project-wpt/checkout/functions/checkoutWpt.md +1 -1
  333. package/api/@wtf/project-wpt/checkout/functions/execOf.md +1 -1
  334. package/api/@wtf/project-wpt/checkout/functions/fileOf.md +1 -1
  335. package/api/@wtf/project-wpt/checkout/type-aliases/CheckedOutTests.md +3 -3
  336. package/api/@wtf/project-wpt/checkout/type-aliases/CheckoutOptions.md +8 -8
  337. package/api/@wtf/project-wpt/checkout/type-aliases/CheckoutTestsOptions.md +2 -2
  338. package/api/@wtf/project-wpt/checkout/variables/HARNESS.md +1 -1
  339. package/api/@wtf/project-wpt/checkout/variables/REWRITES.md +1 -1
  340. package/api/@wtf/project-wpt/checkout/variables/WPT_REPOSITORY.md +1 -1
  341. package/api/@wtf/project-wpt/errors/classes/HarnessFailedError.md +4 -4
  342. package/api/@wtf/project-wpt/errors/classes/InvalidCommitError.md +4 -4
  343. package/api/@wtf/project-wpt/errors/classes/InvalidExpectationsError.md +4 -4
  344. package/api/@wtf/project-wpt/errors/classes/NoSuiteError.md +4 -4
  345. package/api/@wtf/project-wpt/errors/classes/NotInWptError.md +5 -5
  346. package/api/@wtf/project-wpt/errors/classes/StaleExpectationError.md +4 -4
  347. package/api/@wtf/project-wpt/errors/classes/SubtestFailedError.md +4 -4
  348. package/api/@wtf/project-wpt/errors/classes/UnexpectedPassError.md +4 -4
  349. package/api/@wtf/project-wpt/errors/classes/WptError.md +4 -4
  350. package/api/@wtf/project-wpt/errors/classes/WptFetchError.md +4 -4
  351. package/api/@wtf/project-wpt/expectations/functions/checkHarness.md +1 -1
  352. package/api/@wtf/project-wpt/expectations/functions/checkSubtest.md +1 -1
  353. package/api/@wtf/project-wpt/expectations/functions/expectationOf.md +1 -1
  354. package/api/@wtf/project-wpt/expectations/functions/expectationsIssues.md +1 -1
  355. package/api/@wtf/project-wpt/expectations/functions/readExpectations.md +1 -1
  356. package/api/@wtf/project-wpt/expectations/functions/staleOf.md +1 -1
  357. package/api/@wtf/project-wpt/expectations/type-aliases/ReadExpectations.md +3 -3
  358. package/api/@wtf/project-wpt/index/type-aliases/CreateRealm.md +1 -1
  359. package/api/@wtf/project-wpt/index/type-aliases/Exec.md +1 -1
  360. package/api/@wtf/project-wpt/index/type-aliases/Expectations.md +1 -1
  361. package/api/@wtf/project-wpt/index/type-aliases/FileExpectation.md +4 -4
  362. package/api/@wtf/project-wpt/index/type-aliases/FileResult.md +4 -4
  363. package/api/@wtf/project-wpt/index/type-aliases/Globals.md +1 -1
  364. package/api/@wtf/project-wpt/index/type-aliases/HarnessResult.md +4 -4
  365. package/api/@wtf/project-wpt/index/type-aliases/HarnessStatus.md +1 -1
  366. package/api/@wtf/project-wpt/index/type-aliases/HoldRejections.md +1 -1
  367. package/api/@wtf/project-wpt/index/type-aliases/Realm.md +3 -3
  368. package/api/@wtf/project-wpt/index/type-aliases/SubtestResult.md +5 -5
  369. package/api/@wtf/project-wpt/index/type-aliases/SubtestStatus.md +1 -1
  370. package/api/@wtf/project-wpt/index/type-aliases/WptFile.md +3 -3
  371. package/api/@wtf/project-wpt/index/type-aliases/WptFiles.md +9 -9
  372. package/api/@wtf/project-wpt/index/type-aliases/WptPaths.md +4 -4
  373. package/api/@wtf/project-wpt/index/type-aliases/WptPlatform.md +2 -2
  374. package/api/@wtf/project-wpt/index/type-aliases/WptSystem.md +6 -6
  375. package/api/@wtf/project-wpt/index/type-aliases/WptTest.md +3 -3
  376. package/api/@wtf/project-wpt/meta/functions/idOf.md +1 -1
  377. package/api/@wtf/project-wpt/meta/functions/metaOf.md +1 -1
  378. package/api/@wtf/project-wpt/meta/functions/runsOutsideWindow.md +1 -1
  379. package/api/@wtf/project-wpt/meta/functions/scriptPathsOf.md +1 -1
  380. package/api/@wtf/project-wpt/meta/functions/testsOf.md +1 -1
  381. package/api/@wtf/project-wpt/meta/type-aliases/Meta.md +6 -6
  382. package/api/@wtf/project-wpt/node/functions/nodeSystem.md +1 -1
  383. package/api/@wtf/project-wpt/node/type-aliases/NodeSystemPlatform.md +1 -1
  384. package/api/@wtf/project-wpt/node/variables/nodeFiles.md +1 -1
  385. package/api/@wtf/project-wpt/node/variables/nodeRealm.md +1 -1
  386. package/api/@wtf/project-wpt/node/variables/nodeRejections.md +1 -1
  387. package/api/@wtf/project-wpt/run/functions/runTest.md +1 -1
  388. package/api/@wtf/project-wpt/run/type-aliases/RunOptions.md +8 -8
  389. package/api/@wtf/project-wpt/run/type-aliases/RunPlatform.md +1 -1
  390. package/api/@wtf/project-wpt/run/variables/LONG_TIMEOUT.md +1 -1
  391. package/api/@wtf/project-wpt/run/variables/TIMEOUT.md +1 -1
  392. package/api/@wtf/project-wpt/run/variables/WPT_ORIGIN.md +1 -1
  393. package/api/@wtf/project-wpt/schema/type-aliases/WptConfig.md +2 -2
  394. package/api/@wtf/project-wpt/schema/type-aliases/WptSuiteConfig.md +2 -2
  395. package/api/@wtf/project-wpt/schema/variables/wptSchema.md +1 -1
  396. package/api/@wtf/project-wpt/suite/functions/wptSuite.md +1 -1
  397. package/api/@wtf/project-wpt/suite/type-aliases/WptSuiteOptions.md +8 -8
  398. package/api/README.md +1 -0
  399. package/api/llms.txt +1 -0
  400. package/api/trains.json +3 -0
  401. package/guides/bare.md +206 -0
  402. package/guides/getting-started.md +1 -0
  403. package/guides/testing.md +4 -0
  404. package/package.json +2 -1
@@ -0,0 +1,654 @@
1
+ [Documentation](../../../../README.md) / [@wtf/project-bare](../../README.md) / [expect](../README.md) / Matchers
2
+
3
+ # Type Alias: Matchers\<Result\>
4
+
5
+ ```ts
6
+ type Matchers<Result> = object;
7
+ ```
8
+
9
+ Defined in: [packages/project-bare/src/expect.ts:191](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-bare/src/expect.ts#L191)
10
+
11
+ The matchers of a value, each returning nothing, or a promise of nothing for a `.rejects`.
12
+
13
+ ## Type Parameters
14
+
15
+ | Type Parameter | Default type |
16
+ | ------ | ------ |
17
+ | `Result` | `void` |
18
+
19
+ ## Methods
20
+
21
+ ### toBe()
22
+
23
+ ```ts
24
+ toBe(expected): Result;
25
+ ```
26
+
27
+ Defined in: [packages/project-bare/src/expect.ts:193](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-bare/src/expect.ts#L193)
28
+
29
+ The value is the expected one, by `Object.is`.
30
+
31
+ #### Parameters
32
+
33
+ | Parameter | Type |
34
+ | ------ | ------ |
35
+ | `expected` | `unknown` |
36
+
37
+ #### Returns
38
+
39
+ `Result`
40
+
41
+ ***
42
+
43
+ ### toBeCloseTo()
44
+
45
+ ```ts
46
+ toBeCloseTo(expected, digits?): Result;
47
+ ```
48
+
49
+ Defined in: [packages/project-bare/src/expect.ts:237](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-bare/src/expect.ts#L237)
50
+
51
+ The number is within `10 ** -digits / 2` of the expected one, two digits by default.
52
+
53
+ #### Parameters
54
+
55
+ | Parameter | Type |
56
+ | ------ | ------ |
57
+ | `expected` | `number` |
58
+ | `digits?` | `number` |
59
+
60
+ #### Returns
61
+
62
+ `Result`
63
+
64
+ ***
65
+
66
+ ### toBeDefined()
67
+
68
+ ```ts
69
+ toBeDefined(): Result;
70
+ ```
71
+
72
+ Defined in: [packages/project-bare/src/expect.ts:201](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-bare/src/expect.ts#L201)
73
+
74
+ The value is not `undefined`.
75
+
76
+ #### Returns
77
+
78
+ `Result`
79
+
80
+ ***
81
+
82
+ ### toBeFalsy()
83
+
84
+ ```ts
85
+ toBeFalsy(): Result;
86
+ ```
87
+
88
+ Defined in: [packages/project-bare/src/expect.ts:209](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-bare/src/expect.ts#L209)
89
+
90
+ The value is falsy.
91
+
92
+ #### Returns
93
+
94
+ `Result`
95
+
96
+ ***
97
+
98
+ ### toBeGreaterThan()
99
+
100
+ ```ts
101
+ toBeGreaterThan(expected): Result;
102
+ ```
103
+
104
+ Defined in: [packages/project-bare/src/expect.ts:229](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-bare/src/expect.ts#L229)
105
+
106
+ The number is above the bound.
107
+
108
+ #### Parameters
109
+
110
+ | Parameter | Type |
111
+ | ------ | ------ |
112
+ | `expected` | `number` \| `bigint` |
113
+
114
+ #### Returns
115
+
116
+ `Result`
117
+
118
+ ***
119
+
120
+ ### toBeGreaterThanOrEqual()
121
+
122
+ ```ts
123
+ toBeGreaterThanOrEqual(expected): Result;
124
+ ```
125
+
126
+ Defined in: [packages/project-bare/src/expect.ts:231](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-bare/src/expect.ts#L231)
127
+
128
+ The number is at or above the bound.
129
+
130
+ #### Parameters
131
+
132
+ | Parameter | Type |
133
+ | ------ | ------ |
134
+ | `expected` | `number` \| `bigint` |
135
+
136
+ #### Returns
137
+
138
+ `Result`
139
+
140
+ ***
141
+
142
+ ### toBeInstanceOf()
143
+
144
+ ```ts
145
+ toBeInstanceOf(expected): Result;
146
+ ```
147
+
148
+ Defined in: [packages/project-bare/src/expect.ts:211](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-bare/src/expect.ts#L211)
149
+
150
+ The value is an instance of the class.
151
+
152
+ #### Parameters
153
+
154
+ | Parameter | Type |
155
+ | ------ | ------ |
156
+ | `expected` | (...`args`) => `unknown` |
157
+
158
+ #### Returns
159
+
160
+ `Result`
161
+
162
+ ***
163
+
164
+ ### toBeLessThan()
165
+
166
+ ```ts
167
+ toBeLessThan(expected): Result;
168
+ ```
169
+
170
+ Defined in: [packages/project-bare/src/expect.ts:233](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-bare/src/expect.ts#L233)
171
+
172
+ The number is below the bound.
173
+
174
+ #### Parameters
175
+
176
+ | Parameter | Type |
177
+ | ------ | ------ |
178
+ | `expected` | `number` \| `bigint` |
179
+
180
+ #### Returns
181
+
182
+ `Result`
183
+
184
+ ***
185
+
186
+ ### toBeLessThanOrEqual()
187
+
188
+ ```ts
189
+ toBeLessThanOrEqual(expected): Result;
190
+ ```
191
+
192
+ Defined in: [packages/project-bare/src/expect.ts:235](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-bare/src/expect.ts#L235)
193
+
194
+ The number is at or below the bound.
195
+
196
+ #### Parameters
197
+
198
+ | Parameter | Type |
199
+ | ------ | ------ |
200
+ | `expected` | `number` \| `bigint` |
201
+
202
+ #### Returns
203
+
204
+ `Result`
205
+
206
+ ***
207
+
208
+ ### toBeNaN()
209
+
210
+ ```ts
211
+ toBeNaN(): Result;
212
+ ```
213
+
214
+ Defined in: [packages/project-bare/src/expect.ts:205](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-bare/src/expect.ts#L205)
215
+
216
+ The value is `NaN`.
217
+
218
+ #### Returns
219
+
220
+ `Result`
221
+
222
+ ***
223
+
224
+ ### toBeNull()
225
+
226
+ ```ts
227
+ toBeNull(): Result;
228
+ ```
229
+
230
+ Defined in: [packages/project-bare/src/expect.ts:203](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-bare/src/expect.ts#L203)
231
+
232
+ The value is `null`.
233
+
234
+ #### Returns
235
+
236
+ `Result`
237
+
238
+ ***
239
+
240
+ ### toBeTruthy()
241
+
242
+ ```ts
243
+ toBeTruthy(): Result;
244
+ ```
245
+
246
+ Defined in: [packages/project-bare/src/expect.ts:207](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-bare/src/expect.ts#L207)
247
+
248
+ The value is truthy.
249
+
250
+ #### Returns
251
+
252
+ `Result`
253
+
254
+ ***
255
+
256
+ ### toBeTypeOf()
257
+
258
+ ```ts
259
+ toBeTypeOf(expected): Result;
260
+ ```
261
+
262
+ Defined in: [packages/project-bare/src/expect.ts:213](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-bare/src/expect.ts#L213)
263
+
264
+ The value is of the `typeof` named.
265
+
266
+ #### Parameters
267
+
268
+ | Parameter | Type |
269
+ | ------ | ------ |
270
+ | `expected` | `string` |
271
+
272
+ #### Returns
273
+
274
+ `Result`
275
+
276
+ ***
277
+
278
+ ### toBeUndefined()
279
+
280
+ ```ts
281
+ toBeUndefined(): Result;
282
+ ```
283
+
284
+ Defined in: [packages/project-bare/src/expect.ts:199](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-bare/src/expect.ts#L199)
285
+
286
+ The value is `undefined`.
287
+
288
+ #### Returns
289
+
290
+ `Result`
291
+
292
+ ***
293
+
294
+ ### toContain()
295
+
296
+ ```ts
297
+ toContain(expected): Result;
298
+ ```
299
+
300
+ Defined in: [packages/project-bare/src/expect.ts:215](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-bare/src/expect.ts#L215)
301
+
302
+ The string contains the substring, or the array or set the item.
303
+
304
+ #### Parameters
305
+
306
+ | Parameter | Type |
307
+ | ------ | ------ |
308
+ | `expected` | `unknown` |
309
+
310
+ #### Returns
311
+
312
+ `Result`
313
+
314
+ ***
315
+
316
+ ### toContainEqual()
317
+
318
+ ```ts
319
+ toContainEqual(expected): Result;
320
+ ```
321
+
322
+ Defined in: [packages/project-bare/src/expect.ts:217](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-bare/src/expect.ts#L217)
323
+
324
+ The array or set has an item that equals the expected one.
325
+
326
+ #### Parameters
327
+
328
+ | Parameter | Type |
329
+ | ------ | ------ |
330
+ | `expected` | `unknown` |
331
+
332
+ #### Returns
333
+
334
+ `Result`
335
+
336
+ ***
337
+
338
+ ### toEqual()
339
+
340
+ ```ts
341
+ toEqual(expected): Result;
342
+ ```
343
+
344
+ Defined in: [packages/project-bare/src/expect.ts:195](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-bare/src/expect.ts#L195)
345
+
346
+ The value equals the expected one by what it holds; an `undefined` property is not there.
347
+
348
+ #### Parameters
349
+
350
+ | Parameter | Type |
351
+ | ------ | ------ |
352
+ | `expected` | `unknown` |
353
+
354
+ #### Returns
355
+
356
+ `Result`
357
+
358
+ ***
359
+
360
+ ### toHaveBeenCalled()
361
+
362
+ ```ts
363
+ toHaveBeenCalled(): Result;
364
+ ```
365
+
366
+ Defined in: [packages/project-bare/src/expect.ts:245](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-bare/src/expect.ts#L245)
367
+
368
+ The mock was called.
369
+
370
+ #### Returns
371
+
372
+ `Result`
373
+
374
+ ***
375
+
376
+ ### toHaveBeenCalledOnce()
377
+
378
+ ```ts
379
+ toHaveBeenCalledOnce(): Result;
380
+ ```
381
+
382
+ Defined in: [packages/project-bare/src/expect.ts:247](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-bare/src/expect.ts#L247)
383
+
384
+ The mock was called once.
385
+
386
+ #### Returns
387
+
388
+ `Result`
389
+
390
+ ***
391
+
392
+ ### toHaveBeenCalledTimes()
393
+
394
+ ```ts
395
+ toHaveBeenCalledTimes(expected): Result;
396
+ ```
397
+
398
+ Defined in: [packages/project-bare/src/expect.ts:249](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-bare/src/expect.ts#L249)
399
+
400
+ The mock was called that many times.
401
+
402
+ #### Parameters
403
+
404
+ | Parameter | Type |
405
+ | ------ | ------ |
406
+ | `expected` | `number` |
407
+
408
+ #### Returns
409
+
410
+ `Result`
411
+
412
+ ***
413
+
414
+ ### toHaveBeenCalledWith()
415
+
416
+ ```ts
417
+ toHaveBeenCalledWith(...expected): Result;
418
+ ```
419
+
420
+ Defined in: [packages/project-bare/src/expect.ts:251](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-bare/src/expect.ts#L251)
421
+
422
+ The mock was called with the arguments, once at least.
423
+
424
+ #### Parameters
425
+
426
+ | Parameter | Type |
427
+ | ------ | ------ |
428
+ | ...`expected` | `unknown`[] |
429
+
430
+ #### Returns
431
+
432
+ `Result`
433
+
434
+ ***
435
+
436
+ ### toHaveBeenLastCalledWith()
437
+
438
+ ```ts
439
+ toHaveBeenLastCalledWith(...expected): Result;
440
+ ```
441
+
442
+ Defined in: [packages/project-bare/src/expect.ts:253](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-bare/src/expect.ts#L253)
443
+
444
+ The mock's last call was with the arguments.
445
+
446
+ #### Parameters
447
+
448
+ | Parameter | Type |
449
+ | ------ | ------ |
450
+ | ...`expected` | `unknown`[] |
451
+
452
+ #### Returns
453
+
454
+ `Result`
455
+
456
+ ***
457
+
458
+ ### toHaveBeenNthCalledWith()
459
+
460
+ ```ts
461
+ toHaveBeenNthCalledWith(call, ...expected): Result;
462
+ ```
463
+
464
+ Defined in: [packages/project-bare/src/expect.ts:255](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-bare/src/expect.ts#L255)
465
+
466
+ The mock's call of the number, counted from 1, was with the arguments.
467
+
468
+ #### Parameters
469
+
470
+ | Parameter | Type |
471
+ | ------ | ------ |
472
+ | `call` | `number` |
473
+ | ...`expected` | `unknown`[] |
474
+
475
+ #### Returns
476
+
477
+ `Result`
478
+
479
+ ***
480
+
481
+ ### toHaveLength()
482
+
483
+ ```ts
484
+ toHaveLength(expected): Result;
485
+ ```
486
+
487
+ Defined in: [packages/project-bare/src/expect.ts:219](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-bare/src/expect.ts#L219)
488
+
489
+ The value has the length.
490
+
491
+ #### Parameters
492
+
493
+ | Parameter | Type |
494
+ | ------ | ------ |
495
+ | `expected` | `number` |
496
+
497
+ #### Returns
498
+
499
+ `Result`
500
+
501
+ ***
502
+
503
+ ### toHaveProperty()
504
+
505
+ ```ts
506
+ toHaveProperty(path, ...value): Result;
507
+ ```
508
+
509
+ Defined in: [packages/project-bare/src/expect.ts:221](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-bare/src/expect.ts#L221)
510
+
511
+ The object has the property, at the path, with the value when one is given.
512
+
513
+ #### Parameters
514
+
515
+ | Parameter | Type |
516
+ | ------ | ------ |
517
+ | `path` | `string` \| readonly `string`[] |
518
+ | ...`value` | \[\] \| \[`unknown`\] |
519
+
520
+ #### Returns
521
+
522
+ `Result`
523
+
524
+ ***
525
+
526
+ ### toMatch()
527
+
528
+ ```ts
529
+ toMatch(expected): Result;
530
+ ```
531
+
532
+ Defined in: [packages/project-bare/src/expect.ts:223](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-bare/src/expect.ts#L223)
533
+
534
+ The string matches the pattern or contains the text.
535
+
536
+ #### Parameters
537
+
538
+ | Parameter | Type |
539
+ | ------ | ------ |
540
+ | `expected` | `string` \| `RegExp` |
541
+
542
+ #### Returns
543
+
544
+ `Result`
545
+
546
+ ***
547
+
548
+ ### toMatchObject()
549
+
550
+ ```ts
551
+ toMatchObject(expected): Result;
552
+ ```
553
+
554
+ Defined in: [packages/project-bare/src/expect.ts:225](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-bare/src/expect.ts#L225)
555
+
556
+ The object holds every property of the subset, an array of the same length and items.
557
+
558
+ #### Parameters
559
+
560
+ | Parameter | Type |
561
+ | ------ | ------ |
562
+ | `expected` | `unknown` |
563
+
564
+ #### Returns
565
+
566
+ `Result`
567
+
568
+ ***
569
+
570
+ ### toSatisfy()
571
+
572
+ ```ts
573
+ toSatisfy(predicate): Result;
574
+ ```
575
+
576
+ Defined in: [packages/project-bare/src/expect.ts:227](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-bare/src/expect.ts#L227)
577
+
578
+ The value satisfies the predicate.
579
+
580
+ #### Parameters
581
+
582
+ | Parameter | Type |
583
+ | ------ | ------ |
584
+ | `predicate` | (`value`) => `boolean` |
585
+
586
+ #### Returns
587
+
588
+ `Result`
589
+
590
+ ***
591
+
592
+ ### toStrictEqual()
593
+
594
+ ```ts
595
+ toStrictEqual(expected): Result;
596
+ ```
597
+
598
+ Defined in: [packages/project-bare/src/expect.ts:197](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-bare/src/expect.ts#L197)
599
+
600
+ The value equals the expected one, of the same class, an `undefined` property there.
601
+
602
+ #### Parameters
603
+
604
+ | Parameter | Type |
605
+ | ------ | ------ |
606
+ | `expected` | `unknown` |
607
+
608
+ #### Returns
609
+
610
+ `Result`
611
+
612
+ ***
613
+
614
+ ### toThrow()
615
+
616
+ ```ts
617
+ toThrow(expected?): Result;
618
+ ```
619
+
620
+ Defined in: [packages/project-bare/src/expect.ts:239](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-bare/src/expect.ts#L239)
621
+
622
+ The function throws, an error of the class, message or pattern, or equal to the error.
623
+
624
+ #### Parameters
625
+
626
+ | Parameter | Type |
627
+ | ------ | ------ |
628
+ | `expected?` | `string` \| `RegExp` \| `Error` \| ((...`args`) => `unknown`) |
629
+
630
+ #### Returns
631
+
632
+ `Result`
633
+
634
+ ***
635
+
636
+ ### toThrowError()
637
+
638
+ ```ts
639
+ toThrowError(expected?): Result;
640
+ ```
641
+
642
+ Defined in: [packages/project-bare/src/expect.ts:241](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-bare/src/expect.ts#L241)
643
+
644
+ The function throws, as [Matchers.toThrow](#tothrow).
645
+
646
+ #### Parameters
647
+
648
+ | Parameter | Type |
649
+ | ------ | ------ |
650
+ | `expected?` | `string` \| `RegExp` \| `Error` \| ((...`args`) => `unknown`) |
651
+
652
+ #### Returns
653
+
654
+ `Result`
@@ -0,0 +1,27 @@
1
+ [Documentation](../../../../README.md) / [@wtf/project-bare](../../README.md) / [expect](../README.md) / MockLike
2
+
3
+ # Type Alias: MockLike
4
+
5
+ ```ts
6
+ type MockLike = object;
7
+ ```
8
+
9
+ Defined in: [packages/project-bare/src/expect.ts:175](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-bare/src/expect.ts#L175)
10
+
11
+ A mock function, as `vi.fn()` of the shim makes it: what a call matcher reads.
12
+
13
+ ## Properties
14
+
15
+ ### mock
16
+
17
+ ```ts
18
+ readonly mock: object;
19
+ ```
20
+
21
+ Defined in: [packages/project-bare/src/expect.ts:175](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-bare/src/expect.ts#L175)
22
+
23
+ #### calls
24
+
25
+ ```ts
26
+ readonly calls: readonly readonly unknown[][];
27
+ ```
@@ -0,0 +1,31 @@
1
+ [Documentation](../../../../README.md) / [@wtf/project-bare](../../README.md) / [expect](../README.md) / PollOptions
2
+
3
+ # Type Alias: PollOptions
4
+
5
+ ```ts
6
+ type PollOptions = object;
7
+ ```
8
+
9
+ Defined in: [packages/project-bare/src/expect.ts:480](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-bare/src/expect.ts#L480)
10
+
11
+ The options of `expect.poll` and `vi.waitFor`: the time between tries and the time they have.
12
+
13
+ ## Properties
14
+
15
+ ### interval?
16
+
17
+ ```ts
18
+ readonly optional interval?: number;
19
+ ```
20
+
21
+ Defined in: [packages/project-bare/src/expect.ts:480](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-bare/src/expect.ts#L480)
22
+
23
+ ***
24
+
25
+ ### timeout?
26
+
27
+ ```ts
28
+ readonly optional timeout?: number;
29
+ ```
30
+
31
+ Defined in: [packages/project-bare/src/expect.ts:480](https://gitlab.com/wetryfun/project/project/-/blob/docs-v6.1.0/packages/project-bare/src/expect.ts#L480)