@wtf/project-docs 5.0.1 → 5.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.
- package/README.md +2 -0
- package/api/.generated +24 -0
- package/api/@wtf/project-astro/config/functions/baseConfig.md +1 -1
- package/api/@wtf/project-astro/config/functions/baseOf.md +1 -1
- package/api/@wtf/project-astro/config/functions/siteOf.md +1 -1
- package/api/@wtf/project-astro/config/type-aliases/BaseOptions.md +6 -6
- package/api/@wtf/project-astro/config/type-aliases/Env.md +1 -1
- package/api/@wtf/project-astro/errors/classes/BrokenLinksError.md +5 -5
- package/api/@wtf/project-astro/errors/classes/InvalidRedirectError.md +6 -6
- package/api/@wtf/project-astro/errors/classes/RedirectedLinksError.md +5 -5
- package/api/@wtf/project-astro/errors/classes/SiteError.md +4 -4
- package/api/@wtf/project-astro/index/type-aliases/AstroPlatform.md +1 -1
- package/api/@wtf/project-astro/index/type-aliases/BrokenLink.md +3 -3
- package/api/@wtf/project-astro/index/type-aliases/IgnoredLine.md +4 -4
- package/api/@wtf/project-astro/index/type-aliases/RedirectInput.md +2 -2
- package/api/@wtf/project-astro/index/type-aliases/RedirectMatch.md +3 -3
- package/api/@wtf/project-astro/index/type-aliases/RedirectRule.md +5 -5
- package/api/@wtf/project-astro/index/type-aliases/RedirectStatus.md +1 -1
- package/api/@wtf/project-astro/index/type-aliases/RedirectedLink.md +2 -2
- package/api/@wtf/project-astro/index/type-aliases/Redirects.md +3 -3
- package/api/@wtf/project-astro/links/functions/brokenLinksIn.md +1 -1
- package/api/@wtf/project-astro/links/functions/links.md +1 -1
- package/api/@wtf/project-astro/links/functions/redirectedLinksIn.md +1 -1
- package/api/@wtf/project-astro/links/type-aliases/LinksOptions.md +2 -2
- package/api/@wtf/project-astro/links/variables/LINKS.md +1 -1
- package/api/@wtf/project-astro/pages/functions/fixSearchUrlsIn.md +1 -1
- package/api/@wtf/project-astro/pages/functions/moveConflictingPages.md +1 -1
- package/api/@wtf/project-astro/pages/functions/pages.md +1 -1
- package/api/@wtf/project-astro/pages/functions/prefixedLocaleOf.md +1 -1
- package/api/@wtf/project-astro/pages/functions/redirectBaseToLocaleIn.md +1 -1
- package/api/@wtf/project-astro/pages/functions/slashFolderLinksIn.md +1 -1
- package/api/@wtf/project-astro/pages/type-aliases/I18n.md +1 -1
- package/api/@wtf/project-astro/pages/type-aliases/PagesOptions.md +2 -2
- package/api/@wtf/project-astro/pages/variables/PAGES.md +1 -1
- package/api/@wtf/project-astro/preview/functions/files.md +1 -1
- package/api/@wtf/project-astro/preview/functions/listen.md +1 -1
- package/api/@wtf/project-astro/preview/functions/notFound.md +1 -1
- package/api/@wtf/project-astro/preview/functions/pagesOf.md +1 -1
- package/api/@wtf/project-astro/preview/functions/previewOf.md +1 -1
- package/api/@wtf/project-astro/preview/type-aliases/FilesOptions.md +2 -2
- package/api/@wtf/project-astro/preview/type-aliases/Handler.md +1 -1
- package/api/@wtf/project-astro/preview/type-aliases/ListenOptions.md +4 -4
- package/api/@wtf/project-astro/preview/type-aliases/Listening.md +5 -5
- package/api/@wtf/project-astro/preview/type-aliases/Pages.md +3 -3
- package/api/@wtf/project-astro/preview/type-aliases/Preview.md +4 -4
- package/api/@wtf/project-astro/preview/type-aliases/PreviewOptions.md +3 -3
- package/api/@wtf/project-astro/redirects/functions/formatRedirects.md +1 -1
- package/api/@wtf/project-astro/redirects/functions/matchRedirect.md +1 -1
- package/api/@wtf/project-astro/redirects/functions/parseRedirects.md +1 -1
- package/api/@wtf/project-astro/redirects/variables/MAX_PARTS.md +1 -1
- package/api/@wtf/project-astro/redirects/variables/MAX_RULES.md +1 -1
- package/api/@wtf/project-astro/redirects/variables/MAX_SIZE.md +1 -1
- package/api/@wtf/project-astro/schema/functions/astroSchemaWith.md +1 -1
- package/api/@wtf/project-astro/schema/type-aliases/AstroSection.md +1 -1
- package/api/@wtf/project-astro/schema/type-aliases/JsonSchema.md +12 -12
- package/api/@wtf/project-astro/schema/type-aliases/OptionsSchema.md +1 -1
- package/api/@wtf/project-astro/schema/variables/astroProperties.md +1 -1
- package/api/@wtf/project-astro/schema/variables/astroSchema.md +1 -1
- package/api/@wtf/project-config/define/functions/defineConfig.md +1 -1
- package/api/@wtf/project-config/env/functions/envNameOf.md +1 -1
- package/api/@wtf/project-config/env/functions/envPrefixOf.md +1 -1
- package/api/@wtf/project-config/env/functions/jsonSchemaOf.md +1 -1
- package/api/@wtf/project-config/env/functions/variablesOf.md +1 -1
- package/api/@wtf/project-config/env/functions/withEnvironment.md +1 -1
- package/api/@wtf/project-config/env/type-aliases/Environment.md +1 -1
- package/api/@wtf/project-config/env/type-aliases/EnvironmentValue.md +3 -3
- package/api/@wtf/project-config/env/type-aliases/WithEnvironment.md +3 -3
- package/api/@wtf/project-config/errors/classes/ConfigError.md +4 -4
- package/api/@wtf/project-config/errors/classes/ConfigFileMismatchError.md +6 -6
- package/api/@wtf/project-config/errors/classes/ConfigInCodeError.md +5 -5
- package/api/@wtf/project-config/errors/classes/ConfigPathError.md +5 -5
- package/api/@wtf/project-config/errors/classes/EnvPlaceholderUnsetError.md +6 -6
- package/api/@wtf/project-config/errors/classes/InvalidConfigFileError.md +5 -5
- package/api/@wtf/project-config/errors/classes/InvalidSectionError.md +7 -7
- package/api/@wtf/project-config/errors/classes/NamedError.md +12 -12
- package/api/@wtf/project-config/errors/classes/NoConfigFileError.md +5 -5
- package/api/@wtf/project-config/errors/classes/NoConfigValueError.md +6 -6
- package/api/@wtf/project-config/errors/classes/SyncSchemaError.md +5 -5
- package/api/@wtf/project-config/errors/classes/UnwritableConfigFileError.md +5 -5
- package/api/@wtf/project-config/errors/type-aliases/NamedErrorCode.md +1 -1
- package/api/@wtf/project-config/errors/type-aliases/NamedErrorDetails.md +9 -9
- package/api/@wtf/project-config/index/type-aliases/ConfigDefaults.md +3 -3
- package/api/@wtf/project-config/index/type-aliases/ConfigEnvironment.md +4 -4
- package/api/@wtf/project-config/index/type-aliases/ConfigIssue.md +3 -3
- package/api/@wtf/project-config/index/type-aliases/ConfigNames.md +4 -4
- package/api/@wtf/project-config/index/type-aliases/ConfigPath.md +1 -1
- package/api/@wtf/project-config/index/type-aliases/ConfigPlatform.md +1 -1
- package/api/@wtf/project-config/index/type-aliases/ConfigSection.md +1 -1
- package/api/@wtf/project-config/index/type-aliases/ConfigSource.md +3 -3
- package/api/@wtf/project-config/index/type-aliases/ConfigWrite.md +10 -10
- package/api/@wtf/project-config/index/type-aliases/ImportModule.md +1 -1
- package/api/@wtf/project-config/index/type-aliases/JsonSchema.md +1 -1
- package/api/@wtf/project-config/index/type-aliases/LocatedConfig.md +4 -4
- package/api/@wtf/project-config/index/type-aliases/NamespaceConfig.md +2 -2
- package/api/@wtf/project-config/index/type-aliases/ResolvedConfig.md +9 -9
- package/api/@wtf/project-config/index/type-aliases/SectionSchema.md +1 -1
- package/api/@wtf/project-config/index/type-aliases/SectionsOf.md +1 -1
- package/api/@wtf/project-config/index/type-aliases/ValidateSection.md +1 -1
- package/api/@wtf/project-config/load/functions/ignoredWarning.md +1 -1
- package/api/@wtf/project-config/load/functions/importFileModule.md +1 -1
- package/api/@wtf/project-config/load/functions/loadConfig.md +1 -1
- package/api/@wtf/project-config/load/type-aliases/LoadLayers.md +3 -3
- package/api/@wtf/project-config/load/type-aliases/LoadOptions.md +3 -3
- package/api/@wtf/project-config/load/type-aliases/LoadPlatform.md +1 -1
- package/api/@wtf/project-config/locate/functions/configFilesOf.md +1 -1
- package/api/@wtf/project-config/locate/functions/configNamesOf.md +1 -1
- package/api/@wtf/project-config/locate/functions/jsonFilesOf.md +1 -1
- package/api/@wtf/project-config/locate/functions/locateConfig.md +1 -1
- package/api/@wtf/project-config/locate/functions/projectRootOf.md +1 -1
- package/api/@wtf/project-config/locate/type-aliases/LocateNames.md +2 -2
- package/api/@wtf/project-config/locate/type-aliases/LocateOptions.md +2 -2
- package/api/@wtf/project-config/locate/type-aliases/NamespaceNames.md +2 -2
- package/api/@wtf/project-config/locate/variables/DEFAULT_NAMESPACE.md +1 -1
- package/api/@wtf/project-config/named/functions/factoryOf.md +1 -1
- package/api/@wtf/project-config/named/functions/namedSchema.md +1 -1
- package/api/@wtf/project-config/named/functions/namedSetSchema.md +1 -1
- package/api/@wtf/project-config/named/functions/resolveNamed.md +1 -1
- package/api/@wtf/project-config/named/functions/resolveNamedSet.md +1 -1
- package/api/@wtf/project-config/named/type-aliases/LoadModule.md +1 -1
- package/api/@wtf/project-config/named/type-aliases/ModuleReference.md +3 -3
- package/api/@wtf/project-config/named/type-aliases/NamedCheckOptions.md +5 -5
- package/api/@wtf/project-config/named/type-aliases/NamedEntries.md +1 -1
- package/api/@wtf/project-config/named/type-aliases/NamedFactory.md +1 -1
- package/api/@wtf/project-config/named/type-aliases/NamedOptions.md +1 -1
- package/api/@wtf/project-config/named/type-aliases/NamedReference.md +1 -1
- package/api/@wtf/project-config/named/type-aliases/NamedResolveOptions.md +3 -3
- package/api/@wtf/project-config/named/type-aliases/NamedSchema.md +1 -1
- package/api/@wtf/project-config/named/type-aliases/NamedSchemaOptions.md +4 -4
- package/api/@wtf/project-config/named/type-aliases/NamedSet.md +1 -1
- package/api/@wtf/project-config/named/type-aliases/NamedSetOptions.md +2 -2
- package/api/@wtf/project-config/named/type-aliases/NamedSetSchemaOptions.md +3 -3
- package/api/@wtf/project-config/named/type-aliases/NamedSets.md +1 -1
- package/api/@wtf/project-config/named/type-aliases/NamedUse.md +1 -1
- package/api/@wtf/project-config/path/functions/configPathOf.md +1 -1
- package/api/@wtf/project-config/path/functions/textOfConfigPath.md +1 -1
- package/api/@wtf/project-config/path/functions/valueAt.md +1 -1
- package/api/@wtf/project-config/placeholder/functions/expandPlaceholders.md +1 -1
- package/api/@wtf/project-config/placeholder/functions/expandString.md +1 -1
- package/api/@wtf/project-config/schema/functions/namespaceSchema.md +1 -1
- package/api/@wtf/project-config/schema/functions/sectionIdOf.md +1 -1
- package/api/@wtf/project-config/schema/type-aliases/NamespaceSchemaOptions.md +3 -3
- package/api/@wtf/project-config/schema/variables/JSON_SCHEMA_DRAFT.md +1 -1
- package/api/@wtf/project-config/section/functions/issuesOf.md +1 -1
- package/api/@wtf/project-config/section/functions/issuesOfSync.md +1 -1
- package/api/@wtf/project-config/section/functions/mergeSection.md +1 -1
- package/api/@wtf/project-config/section/functions/sectionOf.md +1 -1
- package/api/@wtf/project-config/section/type-aliases/Checked.md +3 -3
- package/api/@wtf/project-config/write/functions/setConfigValue.md +1 -1
- package/api/@wtf/project-config/write/functions/unsetConfigValue.md +1 -1
- package/api/@wtf/project-config/write/type-aliases/WriteOptions.md +2 -2
- package/api/@wtf/project-oxfmt/config/functions/oxfmtConfig.md +1 -1
- package/api/@wtf/project-oxfmt/config/type-aliases/OxfmtOptions.md +1 -1
- package/api/@wtf/project-oxfmt/config/variables/OXFMT_DEFAULTS.md +6 -6
- package/api/@wtf/project-oxfmt/config/variables/default.md +1 -1
- package/api/@wtf/project-oxfmt/schema/variables/oxfmtSchema.md +1 -1
- package/api/@wtf/project-oxlint/config/functions/oxlintConfig.md +1 -1
- package/api/@wtf/project-oxlint/config/type-aliases/OxlintOptions.md +1 -1
- package/api/@wtf/project-oxlint/config/variables/OXLINT_DEFAULTS.md +17 -17
- package/api/@wtf/project-oxlint/config/variables/default.md +1 -1
- package/api/@wtf/project-oxlint/schema/variables/oxlintSchema.md +1 -1
- package/api/@wtf/project-resolve/condition/variables/SOURCE_CONDITION.md +1 -1
- package/api/@wtf/project-resolve/env/functions/isHook.md +1 -1
- package/api/@wtf/project-resolve/env/functions/optionsWithoutHook.md +1 -1
- package/api/@wtf/project-resolve/env/functions/withoutHook.md +1 -1
- package/api/@wtf/project-resolve/env/type-aliases/Env.md +1 -1
- package/api/@wtf/project-resolve/errors/classes/ResolveError.md +4 -4
- package/api/@wtf/project-resolve/errors/classes/UnreadableWorkspaceError.md +6 -6
- package/api/@wtf/project-resolve/errors/classes/WorkspaceError.md +5 -5
- package/api/@wtf/project-resolve/hooks/functions/candidatesOf.md +1 -1
- package/api/@wtf/project-resolve/hooks/functions/sourcesHookOf.md +1 -1
- package/api/@wtf/project-resolve/hooks/functions/sourcesOf.md +1 -1
- package/api/@wtf/project-resolve/hooks/variables/resolveTypeScript.md +1 -1
- package/api/@wtf/project-resolve/node/functions/nodePlatform.md +5 -5
- package/api/@wtf/project-resolve/register/variables/REGISTERED.md +1 -1
- package/api/@wtf/project-resolve/workspace/functions/filesOf.md +1 -1
- package/api/@wtf/project-resolve/workspace/functions/packagesOf.md +1 -1
- package/api/@wtf/project-resolve/workspace/functions/workspaceAt.md +1 -1
- package/api/@wtf/project-resolve/workspace/functions/workspaceOf.md +1 -1
- package/api/@wtf/project-resolve/workspace/functions/workspaceRootAbove.md +1 -1
- package/api/@wtf/project-resolve/workspace/functions/workspaceRootOf.md +1 -1
- package/api/@wtf/project-resolve/workspace/type-aliases/Agent.md +1 -1
- package/api/@wtf/project-resolve/workspace/type-aliases/DirectoryEntry.md +4 -4
- package/api/@wtf/project-resolve/workspace/type-aliases/FileContents.md +3 -3
- package/api/@wtf/project-resolve/workspace/type-aliases/PackageManager.md +4 -4
- package/api/@wtf/project-resolve/workspace/type-aliases/PackageManagerName.md +1 -1
- package/api/@wtf/project-resolve/workspace/type-aliases/ProcessWorkspaceOptions.md +1 -1
- package/api/@wtf/project-resolve/workspace/type-aliases/Workspace.md +5 -5
- package/api/@wtf/project-resolve/workspace/type-aliases/WorkspaceDirectoryHandle.md +6 -6
- package/api/@wtf/project-resolve/workspace/type-aliases/WorkspaceFileHandle.md +3 -3
- package/api/@wtf/project-resolve/workspace/type-aliases/WorkspaceFiles.md +6 -6
- package/api/@wtf/project-resolve/workspace/type-aliases/WorkspaceOptions.md +2 -2
- package/api/@wtf/project-resolve/workspace/type-aliases/WorkspacePackage.md +4 -4
- package/api/@wtf/project-resolve/workspace/type-aliases/WorkspacePaths.md +7 -7
- package/api/@wtf/project-storybook/README.md +90 -0
- package/api/@wtf/project-storybook/config/README.md +60 -0
- package/api/@wtf/project-storybook/config/functions/escapeAttribute.md +21 -0
- package/api/@wtf/project-storybook/config/functions/folderOf.md +28 -0
- package/api/@wtf/project-storybook/config/functions/metaTags.md +23 -0
- package/api/@wtf/project-storybook/config/functions/refsOf.md +22 -0
- package/api/@wtf/project-storybook/config/functions/storybookConfig.md +25 -0
- package/api/@wtf/project-storybook/config/type-aliases/ComposedRef.md +31 -0
- package/api/@wtf/project-storybook/config/type-aliases/StorybookConfig.md +132 -0
- package/api/@wtf/project-storybook/config/type-aliases/StorybookOptions.md +158 -0
- package/api/@wtf/project-storybook/config/type-aliases/StorybookRef.md +47 -0
- package/api/@wtf/project-storybook/config/type-aliases/VersionLabel.md +47 -0
- package/api/@wtf/project-storybook/manager/README.md +24 -0
- package/api/@wtf/project-storybook/manager/functions/registerVersion.md +23 -0
- package/api/@wtf/project-storybook/manager/type-aliases/VersionOptions.md +23 -0
- package/api/@wtf/project-storybook/schema/README.md +35 -0
- package/api/@wtf/project-storybook/schema/type-aliases/StorybookSection.md +13 -0
- package/api/@wtf/project-storybook/schema/variables/storybookSchema.md +13 -0
- package/api/@wtf/project-storybook/versions/README.md +36 -0
- package/api/@wtf/project-storybook/versions/functions/labelOf.md +22 -0
- package/api/@wtf/project-storybook/versions/functions/versionsOf.md +30 -0
- package/api/@wtf/project-storybook/versions/type-aliases/Label.md +59 -0
- package/api/@wtf/project-storybook/versions/type-aliases/ListedVersion.md +47 -0
- package/api/@wtf/project-storybook/versions/variables/META.md +20 -0
- package/api/@wtf/project-typedoc/config/functions/gitRevisionOf.md +1 -1
- package/api/@wtf/project-typedoc/config/functions/typedocConfig.md +1 -1
- package/api/@wtf/project-typedoc/config/type-aliases/TypedocConfig.md +1 -1
- package/api/@wtf/project-typedoc/config/type-aliases/TypedocOptions.md +7 -7
- package/api/@wtf/project-typedoc/config/type-aliases/TypedocPlatform.md +2 -2
- package/api/@wtf/project-typedoc/plugins/functions/cleanGeneratedMarkdown.md +1 -1
- package/api/@wtf/project-typedoc/plugins/functions/linkTrackedSources.md +1 -1
- package/api/@wtf/project-typedoc/plugins/functions/preventMediaFiles.md +1 -1
- package/api/@wtf/project-typedoc/plugins/type-aliases/CleanGeneratedMarkdownOptions.md +4 -4
- package/api/@wtf/project-typedoc/plugins/type-aliases/LinkTrackedSourcesOptions.md +3 -3
- package/api/@wtf/project-typedoc/plugins/type-aliases/PreventMediaFilesOptions.md +4 -4
- package/api/@wtf/project-typedoc/plugins/type-aliases/TypedocPlugin.md +1 -1
- package/api/@wtf/project-typedoc/schema/type-aliases/TypedocSection.md +2 -2
- package/api/@wtf/project-typedoc/schema/variables/typedocSchema.md +1 -1
- package/api/@wtf/project-vite/config/functions/baseConfig.md +4 -4
- package/api/@wtf/project-vite/config/functions/buildsSite.md +1 -1
- package/api/@wtf/project-vite/config/functions/compress.md +1 -1
- package/api/@wtf/project-vite/config/functions/conditionsOf.md +1 -1
- package/api/@wtf/project-vite/config/functions/fromDist.md +1 -1
- package/api/@wtf/project-vite/config/type-aliases/BaseOptions.md +3 -3
- package/api/@wtf/project-vite/config/type-aliases/CompressOptions.md +4 -4
- package/api/@wtf/project-vite/config/variables/CLIENT_CONDITIONS.md +1 -1
- package/api/@wtf/project-vite/config/variables/COMPRESSIBLE.md +1 -1
- package/api/@wtf/project-vite/config/variables/THRESHOLD.md +1 -1
- package/api/@wtf/project-vite/schema/type-aliases/ViteSection.md +1 -1
- package/api/@wtf/project-vite/schema/variables/viteSchema.md +1 -1
- package/api/@wtf/project-vitest/browser/functions/browserConfig.md +1 -1
- package/api/@wtf/project-vitest/browser/functions/browserRootConfig.md +1 -1
- package/api/@wtf/project-vitest/browser/type-aliases/BrowserOptions.md +4 -4
- package/api/@wtf/project-vitest/config/functions/fromDist.md +1 -1
- package/api/@wtf/project-vitest/config/functions/integrationConfig.md +1 -1
- package/api/@wtf/project-vitest/config/functions/packageConfig.md +1 -1
- package/api/@wtf/project-vitest/config/functions/rootConfig.md +1 -1
- package/api/@wtf/project-vitest/config/type-aliases/PackageOptions.md +2 -2
- package/api/@wtf/project-vitest/config/type-aliases/RootConfigOptions.md +2 -2
- package/api/@wtf/project-vitest/config/type-aliases/RootOptions.md +8 -8
- package/api/@wtf/project-vitest/config/type-aliases/VitestPlatform.md +4 -4
- package/api/@wtf/project-vitest/config/type-aliases/VitestRootPlatform.md +1 -1
- package/api/@wtf/project-vitest/config/variables/GUARD_TIMEOUT.md +1 -1
- package/api/@wtf/project-vitest/config/variables/integration.md +9 -9
- package/api/@wtf/project-vitest/process/functions/childEnv.md +1 -1
- package/api/@wtf/project-vitest/process/type-aliases/Env.md +1 -1
- package/api/@wtf/project-vitest/schema/type-aliases/VitestSection.md +1 -1
- package/api/@wtf/project-vitest/schema/variables/vitestSchema.md +1 -1
- package/api/@wtf/project-vitest/storybook/functions/storybookConfig.md +1 -1
- package/api/@wtf/project-vitest/storybook/type-aliases/StorybookOptions.md +2 -2
- package/api/@wtf/project-wpt/builtins/functions/builtins.md +1 -1
- package/api/@wtf/project-wpt/builtins/functions/intrinsics.md +1 -1
- package/api/@wtf/project-wpt/checkout/functions/checkoutFolderOf.md +1 -1
- package/api/@wtf/project-wpt/checkout/functions/checkoutTests.md +1 -1
- package/api/@wtf/project-wpt/checkout/functions/checkoutWpt.md +1 -1
- package/api/@wtf/project-wpt/checkout/functions/execOf.md +1 -1
- package/api/@wtf/project-wpt/checkout/functions/fileOf.md +1 -1
- package/api/@wtf/project-wpt/checkout/type-aliases/CheckedOutTests.md +3 -3
- package/api/@wtf/project-wpt/checkout/type-aliases/CheckoutOptions.md +8 -8
- package/api/@wtf/project-wpt/checkout/type-aliases/CheckoutTestsOptions.md +2 -2
- package/api/@wtf/project-wpt/checkout/variables/HARNESS.md +1 -1
- package/api/@wtf/project-wpt/checkout/variables/REWRITES.md +1 -1
- package/api/@wtf/project-wpt/checkout/variables/WPT_REPOSITORY.md +1 -1
- package/api/@wtf/project-wpt/errors/classes/HarnessFailedError.md +4 -4
- package/api/@wtf/project-wpt/errors/classes/InvalidCommitError.md +4 -4
- package/api/@wtf/project-wpt/errors/classes/InvalidExpectationsError.md +4 -4
- package/api/@wtf/project-wpt/errors/classes/NoSuiteError.md +4 -4
- package/api/@wtf/project-wpt/errors/classes/NotInWptError.md +5 -5
- package/api/@wtf/project-wpt/errors/classes/StaleExpectationError.md +4 -4
- package/api/@wtf/project-wpt/errors/classes/SubtestFailedError.md +4 -4
- package/api/@wtf/project-wpt/errors/classes/UnexpectedPassError.md +4 -4
- package/api/@wtf/project-wpt/errors/classes/WptError.md +4 -4
- package/api/@wtf/project-wpt/errors/classes/WptFetchError.md +4 -4
- package/api/@wtf/project-wpt/expectations/functions/checkHarness.md +1 -1
- package/api/@wtf/project-wpt/expectations/functions/checkSubtest.md +1 -1
- package/api/@wtf/project-wpt/expectations/functions/expectationOf.md +1 -1
- package/api/@wtf/project-wpt/expectations/functions/expectationsIssues.md +1 -1
- package/api/@wtf/project-wpt/expectations/functions/readExpectations.md +1 -1
- package/api/@wtf/project-wpt/expectations/functions/staleOf.md +1 -1
- package/api/@wtf/project-wpt/expectations/type-aliases/ReadExpectations.md +3 -3
- package/api/@wtf/project-wpt/index/type-aliases/CreateRealm.md +1 -1
- package/api/@wtf/project-wpt/index/type-aliases/Exec.md +1 -1
- package/api/@wtf/project-wpt/index/type-aliases/Expectations.md +1 -1
- package/api/@wtf/project-wpt/index/type-aliases/FileExpectation.md +4 -4
- package/api/@wtf/project-wpt/index/type-aliases/FileResult.md +4 -4
- package/api/@wtf/project-wpt/index/type-aliases/Globals.md +1 -1
- package/api/@wtf/project-wpt/index/type-aliases/HarnessResult.md +4 -4
- package/api/@wtf/project-wpt/index/type-aliases/HarnessStatus.md +1 -1
- package/api/@wtf/project-wpt/index/type-aliases/HoldRejections.md +1 -1
- package/api/@wtf/project-wpt/index/type-aliases/Realm.md +3 -3
- package/api/@wtf/project-wpt/index/type-aliases/SubtestResult.md +5 -5
- package/api/@wtf/project-wpt/index/type-aliases/SubtestStatus.md +1 -1
- package/api/@wtf/project-wpt/index/type-aliases/WptFile.md +3 -3
- package/api/@wtf/project-wpt/index/type-aliases/WptFiles.md +9 -9
- package/api/@wtf/project-wpt/index/type-aliases/WptPaths.md +4 -4
- package/api/@wtf/project-wpt/index/type-aliases/WptPlatform.md +2 -2
- package/api/@wtf/project-wpt/index/type-aliases/WptSystem.md +6 -6
- package/api/@wtf/project-wpt/index/type-aliases/WptTest.md +3 -3
- package/api/@wtf/project-wpt/meta/functions/idOf.md +1 -1
- package/api/@wtf/project-wpt/meta/functions/metaOf.md +1 -1
- package/api/@wtf/project-wpt/meta/functions/runsOutsideWindow.md +1 -1
- package/api/@wtf/project-wpt/meta/functions/scriptPathsOf.md +1 -1
- package/api/@wtf/project-wpt/meta/functions/testsOf.md +1 -1
- package/api/@wtf/project-wpt/meta/type-aliases/Meta.md +6 -6
- package/api/@wtf/project-wpt/node/functions/nodeSystem.md +1 -1
- package/api/@wtf/project-wpt/node/type-aliases/NodeSystemPlatform.md +1 -1
- package/api/@wtf/project-wpt/node/variables/nodeFiles.md +1 -1
- package/api/@wtf/project-wpt/node/variables/nodeRealm.md +1 -1
- package/api/@wtf/project-wpt/node/variables/nodeRejections.md +1 -1
- package/api/@wtf/project-wpt/run/functions/runTest.md +1 -1
- package/api/@wtf/project-wpt/run/type-aliases/RunOptions.md +8 -8
- package/api/@wtf/project-wpt/run/type-aliases/RunPlatform.md +1 -1
- package/api/@wtf/project-wpt/run/variables/LONG_TIMEOUT.md +1 -1
- package/api/@wtf/project-wpt/run/variables/TIMEOUT.md +1 -1
- package/api/@wtf/project-wpt/run/variables/WPT_ORIGIN.md +1 -1
- package/api/@wtf/project-wpt/schema/type-aliases/WptConfig.md +2 -2
- package/api/@wtf/project-wpt/schema/type-aliases/WptSuiteConfig.md +2 -2
- package/api/@wtf/project-wpt/schema/variables/wptSchema.md +1 -1
- package/api/@wtf/project-wpt/suite/functions/wptSuite.md +1 -1
- package/api/@wtf/project-wpt/suite/type-aliases/WptSuiteOptions.md +8 -8
- package/api/README.md +1 -0
- package/api/trains.json +3 -0
- package/guides/storybook.md +157 -0
- package/package.json +2 -1
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function integrationConfig(options): Promise<UserConfig>;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-vitest/src/config.ts:190](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-vitest/src/config.ts:190](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-vitest/src/config.ts#L190)
|
|
10
10
|
|
|
11
11
|
The Vitest config of the root's integration suite, vitest.integration.config.ts: each package's
|
|
12
12
|
vitest.integration.config.ts a project (`pnpm test:integration`), apart from the unit suite, as
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function packageConfig(__namedParameters, config?): Promise<UserConfig>;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-vitest/src/config.ts:124](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-vitest/src/config.ts:124](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-vitest/src/config.ts#L124)
|
|
10
10
|
|
|
11
11
|
The Vitest config of one package, a project of the root's run: its tests against the source of
|
|
12
12
|
every package, or against their build, as the environment of its `platform` says (see
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function rootConfig(__namedParameters): Promise<UserConfig>;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-vitest/src/config.ts:162](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-vitest/src/config.ts:162](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-vitest/src/config.ts#L162)
|
|
10
10
|
|
|
11
11
|
The Vitest config of the root: each package's vitest.config.ts a project, in one process
|
|
12
12
|
(`pnpm test`), and the `root` project of the repo's guards, test/. One JUnit report in CI, and
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type PackageOptions = NonNullable<ViteUserConfig["test"]> & object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-vitest/src/config.ts:99](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-vitest/src/config.ts:99](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-vitest/src/config.ts#L99)
|
|
10
10
|
|
|
11
11
|
What [packageConfig](../functions/packageConfig.md) takes: the platform the config is of, and its tests' options over the
|
|
12
12
|
config's, as the files it tests, or a jsdom `environment`.
|
|
@@ -15,4 +15,4 @@ config's, as the files it tests, or a jsdom `environment`.
|
|
|
15
15
|
|
|
16
16
|
| Name | Type | Description | Defined in |
|
|
17
17
|
| ------ | ------ | ------ | ------ |
|
|
18
|
-
| `platform` | [`VitestPlatform`](VitestPlatform.md) | The platform the config is of: the root's, as [rootConfig](../functions/rootConfig.md) takes it. | [packages/project-vitest/src/config.ts:101](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
18
|
+
| `platform` | [`VitestPlatform`](VitestPlatform.md) | The platform the config is of: the root's, as [rootConfig](../functions/rootConfig.md) takes it. | [packages/project-vitest/src/config.ts:101](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-vitest/src/config.ts#L101) |
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type RootConfigOptions = RootOptions & object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-vitest/src/config.ts:59](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-vitest/src/config.ts:59](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-vitest/src/config.ts#L59)
|
|
10
10
|
|
|
11
11
|
What [rootConfig](../functions/rootConfig.md) takes: the options of a root config, and the timeout of its guards.
|
|
12
12
|
|
|
@@ -14,4 +14,4 @@ What [rootConfig](../functions/rootConfig.md) takes: the options of a root confi
|
|
|
14
14
|
|
|
15
15
|
| Name | Type | Description | Defined in |
|
|
16
16
|
| ------ | ------ | ------ | ------ |
|
|
17
|
-
| `testTimeout?` | `number` | The time a test of the `root` project, the guards in test/, takes before it fails, in milliseconds: [GUARD\_TIMEOUT](../variables/GUARD_TIMEOUT.md) by default. Each package's tests take their own config's, as `packageConfig` gives it. | [packages/project-vitest/src/config.ts:65](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
17
|
+
| `testTimeout?` | `number` | The time a test of the `root` project, the guards in test/, takes before it fails, in milliseconds: [GUARD\_TIMEOUT](../variables/GUARD_TIMEOUT.md) by default. Each package's tests take their own config's, as `packageConfig` gives it. | [packages/project-vitest/src/config.ts:65](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-vitest/src/config.ts#L65) |
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type RootOptions = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-vitest/src/suite.ts:50](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-vitest/src/suite.ts:50](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-vitest/src/suite.ts#L50)
|
|
10
10
|
|
|
11
11
|
What the root config of a suite, `rootConfig`, `integrationConfig` or `browserRootConfig`, takes.
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ What the root config of a suite, `rootConfig`, `integrationConfig` or `browserRo
|
|
|
18
18
|
readonly optional coverage?: object;
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/project-vitest/src/suite.ts:66](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
21
|
+
Defined in: [packages/project-vitest/src/suite.ts:66](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-vitest/src/suite.ts#L66)
|
|
22
22
|
|
|
23
23
|
What `--coverage` measures: by default each source in the `src` of every package of
|
|
24
24
|
`folders`, so a module no test loads counts, at 0%; a pattern of `include` replaces it. It
|
|
@@ -45,7 +45,7 @@ readonly optional include?: readonly string[];
|
|
|
45
45
|
readonly optional folders?: readonly string[];
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
-
Defined in: [packages/project-vitest/src/suite.ts:59](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
48
|
+
Defined in: [packages/project-vitest/src/suite.ts:59](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-vitest/src/suite.ts#L59)
|
|
49
49
|
|
|
50
50
|
The folders of the workspace that hold its packages, each package a project by its config
|
|
51
51
|
file: `['packages']` by default.
|
|
@@ -58,7 +58,7 @@ file: `['packages']` by default.
|
|
|
58
58
|
readonly optional junit?: string;
|
|
59
59
|
```
|
|
60
60
|
|
|
61
|
-
Defined in: [packages/project-vitest/src/suite.ts:82](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
61
|
+
Defined in: [packages/project-vitest/src/suite.ts:82](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-vitest/src/suite.ts#L82)
|
|
62
62
|
|
|
63
63
|
The path of the JUnit report, from the root, of a repo that keeps it apart from the coverage:
|
|
64
64
|
the suite's own, as `test-results.xml`, in `reportsDirectory` by default.
|
|
@@ -71,7 +71,7 @@ the suite's own, as `test-results.xml`, in `reportsDirectory` by default.
|
|
|
71
71
|
readonly platform: VitestRootPlatform;
|
|
72
72
|
```
|
|
73
73
|
|
|
74
|
-
Defined in: [packages/project-vitest/src/suite.ts:52](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
74
|
+
Defined in: [packages/project-vitest/src/suite.ts:52](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-vitest/src/suite.ts#L52)
|
|
75
75
|
|
|
76
76
|
The platform the config is of ([VitestRootPlatform](VitestRootPlatform.md)).
|
|
77
77
|
|
|
@@ -83,7 +83,7 @@ The platform the config is of ([VitestRootPlatform](VitestRootPlatform.md)).
|
|
|
83
83
|
readonly optional projects?: any[];
|
|
84
84
|
```
|
|
85
85
|
|
|
86
|
-
Defined in: [packages/project-vitest/src/suite.ts:54](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
86
|
+
Defined in: [packages/project-vitest/src/suite.ts:54](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-vitest/src/suite.ts#L54)
|
|
87
87
|
|
|
88
88
|
Projects of the run besides each package's, added after them.
|
|
89
89
|
|
|
@@ -95,7 +95,7 @@ Projects of the run besides each package's, added after them.
|
|
|
95
95
|
readonly optional reportsDirectory?: string;
|
|
96
96
|
```
|
|
97
97
|
|
|
98
|
-
Defined in: [packages/project-vitest/src/suite.ts:77](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
98
|
+
Defined in: [packages/project-vitest/src/suite.ts:77](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-vitest/src/suite.ts#L77)
|
|
99
99
|
|
|
100
100
|
Where the JUnit report and the coverage go: `reports` by default.
|
|
101
101
|
|
|
@@ -107,7 +107,7 @@ Where the JUnit report and the coverage go: `reports` by default.
|
|
|
107
107
|
readonly optional skip?: readonly string[];
|
|
108
108
|
```
|
|
109
109
|
|
|
110
|
-
Defined in: [packages/project-vitest/src/suite.ts:75](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
110
|
+
Defined in: [packages/project-vitest/src/suite.ts:75](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-vitest/src/suite.ts#L75)
|
|
111
111
|
|
|
112
112
|
The packages of `folders` the run leaves out, each by its folder from the root, as
|
|
113
113
|
`packages/site`: no project of it runs, and the coverage measures none of its sources. None by
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type VitestPlatform = Pick<Platform, "env"> & object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-vitest/src/suite.ts:29](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-vitest/src/suite.ts:29](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-vitest/src/suite.ts#L29)
|
|
10
10
|
|
|
11
11
|
The platform a config of Vitest is of, which the config file, its entry point, builds and gives
|
|
12
12
|
it, as `nodePlatform()` of `@wtf/platform-node/platform` makes Node's: its environment, `env`,
|
|
@@ -21,6 +21,6 @@ its real path; of one that says none, as the File System Standard's, the path is
|
|
|
21
21
|
|
|
22
22
|
| Name | Type | Defined in |
|
|
23
23
|
| ------ | ------ | ------ |
|
|
24
|
-
| `dirs` | `Pick`\<`Dirs`, `"cwd"`\> | [packages/project-vitest/src/suite.ts:32](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
25
|
-
| `navigator` | `WorkspaceOptions`\[`"platform"`\]\[`"navigator"`\] | [packages/project-vitest/src/suite.ts:30](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
26
|
-
| `path` | `WorkspaceOptions`\[`"platform"`\]\[`"path"`\] & `Pick`\<`Path`, `"fromFileUrl"` \| `"extname"`\> | [packages/project-vitest/src/suite.ts:31](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
24
|
+
| `dirs` | `Pick`\<`Dirs`, `"cwd"`\> | [packages/project-vitest/src/suite.ts:32](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-vitest/src/suite.ts#L32) |
|
|
25
|
+
| `navigator` | `WorkspaceOptions`\[`"platform"`\]\[`"navigator"`\] | [packages/project-vitest/src/suite.ts:30](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-vitest/src/suite.ts#L30) |
|
|
26
|
+
| `path` | `WorkspaceOptions`\[`"platform"`\]\[`"path"`\] & `Pick`\<`Path`, `"fromFileUrl"` \| `"extname"`\> | [packages/project-vitest/src/suite.ts:31](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-vitest/src/suite.ts#L31) |
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type VitestRootPlatform = VitestPlatform & Pick<Platform, "argv">;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-vitest/src/suite.ts:47](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-vitest/src/suite.ts:47](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-vitest/src/suite.ts#L47)
|
|
10
10
|
|
|
11
11
|
The platform a root config of a suite is of: a [VitestPlatform](VitestPlatform.md), and the command line of
|
|
12
12
|
the process of Vitest's CLI, which loads the config, `argv`, whose `--project` filters say which
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
const GUARD_TIMEOUT: 30000 = 30_000;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-vitest/src/config.ts:56](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-vitest/src/config.ts:56](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-vitest/src/config.ts#L56)
|
|
10
10
|
|
|
11
11
|
The time a test of the `root` project, the repo's guards, takes before it fails, by default: 30
|
|
12
12
|
seconds, as a package's. A guard that reads the whole workspace, each tsconfig and each
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
const integration: object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-vitest/src/config.ts:201](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-vitest/src/config.ts:201](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-vitest/src/config.ts#L201)
|
|
10
10
|
|
|
11
11
|
What a package's integration suite gives [packageConfig](../functions/packageConfig.md): each `*.integration.test.ts` of
|
|
12
12
|
test/, in a process of its own, one file at a time, with five minutes for a test or a hook.
|
|
@@ -19,11 +19,11 @@ export default packageConfig({ platform, ...integration, name: 'file:integration
|
|
|
19
19
|
|
|
20
20
|
| Name | Type | Default value | Defined in |
|
|
21
21
|
| ------ | ------ | ------ | ------ |
|
|
22
|
-
| <a id="property-exclude"></a> `exclude` | `string`[] | - | [packages/project-vitest/src/config.ts:203](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
23
|
-
| <a id="property-fileparallelism"></a> `fileParallelism` | `false` | `false` | [packages/project-vitest/src/config.ts:205](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
24
|
-
| <a id="property-hooktimeout"></a> `hookTimeout` | `number` | `300_000` | [packages/project-vitest/src/config.ts:207](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
25
|
-
| <a id="property-include"></a> `include` | `string`[] | - | [packages/project-vitest/src/config.ts:202](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
26
|
-
| <a id="property-outputfile"></a> `outputFile` | `object` | - | [packages/project-vitest/src/config.ts:208](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
27
|
-
| `outputFile.junit` | `string` | `'reports/integration-results.xml'` | [packages/project-vitest/src/config.ts:208](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
28
|
-
| <a id="property-pool"></a> `pool` | `"forks"` | `'forks'` | [packages/project-vitest/src/config.ts:204](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
29
|
-
| <a id="property-testtimeout"></a> `testTimeout` | `number` | `300_000` | [packages/project-vitest/src/config.ts:206](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
22
|
+
| <a id="property-exclude"></a> `exclude` | `string`[] | - | [packages/project-vitest/src/config.ts:203](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-vitest/src/config.ts#L203) |
|
|
23
|
+
| <a id="property-fileparallelism"></a> `fileParallelism` | `false` | `false` | [packages/project-vitest/src/config.ts:205](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-vitest/src/config.ts#L205) |
|
|
24
|
+
| <a id="property-hooktimeout"></a> `hookTimeout` | `number` | `300_000` | [packages/project-vitest/src/config.ts:207](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-vitest/src/config.ts#L207) |
|
|
25
|
+
| <a id="property-include"></a> `include` | `string`[] | - | [packages/project-vitest/src/config.ts:202](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-vitest/src/config.ts#L202) |
|
|
26
|
+
| <a id="property-outputfile"></a> `outputFile` | `object` | - | [packages/project-vitest/src/config.ts:208](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-vitest/src/config.ts#L208) |
|
|
27
|
+
| `outputFile.junit` | `string` | `'reports/integration-results.xml'` | [packages/project-vitest/src/config.ts:208](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-vitest/src/config.ts#L208) |
|
|
28
|
+
| <a id="property-pool"></a> `pool` | `"forks"` | `'forks'` | [packages/project-vitest/src/config.ts:204](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-vitest/src/config.ts#L204) |
|
|
29
|
+
| <a id="property-testtimeout"></a> `testTimeout` | `number` | `300_000` | [packages/project-vitest/src/config.ts:206](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-vitest/src/config.ts#L206) |
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function childEnv(env): Readonly<Record<string, string | undefined>> & object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-vitest/src/process.ts:36](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-vitest/src/process.ts:36](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-vitest/src/process.ts#L36)
|
|
10
10
|
|
|
11
11
|
`env`, as the test's own `process.env`, with no resolve hook in `NODE_OPTIONS`, by
|
|
12
12
|
`withoutHook` of `@wtf/project-resolve/env`, and every other variable and option as it is:
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
type Env = Readonly<Record<string, string | undefined>>;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-vitest/src/process.ts:27](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-vitest/src/process.ts:27](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-vitest/src/process.ts#L27)
|
|
10
10
|
|
|
11
11
|
An environment, as Node's `process.env` is, and as a spawn takes it.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type VitestSection = Omit<RootConfigOptions, "platform">;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-vitest/src/schema.ts:73](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-vitest/src/schema.ts:73](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-vitest/src/schema.ts#L73)
|
|
10
10
|
|
|
11
11
|
The options of `rootConfig()` of ./config a configuration holds: each but the platform, which is
|
|
12
12
|
the config file's own.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
const vitestSchema: StandardSchemaV1<VitestSection> & StandardJSONSchemaV1<VitestSection>;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-vitest/src/schema.ts:81](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-vitest/src/schema.ts:81](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-vitest/src/schema.ts#L81)
|
|
10
10
|
|
|
11
11
|
The schema of the options of `rootConfig()` of ./config a configuration holds, `VitestSection`:
|
|
12
12
|
the `folders` of the packages, what `coverage` measures, the packages to `skip`, the
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function storybookConfig(__namedParameters): Promise<UserConfig>;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-vitest/src/storybook.ts:51](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-vitest/src/storybook.ts:51](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-vitest/src/storybook.ts#L51)
|
|
10
10
|
|
|
11
11
|
The Vitest config of a package's stories, each a test, in a headless Chromium by Playwright, as
|
|
12
12
|
[browserConfig](../../browser/functions/browserConfig.md) has it: the workspace's packages read from their source, or from the build
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type StorybookOptions = BrowserOptions & object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-vitest/src/storybook.ts:24](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-vitest/src/storybook.ts:24](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-vitest/src/storybook.ts#L24)
|
|
10
10
|
|
|
11
11
|
What a package gives [storybookConfig](../functions/storybookConfig.md): the platform the config is of, the plugin of `@storybook/addon-vitest`,
|
|
12
12
|
`storybookTest()` of its `.storybook` folder, which applies what `.storybook/main.ts` gives Vite
|
|
@@ -17,4 +17,4 @@ What a package gives [storybookConfig](../functions/storybookConfig.md): the pla
|
|
|
17
17
|
|
|
18
18
|
| Name | Type | Description | Defined in |
|
|
19
19
|
| ------ | ------ | ------ | ------ |
|
|
20
|
-
| `storybook` | `NonNullable`\<`ViteUserConfig`\[`"plugins"`\]\>\[`number`\] | The plugin of `@storybook/addon-vitest`, `storybookTest()`, that makes each story a test. | [packages/project-vitest/src/storybook.ts:26](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
20
|
+
| `storybook` | `NonNullable`\<`ViteUserConfig`\[`"plugins"`\]\>\[`number`\] | The plugin of `@storybook/addon-vitest`, `storybookTest()`, that makes each story a test. | [packages/project-vitest/src/storybook.ts:26](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-vitest/src/storybook.ts#L26) |
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function builtins(): Record<string, unknown>;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-wpt/src/builtins.ts:25](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-wpt/src/builtins.ts:25](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/builtins.ts#L25)
|
|
10
10
|
|
|
11
11
|
The values and constructors of the WinterTC Minimum Common Web API
|
|
12
12
|
(https://min-common-api.proposal.wintertc.org/) that Node has in every version it supports, each
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function intrinsics(): Record<string, unknown>;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-wpt/src/builtins.ts:79](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-wpt/src/builtins.ts:79](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/builtins.ts#L79)
|
|
10
10
|
|
|
11
11
|
The language's built-ins of this realm that cross into a test's context, each by its name: the
|
|
12
12
|
errors, `ArrayBuffer`, `SharedArrayBuffer`, `DataView`, the typed arrays and `Promise`. An
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function checkoutFolderOf(__namedParameters): string;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-wpt/src/checkout.ts:71](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-wpt/src/checkout.ts:71](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/checkout.ts#L71)
|
|
10
10
|
|
|
11
11
|
The folder of the checkout of `commit`.
|
|
12
12
|
|
|
@@ -10,7 +10,7 @@ function checkoutTests(
|
|
|
10
10
|
): Promise<CheckedOutTests>;
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Defined in: [packages/project-wpt/src/checkout.ts:272](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
13
|
+
Defined in: [packages/project-wpt/src/checkout.ts:272](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/checkout.ts#L272)
|
|
14
14
|
|
|
15
15
|
The tests of `paths`, checked out by [checkoutWpt](checkoutWpt.md) with its `resources`, and the scripts
|
|
16
16
|
their `// META:` lines load: each of `files`, as it is, and each `*.any.js` file of `dirs` that runs outside a
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function checkoutWpt(options, __namedParameters): Promise<string>;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-wpt/src/checkout.ts:177](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-wpt/src/checkout.ts:177](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/checkout.ts#L177)
|
|
10
10
|
|
|
11
11
|
The folder of a checkout of the WPT at its commit that has each of `files`, `dirs` and
|
|
12
12
|
`resources`, each a path from its root, and the harness; fetched by git of what it lacks, sparse, or as it is, of
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function execOf(spawn): Exec;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-wpt/src/checkout.ts:85](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-wpt/src/checkout.ts:85](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/checkout.ts#L85)
|
|
10
10
|
|
|
11
11
|
An [Exec](../../index/type-aliases/Exec.md) of the `spawn` of a platform, as `ProcessPlatform` of `@wtf/platform` has it: the
|
|
12
12
|
command run to its end, in its folder, of its environment, its variables that are set, and what
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function fileOf(path): string;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-wpt/src/checkout.ts:39](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-wpt/src/checkout.ts:39](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/checkout.ts#L39)
|
|
10
10
|
|
|
11
11
|
The file of the checkout the WPT's server serves at `path`, from the root: itself, or its rewrite.
|
|
12
12
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type CheckedOutTests = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-wpt/src/checkout.ts:254](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-wpt/src/checkout.ts:254](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/checkout.ts#L254)
|
|
10
10
|
|
|
11
11
|
A suite's tests, and the folder of the checkout they are in.
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ A suite's tests, and the folder of the checkout they are in.
|
|
|
18
18
|
readonly folder: string;
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/project-wpt/src/checkout.ts:255](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
21
|
+
Defined in: [packages/project-wpt/src/checkout.ts:255](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/checkout.ts#L255)
|
|
22
22
|
|
|
23
23
|
***
|
|
24
24
|
|
|
@@ -28,6 +28,6 @@ Defined in: [packages/project-wpt/src/checkout.ts:255](https://gitlab.com/wetryf
|
|
|
28
28
|
readonly tests: readonly WptTest[];
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
Defined in: [packages/project-wpt/src/checkout.ts:257](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
31
|
+
Defined in: [packages/project-wpt/src/checkout.ts:257](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/checkout.ts#L257)
|
|
32
32
|
|
|
33
33
|
Each test, of each variant of each file.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type CheckoutOptions = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-wpt/src/checkout.ts:42](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-wpt/src/checkout.ts:42](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/checkout.ts#L42)
|
|
10
10
|
|
|
11
11
|
Where a checkout is, and what it fetches.
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ Where a checkout is, and what it fetches.
|
|
|
18
18
|
readonly optional cache?: string;
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/project-wpt/src/checkout.ts:67](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
21
|
+
Defined in: [packages/project-wpt/src/checkout.ts:67](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/checkout.ts#L67)
|
|
22
22
|
|
|
23
23
|
The folder of the checkouts, each by its commit, in place of the project's cache.
|
|
24
24
|
|
|
@@ -30,7 +30,7 @@ The folder of the checkouts, each by its commit, in place of the project's cache
|
|
|
30
30
|
readonly commit: string;
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
Defined in: [packages/project-wpt/src/checkout.ts:63](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
33
|
+
Defined in: [packages/project-wpt/src/checkout.ts:63](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/checkout.ts#L63)
|
|
34
34
|
|
|
35
35
|
The commit of the WPT, its full hash.
|
|
36
36
|
|
|
@@ -42,7 +42,7 @@ The commit of the WPT, its full hash.
|
|
|
42
42
|
readonly exec: Exec;
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
-
Defined in: [packages/project-wpt/src/checkout.ts:59](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
45
|
+
Defined in: [packages/project-wpt/src/checkout.ts:59](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/checkout.ts#L59)
|
|
46
46
|
|
|
47
47
|
Runs git, to its end, in a folder and an environment: [execOf](../functions/execOf.md) a platform's `spawn`.
|
|
48
48
|
|
|
@@ -61,7 +61,7 @@ readonly files: Pick<WptFiles,
|
|
|
61
61
|
| "remove">;
|
|
62
62
|
```
|
|
63
63
|
|
|
64
|
-
Defined in: [packages/project-wpt/src/checkout.ts:48](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
64
|
+
Defined in: [packages/project-wpt/src/checkout.ts:48](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/checkout.ts#L48)
|
|
65
65
|
|
|
66
66
|
The file system the checkout is looked for and read by, the handles of the platform's: what
|
|
67
67
|
is there and what a file holds, and the lock beside the checkout, which one process makes by
|
|
@@ -75,7 +75,7 @@ creating a file no other can. The fetch itself, by git, is the disk's.
|
|
|
75
75
|
readonly platform: Pick<WptPlatform, "env" | "setTimeout" | "performance" | "path">;
|
|
76
76
|
```
|
|
77
77
|
|
|
78
|
-
Defined in: [packages/project-wpt/src/checkout.ts:57](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
78
|
+
Defined in: [packages/project-wpt/src/checkout.ts:57](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/checkout.ts#L57)
|
|
79
79
|
|
|
80
80
|
What the checkout reads of the platform: the environment git runs in, `setTimeout`, which the
|
|
81
81
|
wait for the lock of another process is made by, `performance`, whose clock tells how old
|
|
@@ -89,7 +89,7 @@ that lock is, and the paths of the checkout, `path`.
|
|
|
89
89
|
readonly optional repository?: string;
|
|
90
90
|
```
|
|
91
91
|
|
|
92
|
-
Defined in: [packages/project-wpt/src/checkout.ts:65](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
92
|
+
Defined in: [packages/project-wpt/src/checkout.ts:65](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/checkout.ts#L65)
|
|
93
93
|
|
|
94
94
|
The git repository of the WPT, the WPT's own on GitHub by default.
|
|
95
95
|
|
|
@@ -101,6 +101,6 @@ The git repository of the WPT, the WPT's own on GitHub by default.
|
|
|
101
101
|
readonly root: string;
|
|
102
102
|
```
|
|
103
103
|
|
|
104
|
-
Defined in: [packages/project-wpt/src/checkout.ts:61](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
104
|
+
Defined in: [packages/project-wpt/src/checkout.ts:61](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/checkout.ts#L61)
|
|
105
105
|
|
|
106
106
|
The root of the project, whose `node_modules/.cache/wpt` keeps the checkouts.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type CheckoutTestsOptions = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-wpt/src/checkout.ts:261](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-wpt/src/checkout.ts:261](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/checkout.ts#L261)
|
|
10
10
|
|
|
11
11
|
Which tests of a suite run, of which [checkoutTests](../functions/checkoutTests.md) checks out the scripts.
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ Which tests of a suite run, of which [checkoutTests](../functions/checkoutTests.
|
|
|
18
18
|
readonly optional runs?: (test) => boolean;
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/project-wpt/src/checkout.ts:263](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
21
|
+
Defined in: [packages/project-wpt/src/checkout.ts:263](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/checkout.ts#L263)
|
|
22
22
|
|
|
23
23
|
Whether a test runs: each by default; a file none of whose tests run needs no script.
|
|
24
24
|
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
const HARNESS: "resources/testharness.js" = 'resources/testharness.js';
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-wpt/src/checkout.ts:27](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-wpt/src/checkout.ts:27](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/checkout.ts#L27)
|
|
10
10
|
|
|
11
11
|
The harness every test file loads, which each checkout has.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
const REWRITES: Readonly<Record<string, string>>;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-wpt/src/checkout.ts:34](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-wpt/src/checkout.ts:34](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/checkout.ts#L34)
|
|
10
10
|
|
|
11
11
|
The files the WPT's server serves at another path, each by the path it serves it at, from the
|
|
12
12
|
root: `resources/WebIDLParser.js`, which idlharness.js loads, is the parser of Web IDL in
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
const WPT_REPOSITORY: "https://github.com/web-platform-tests/wpt.git" = 'https://github.com/web-platform-tests/wpt.git';
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-wpt/src/checkout.ts:24](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-wpt/src/checkout.ts:24](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/checkout.ts#L24)
|
|
10
10
|
|
|
11
11
|
The git repository of the WPT, the WPT's own on GitHub: where a checkout fetches it from by default.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: HarnessFailedError
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/project-wpt/src/errors.ts:79](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
5
|
+
Defined in: [packages/project-wpt/src/errors.ts:79](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/errors.ts#L79)
|
|
6
6
|
|
|
7
7
|
The harness of a file that came to no `OK`, and no expectation says it does not.
|
|
8
8
|
|
|
@@ -18,7 +18,7 @@ The harness of a file that came to no `OK`, and no expectation says it does not.
|
|
|
18
18
|
new HarnessFailedError(status, message): HarnessFailedError;
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/project-wpt/src/errors.ts:80](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
21
|
+
Defined in: [packages/project-wpt/src/errors.ts:80](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/errors.ts#L80)
|
|
22
22
|
|
|
23
23
|
#### Parameters
|
|
24
24
|
|
|
@@ -40,8 +40,8 @@ Defined in: [packages/project-wpt/src/errors.ts:80](https://gitlab.com/wetryfun/
|
|
|
40
40
|
| Property | Modifier | Type | Default value | Description | Inherited from | Defined in |
|
|
41
41
|
| ------ | ------ | ------ | ------ | ------ | ------ | ------ |
|
|
42
42
|
| <a id="property-cause"></a> `cause?` | `public` | `unknown` | `undefined` | - | [`WptError`](WptError.md).[`cause`](WptError.md#property-cause) | - |
|
|
43
|
-
| <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | [`WptError`](WptError.md).[`code`](WptError.md#property-code) | [packages/project-wpt/src/errors.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
44
|
-
| <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | [`WptError`](WptError.md).[`exitCode`](WptError.md#property-exitcode) | [packages/project-wpt/src/errors.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
43
|
+
| <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | [`WptError`](WptError.md).[`code`](WptError.md#property-code) | [packages/project-wpt/src/errors.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/errors.ts#L17) |
|
|
44
|
+
| <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | [`WptError`](WptError.md).[`exitCode`](WptError.md#property-exitcode) | [packages/project-wpt/src/errors.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/errors.ts#L19) |
|
|
45
45
|
| <a id="property-message"></a> `message` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`message`](WptError.md#property-message) | - |
|
|
46
46
|
| <a id="property-name"></a> `name` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`name`](WptError.md#property-name) | - |
|
|
47
47
|
| <a id="property-stack"></a> `stack?` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`stack`](WptError.md#property-stack) | - |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: InvalidCommitError
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/project-wpt/src/errors.ts:29](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
5
|
+
Defined in: [packages/project-wpt/src/errors.ts:29](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/errors.ts#L29)
|
|
6
6
|
|
|
7
7
|
A commit of the WPT that is no full hash of 40 hex digits, as a branch's name is not.
|
|
8
8
|
|
|
@@ -18,7 +18,7 @@ A commit of the WPT that is no full hash of 40 hex digits, as a branch's name is
|
|
|
18
18
|
new InvalidCommitError(commit): InvalidCommitError;
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/project-wpt/src/errors.ts:30](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
21
|
+
Defined in: [packages/project-wpt/src/errors.ts:30](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/errors.ts#L30)
|
|
22
22
|
|
|
23
23
|
#### Parameters
|
|
24
24
|
|
|
@@ -39,8 +39,8 @@ Defined in: [packages/project-wpt/src/errors.ts:30](https://gitlab.com/wetryfun/
|
|
|
39
39
|
| Property | Modifier | Type | Default value | Description | Inherited from | Defined in |
|
|
40
40
|
| ------ | ------ | ------ | ------ | ------ | ------ | ------ |
|
|
41
41
|
| <a id="property-cause"></a> `cause?` | `public` | `unknown` | `undefined` | - | [`WptError`](WptError.md).[`cause`](WptError.md#property-cause) | - |
|
|
42
|
-
| <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | [`WptError`](WptError.md).[`code`](WptError.md#property-code) | [packages/project-wpt/src/errors.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
43
|
-
| <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | [`WptError`](WptError.md).[`exitCode`](WptError.md#property-exitcode) | [packages/project-wpt/src/errors.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
42
|
+
| <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | [`WptError`](WptError.md).[`code`](WptError.md#property-code) | [packages/project-wpt/src/errors.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/errors.ts#L17) |
|
|
43
|
+
| <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | [`WptError`](WptError.md).[`exitCode`](WptError.md#property-exitcode) | [packages/project-wpt/src/errors.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/errors.ts#L19) |
|
|
44
44
|
| <a id="property-message"></a> `message` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`message`](WptError.md#property-message) | - |
|
|
45
45
|
| <a id="property-name"></a> `name` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`name`](WptError.md#property-name) | - |
|
|
46
46
|
| <a id="property-stack"></a> `stack?` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`stack`](WptError.md#property-stack) | - |
|