@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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: InvalidExpectationsError
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/project-wpt/src/errors.ts:64](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
5
|
+
Defined in: [packages/project-wpt/src/errors.ts:64](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/errors.ts#L64)
|
|
6
6
|
|
|
7
7
|
Expectations that are no object of a test file's known failures, each by its id.
|
|
8
8
|
|
|
@@ -22,7 +22,7 @@ new InvalidExpectationsError(
|
|
|
22
22
|
): InvalidExpectationsError;
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
-
Defined in: [packages/project-wpt/src/errors.ts:65](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
25
|
+
Defined in: [packages/project-wpt/src/errors.ts:65](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/errors.ts#L65)
|
|
26
26
|
|
|
27
27
|
#### Parameters
|
|
28
28
|
|
|
@@ -45,8 +45,8 @@ Defined in: [packages/project-wpt/src/errors.ts:65](https://gitlab.com/wetryfun/
|
|
|
45
45
|
| Property | Modifier | Type | Default value | Description | Inherited from | Defined in |
|
|
46
46
|
| ------ | ------ | ------ | ------ | ------ | ------ | ------ |
|
|
47
47
|
| <a id="property-cause"></a> `cause?` | `public` | `unknown` | `undefined` | - | [`WptError`](WptError.md).[`cause`](WptError.md#property-cause) | - |
|
|
48
|
-
| <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
|
|
49
|
-
| <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
|
|
48
|
+
| <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) |
|
|
49
|
+
| <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) |
|
|
50
50
|
| <a id="property-message"></a> `message` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`message`](WptError.md#property-message) | - |
|
|
51
51
|
| <a id="property-name"></a> `name` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`name`](WptError.md#property-name) | - |
|
|
52
52
|
| <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: NoSuiteError
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/project-wpt/src/errors.ts:39](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
5
|
+
Defined in: [packages/project-wpt/src/errors.ts:39](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/errors.ts#L39)
|
|
6
6
|
|
|
7
7
|
A suite of no test: no files or dirs.
|
|
8
8
|
|
|
@@ -18,7 +18,7 @@ A suite of no test: no files or dirs.
|
|
|
18
18
|
new NoSuiteError(name): NoSuiteError;
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/project-wpt/src/errors.ts:40](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
21
|
+
Defined in: [packages/project-wpt/src/errors.ts:40](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/errors.ts#L40)
|
|
22
22
|
|
|
23
23
|
#### Parameters
|
|
24
24
|
|
|
@@ -39,8 +39,8 @@ Defined in: [packages/project-wpt/src/errors.ts:40](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) | - |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: NotInWptError
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/project-wpt/src/errors.ts:53](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
5
|
+
Defined in: [packages/project-wpt/src/errors.ts:53](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/errors.ts#L53)
|
|
6
6
|
|
|
7
7
|
A path of a suite, or of a `// META: script=`, that the WPT does not have at its commit.
|
|
8
8
|
|
|
@@ -18,7 +18,7 @@ A path of a suite, or of a `// META: script=`, that the WPT does not have at its
|
|
|
18
18
|
new NotInWptError(commit, paths): NotInWptError;
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/project-wpt/src/errors.ts:57](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
21
|
+
Defined in: [packages/project-wpt/src/errors.ts:57](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/errors.ts#L57)
|
|
22
22
|
|
|
23
23
|
#### Parameters
|
|
24
24
|
|
|
@@ -40,11 +40,11 @@ Defined in: [packages/project-wpt/src/errors.ts:57](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
|
-
| <a id="property-paths"></a> `paths` | `readonly` | readonly `string`[] | `undefined` | The paths, each from the root of the WPT. | - | [packages/project-wpt/src/errors.ts:55](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
47
|
+
| <a id="property-paths"></a> `paths` | `readonly` | readonly `string`[] | `undefined` | The paths, each from the root of the WPT. | - | [packages/project-wpt/src/errors.ts:55](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/errors.ts#L55) |
|
|
48
48
|
| <a id="property-stack"></a> `stack?` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`stack`](WptError.md#property-stack) | - |
|
|
49
49
|
| <a id="property-stacktracelimit"></a> `stackTraceLimit` | `static` | `number` | `undefined` | The `Error.stackTraceLimit` property specifies the number of stack frames collected by a stack trace (whether generated by `new Error().stack` or `Error.captureStackTrace(obj)`). The default value is `10` but may be set to any valid JavaScript number. Changes will affect any stack trace captured _after_ the value has been changed. If set to a non-number value, or set to a negative number, stack traces will not capture any frames. | [`WptError`](WptError.md).[`stackTraceLimit`](WptError.md#property-stacktracelimit) | - |
|
|
50
50
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: StaleExpectationError
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/project-wpt/src/errors.ts:96](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
5
|
+
Defined in: [packages/project-wpt/src/errors.ts:96](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/errors.ts#L96)
|
|
6
6
|
|
|
7
7
|
An expectation of a test file, or of a subtest, that the suite does not have.
|
|
8
8
|
|
|
@@ -18,7 +18,7 @@ An expectation of a test file, or of a subtest, that the suite does not have.
|
|
|
18
18
|
new StaleExpectationError(names, source): StaleExpectationError;
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/project-wpt/src/errors.ts:97](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
21
|
+
Defined in: [packages/project-wpt/src/errors.ts:97](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/errors.ts#L97)
|
|
22
22
|
|
|
23
23
|
#### Parameters
|
|
24
24
|
|
|
@@ -40,8 +40,8 @@ Defined in: [packages/project-wpt/src/errors.ts:97](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: SubtestFailedError
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/project-wpt/src/errors.ts:71](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
5
|
+
Defined in: [packages/project-wpt/src/errors.ts:71](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/errors.ts#L71)
|
|
6
6
|
|
|
7
7
|
A subtest that failed, and no expectation says it does.
|
|
8
8
|
|
|
@@ -22,7 +22,7 @@ new SubtestFailedError(
|
|
|
22
22
|
): SubtestFailedError;
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
-
Defined in: [packages/project-wpt/src/errors.ts:72](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
25
|
+
Defined in: [packages/project-wpt/src/errors.ts:72](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/errors.ts#L72)
|
|
26
26
|
|
|
27
27
|
#### Parameters
|
|
28
28
|
|
|
@@ -45,8 +45,8 @@ Defined in: [packages/project-wpt/src/errors.ts:72](https://gitlab.com/wetryfun/
|
|
|
45
45
|
| Property | Modifier | Type | Default value | Description | Inherited from | Defined in |
|
|
46
46
|
| ------ | ------ | ------ | ------ | ------ | ------ | ------ |
|
|
47
47
|
| <a id="property-cause"></a> `cause?` | `public` | `unknown` | `undefined` | - | [`WptError`](WptError.md).[`cause`](WptError.md#property-cause) | - |
|
|
48
|
-
| <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
|
|
49
|
-
| <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
|
|
48
|
+
| <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) |
|
|
49
|
+
| <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) |
|
|
50
50
|
| <a id="property-message"></a> `message` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`message`](WptError.md#property-message) | - |
|
|
51
51
|
| <a id="property-name"></a> `name` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`name`](WptError.md#property-name) | - |
|
|
52
52
|
| <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: UnexpectedPassError
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/project-wpt/src/errors.ts:89](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
5
|
+
Defined in: [packages/project-wpt/src/errors.ts:89](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/errors.ts#L89)
|
|
6
6
|
|
|
7
7
|
What an expectation says fails, which passes now: take it out of the expectations, so the list
|
|
8
8
|
shrinks.
|
|
@@ -19,7 +19,7 @@ shrinks.
|
|
|
19
19
|
new UnexpectedPassError(what, source): UnexpectedPassError;
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
-
Defined in: [packages/project-wpt/src/errors.ts:90](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
22
|
+
Defined in: [packages/project-wpt/src/errors.ts:90](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/errors.ts#L90)
|
|
23
23
|
|
|
24
24
|
#### Parameters
|
|
25
25
|
|
|
@@ -41,8 +41,8 @@ Defined in: [packages/project-wpt/src/errors.ts:90](https://gitlab.com/wetryfun/
|
|
|
41
41
|
| Property | Modifier | Type | Default value | Description | Inherited from | Defined in |
|
|
42
42
|
| ------ | ------ | ------ | ------ | ------ | ------ | ------ |
|
|
43
43
|
| <a id="property-cause"></a> `cause?` | `public` | `unknown` | `undefined` | - | [`WptError`](WptError.md).[`cause`](WptError.md#property-cause) | - |
|
|
44
|
-
| <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
|
|
45
|
-
| <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
|
|
44
|
+
| <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) |
|
|
45
|
+
| <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) |
|
|
46
46
|
| <a id="property-message"></a> `message` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`message`](WptError.md#property-message) | - |
|
|
47
47
|
| <a id="property-name"></a> `name` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`name`](WptError.md#property-name) | - |
|
|
48
48
|
| <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: WptError
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/project-wpt/src/errors.ts:16](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
5
|
+
Defined in: [packages/project-wpt/src/errors.ts:16](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/errors.ts#L16)
|
|
6
6
|
|
|
7
7
|
What this package throws: an Error with a stable SCREAMING_SNAKE `code` to match on in place of
|
|
8
8
|
its message, and the `exitCode` a command that fails by it exits with, 1.
|
|
@@ -35,7 +35,7 @@ new WptError(
|
|
|
35
35
|
): WptError;
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
Defined in: [packages/project-wpt/src/errors.ts:21](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
38
|
+
Defined in: [packages/project-wpt/src/errors.ts:21](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/errors.ts#L21)
|
|
39
39
|
|
|
40
40
|
#### Parameters
|
|
41
41
|
|
|
@@ -60,8 +60,8 @@ Error.constructor
|
|
|
60
60
|
| Property | Modifier | Type | Default value | Description | Inherited from | Defined in |
|
|
61
61
|
| ------ | ------ | ------ | ------ | ------ | ------ | ------ |
|
|
62
62
|
| <a id="property-cause"></a> `cause?` | `public` | `unknown` | `undefined` | - | `Error.cause` | - |
|
|
63
|
-
| <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | - | [packages/project-wpt/src/errors.ts:17](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
64
|
-
| <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | - | [packages/project-wpt/src/errors.ts:19](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
63
|
+
| <a id="property-code"></a> `code` | `readonly` | `string` | `undefined` | - | - | [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) |
|
|
64
|
+
| <a id="property-exitcode"></a> `exitCode` | `readonly` | `number` | `1` | What a command that fails by it exits with. | - | [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) |
|
|
65
65
|
| <a id="property-message"></a> `message` | `public` | `string` | `undefined` | - | `Error.message` | - |
|
|
66
66
|
| <a id="property-name"></a> `name` | `public` | `string` | `undefined` | - | `Error.name` | - |
|
|
67
67
|
| <a id="property-stack"></a> `stack?` | `public` | `string` | `undefined` | - | `Error.stack` | - |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: WptFetchError
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/project-wpt/src/errors.ts:46](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
5
|
+
Defined in: [packages/project-wpt/src/errors.ts:46](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/errors.ts#L46)
|
|
6
6
|
|
|
7
7
|
A fetch of the WPT, by git, that failed: of no git, no network, or a commit not there.
|
|
8
8
|
|
|
@@ -22,7 +22,7 @@ new WptFetchError(
|
|
|
22
22
|
): WptFetchError;
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
-
Defined in: [packages/project-wpt/src/errors.ts:47](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
25
|
+
Defined in: [packages/project-wpt/src/errors.ts:47](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/errors.ts#L47)
|
|
26
26
|
|
|
27
27
|
#### Parameters
|
|
28
28
|
|
|
@@ -45,8 +45,8 @@ Defined in: [packages/project-wpt/src/errors.ts:47](https://gitlab.com/wetryfun/
|
|
|
45
45
|
| Property | Modifier | Type | Default value | Description | Inherited from | Defined in |
|
|
46
46
|
| ------ | ------ | ------ | ------ | ------ | ------ | ------ |
|
|
47
47
|
| <a id="property-cause"></a> `cause?` | `public` | `unknown` | `undefined` | - | [`WptError`](WptError.md).[`cause`](WptError.md#property-cause) | - |
|
|
48
|
-
| <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
|
|
49
|
-
| <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
|
|
48
|
+
| <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) |
|
|
49
|
+
| <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) |
|
|
50
50
|
| <a id="property-message"></a> `message` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`message`](WptError.md#property-message) | - |
|
|
51
51
|
| <a id="property-name"></a> `name` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`name`](WptError.md#property-name) | - |
|
|
52
52
|
| <a id="property-stack"></a> `stack?` | `public` | `string` | `undefined` | - | [`WptError`](WptError.md).[`stack`](WptError.md#property-stack) | - |
|
|
@@ -11,7 +11,7 @@ function checkHarness(
|
|
|
11
11
|
): void;
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
Defined in: [packages/project-wpt/src/expectations.ts:122](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
14
|
+
Defined in: [packages/project-wpt/src/expectations.ts:122](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/expectations.ts#L122)
|
|
15
15
|
|
|
16
16
|
The harness of a file, by what it came to and the reason it is expected not to come to `OK`:
|
|
17
17
|
as [checkSubtest](checkSubtest.md), a [HarnessFailedError](../../errors/classes/HarnessFailedError.md) or an [UnexpectedPassError](../../errors/classes/UnexpectedPassError.md).
|
|
@@ -10,7 +10,7 @@ function checkSubtest(
|
|
|
10
10
|
): void;
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Defined in: [packages/project-wpt/src/expectations.ts:107](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
13
|
+
Defined in: [packages/project-wpt/src/expectations.ts:107](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/expectations.ts#L107)
|
|
14
14
|
|
|
15
15
|
A subtest, by what it came to and the reason it is expected to fail, if one is: a failure of no
|
|
16
16
|
reason a [SubtestFailedError](../../errors/classes/SubtestFailedError.md); a pass of one, an [UnexpectedPassError](../../errors/classes/UnexpectedPassError.md).
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function expectationOf(expectations, test): FileExpectation;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-wpt/src/expectations.ts:90](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-wpt/src/expectations.ts:90](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/expectations.ts#L90)
|
|
10
10
|
|
|
11
11
|
The expectation of a test: its path's, and its id's over it, of a variant.
|
|
12
12
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function expectationsIssues(value): string[];
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-wpt/src/expectations.ts:41](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-wpt/src/expectations.ts:41](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/expectations.ts#L41)
|
|
10
10
|
|
|
11
11
|
What is wrong with expectations: each fault, by the id of its file.
|
|
12
12
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function readExpectations(from, __namedParameters): Promise<ReadExpectations>;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-wpt/src/expectations.ts:66](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-wpt/src/expectations.ts:66](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/expectations.ts#L66)
|
|
10
10
|
|
|
11
11
|
The expectations of a suite: of a JSON file, by its absolute path or its URL, read by `files`, a
|
|
12
12
|
URL a path by `path`, or an object, as they are; none of `undefined`. What is not valid is an
|
|
@@ -10,7 +10,7 @@ function staleOf(
|
|
|
10
10
|
): string[];
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Defined in: [packages/project-wpt/src/expectations.ts:138](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
13
|
+
Defined in: [packages/project-wpt/src/expectations.ts:138](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/expectations.ts#L138)
|
|
14
14
|
|
|
15
15
|
What the expectations name that the suite does not have: a file of none of its tests, by its id,
|
|
16
16
|
and a subtest no run of its file had, as `id › name`. A file skipped has no run, and its subtests
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type ReadExpectations = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-wpt/src/expectations.ts:32](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-wpt/src/expectations.ts:32](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/expectations.ts#L32)
|
|
10
10
|
|
|
11
11
|
Expectations, and where they are from, which an error names: their file, or `expectations`.
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ Expectations, and where they are from, which an error names: their file, or `exp
|
|
|
18
18
|
readonly expectations: Expectations;
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/project-wpt/src/expectations.ts:34](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
21
|
+
Defined in: [packages/project-wpt/src/expectations.ts:34](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/expectations.ts#L34)
|
|
22
22
|
|
|
23
23
|
***
|
|
24
24
|
|
|
@@ -28,4 +28,4 @@ Defined in: [packages/project-wpt/src/expectations.ts:34](https://gitlab.com/wet
|
|
|
28
28
|
readonly source: string;
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
Defined in: [packages/project-wpt/src/expectations.ts:33](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
31
|
+
Defined in: [packages/project-wpt/src/expectations.ts:33](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/expectations.ts#L33)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type CreateRealm = (globals, name) => Realm;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-wpt/src/index.ts:53](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-wpt/src/index.ts:53](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/index.ts#L53)
|
|
10
10
|
|
|
11
11
|
Makes a [Realm](Realm.md) of the `globals` it has, none else of the program's, and its `name`.
|
|
12
12
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type Exec = (command, args, options) => Promise<string>;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-wpt/src/index.ts:35](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-wpt/src/index.ts:35](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/index.ts#L35)
|
|
10
10
|
|
|
11
11
|
A command run to its end, as git: what it wrote on stdout. It fails with an error whose message
|
|
12
12
|
is what the command wrote on stderr, or why it did not run.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type Expectations = Readonly<Record<string, FileExpectation>>;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-wpt/src/index.ts:200](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-wpt/src/index.ts:200](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/index.ts#L200)
|
|
10
10
|
|
|
11
11
|
The known failures of a suite, by the id of each test file: its path, or its path and a variant,
|
|
12
12
|
which is over the path's. A run is green when only these fail, and red when one passes, so the
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type FileExpectation = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-wpt/src/index.ts:180](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-wpt/src/index.ts:180](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/index.ts#L180)
|
|
10
10
|
|
|
11
11
|
The known failures of a test file: why it does not run (`skip`), why its harness does not come
|
|
12
12
|
to `OK` (`harness`), and each subtest that fails, by its name, and why (`fail`).
|
|
@@ -19,7 +19,7 @@ to `OK` (`harness`), and each subtest that fails, by its name, and why (`fail`).
|
|
|
19
19
|
readonly optional fail?: Readonly<Record<string, string>>;
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
-
Defined in: [packages/project-wpt/src/index.ts:183](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
22
|
+
Defined in: [packages/project-wpt/src/index.ts:183](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/index.ts#L183)
|
|
23
23
|
|
|
24
24
|
***
|
|
25
25
|
|
|
@@ -29,7 +29,7 @@ Defined in: [packages/project-wpt/src/index.ts:183](https://gitlab.com/wetryfun/
|
|
|
29
29
|
readonly optional harness?: string;
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
Defined in: [packages/project-wpt/src/index.ts:182](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
32
|
+
Defined in: [packages/project-wpt/src/index.ts:182](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/index.ts#L182)
|
|
33
33
|
|
|
34
34
|
***
|
|
35
35
|
|
|
@@ -39,4 +39,4 @@ Defined in: [packages/project-wpt/src/index.ts:182](https://gitlab.com/wetryfun/
|
|
|
39
39
|
readonly optional skip?: string;
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
-
Defined in: [packages/project-wpt/src/index.ts:181](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
42
|
+
Defined in: [packages/project-wpt/src/index.ts:181](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/index.ts#L181)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type FileResult = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-wpt/src/index.ts:170](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-wpt/src/index.ts:170](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/index.ts#L170)
|
|
10
10
|
|
|
11
11
|
A run of a test file: its id, its harness, and each subtest, in the order they ended.
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ A run of a test file: its id, its harness, and each subtest, in the order they e
|
|
|
18
18
|
readonly harness: HarnessResult;
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/project-wpt/src/index.ts:172](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
21
|
+
Defined in: [packages/project-wpt/src/index.ts:172](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/index.ts#L172)
|
|
22
22
|
|
|
23
23
|
***
|
|
24
24
|
|
|
@@ -28,7 +28,7 @@ Defined in: [packages/project-wpt/src/index.ts:172](https://gitlab.com/wetryfun/
|
|
|
28
28
|
readonly id: string;
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
Defined in: [packages/project-wpt/src/index.ts:171](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
31
|
+
Defined in: [packages/project-wpt/src/index.ts:171](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/index.ts#L171)
|
|
32
32
|
|
|
33
33
|
***
|
|
34
34
|
|
|
@@ -38,4 +38,4 @@ Defined in: [packages/project-wpt/src/index.ts:171](https://gitlab.com/wetryfun/
|
|
|
38
38
|
readonly subtests: readonly SubtestResult[];
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
Defined in: [packages/project-wpt/src/index.ts:173](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
41
|
+
Defined in: [packages/project-wpt/src/index.ts:173](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/index.ts#L173)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type Globals = Readonly<Record<string, unknown>>;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-wpt/src/index.ts:146](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-wpt/src/index.ts:146](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/index.ts#L146)
|
|
10
10
|
|
|
11
11
|
The globals of a test file's context, by their names: the implementation under test, as
|
|
12
12
|
`{ BroadcastChannel, navigator: { locks } }`. Each is over the built-ins of the context, and
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type HarnessResult = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-wpt/src/index.ts:163](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-wpt/src/index.ts:163](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/index.ts#L163)
|
|
10
10
|
|
|
11
11
|
The harness of a file, and why it did not come to `OK`.
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ The harness of a file, and why it did not come to `OK`.
|
|
|
18
18
|
readonly optional message?: string;
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/project-wpt/src/index.ts:165](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
21
|
+
Defined in: [packages/project-wpt/src/index.ts:165](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/index.ts#L165)
|
|
22
22
|
|
|
23
23
|
***
|
|
24
24
|
|
|
@@ -28,7 +28,7 @@ Defined in: [packages/project-wpt/src/index.ts:165](https://gitlab.com/wetryfun/
|
|
|
28
28
|
readonly optional stack?: string;
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
Defined in: [packages/project-wpt/src/index.ts:166](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
31
|
+
Defined in: [packages/project-wpt/src/index.ts:166](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/index.ts#L166)
|
|
32
32
|
|
|
33
33
|
***
|
|
34
34
|
|
|
@@ -38,4 +38,4 @@ Defined in: [packages/project-wpt/src/index.ts:166](https://gitlab.com/wetryfun/
|
|
|
38
38
|
readonly status: HarnessStatus;
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
Defined in: [packages/project-wpt/src/index.ts:164](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
41
|
+
Defined in: [packages/project-wpt/src/index.ts:164](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/index.ts#L164)
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
type HarnessStatus = "OK" | "ERROR" | "TIMEOUT" | "PRECONDITION_FAILED";
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-wpt/src/index.ts:152](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-wpt/src/index.ts:152](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/index.ts#L152)
|
|
10
10
|
|
|
11
11
|
What the harness of a file came to: `OK` of a file that ran to its end.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type HoldRejections = (listener) => () => void;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-wpt/src/index.ts:60](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-wpt/src/index.ts:60](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/index.ts#L60)
|
|
10
10
|
|
|
11
11
|
Gives `listener` each rejection no one handles, as the program reports it, until the function
|
|
12
12
|
it returns is called, and no other listener of the program hears it meanwhile: a test file
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type Realm = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-wpt/src/index.ts:45](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-wpt/src/index.ts:45](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/index.ts#L45)
|
|
10
10
|
|
|
11
11
|
A realm a script runs in, of its own global ([CreateRealm](CreateRealm.md)): the global it has, and what
|
|
12
12
|
evaluates a script in it as a browser's global does. Node's is a `node:vm` context.
|
|
@@ -19,7 +19,7 @@ evaluates a script in it as a browser's global does. Node's is a `node:vm` conte
|
|
|
19
19
|
readonly global: Record<string, unknown>;
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
-
Defined in: [packages/project-wpt/src/index.ts:47](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
22
|
+
Defined in: [packages/project-wpt/src/index.ts:47](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/index.ts#L47)
|
|
23
23
|
|
|
24
24
|
The realm's global: the `globals` it was made of, and `self`, which the caller sets.
|
|
25
25
|
|
|
@@ -31,7 +31,7 @@ The realm's global: the `globals` it was made of, and `self`, which the caller s
|
|
|
31
31
|
evaluate(code, filename): void;
|
|
32
32
|
```
|
|
33
33
|
|
|
34
|
-
Defined in: [packages/project-wpt/src/index.ts:49](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
34
|
+
Defined in: [packages/project-wpt/src/index.ts:49](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/index.ts#L49)
|
|
35
35
|
|
|
36
36
|
Evaluates `code` as a script in the realm, as of the file `filename`; what it throws, it throws.
|
|
37
37
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type SubtestResult = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-wpt/src/index.ts:155](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-wpt/src/index.ts:155](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/index.ts#L155)
|
|
10
10
|
|
|
11
11
|
A subtest, by its name, and what it came to, with the message and the stack of a failure.
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ A subtest, by its name, and what it came to, with the message and the stack of a
|
|
|
18
18
|
readonly optional message?: string;
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/project-wpt/src/index.ts:158](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
21
|
+
Defined in: [packages/project-wpt/src/index.ts:158](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/index.ts#L158)
|
|
22
22
|
|
|
23
23
|
***
|
|
24
24
|
|
|
@@ -28,7 +28,7 @@ Defined in: [packages/project-wpt/src/index.ts:158](https://gitlab.com/wetryfun/
|
|
|
28
28
|
readonly name: string;
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
Defined in: [packages/project-wpt/src/index.ts:156](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
31
|
+
Defined in: [packages/project-wpt/src/index.ts:156](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/index.ts#L156)
|
|
32
32
|
|
|
33
33
|
***
|
|
34
34
|
|
|
@@ -38,7 +38,7 @@ Defined in: [packages/project-wpt/src/index.ts:156](https://gitlab.com/wetryfun/
|
|
|
38
38
|
readonly optional stack?: string;
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
Defined in: [packages/project-wpt/src/index.ts:159](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
41
|
+
Defined in: [packages/project-wpt/src/index.ts:159](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/index.ts#L159)
|
|
42
42
|
|
|
43
43
|
***
|
|
44
44
|
|
|
@@ -48,4 +48,4 @@ Defined in: [packages/project-wpt/src/index.ts:159](https://gitlab.com/wetryfun/
|
|
|
48
48
|
readonly status: SubtestStatus;
|
|
49
49
|
```
|
|
50
50
|
|
|
51
|
-
Defined in: [packages/project-wpt/src/index.ts:157](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
51
|
+
Defined in: [packages/project-wpt/src/index.ts:157](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/index.ts#L157)
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
type SubtestStatus = "PASS" | "FAIL" | "TIMEOUT" | "NOTRUN" | "PRECONDITION_FAILED";
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-wpt/src/index.ts:149](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.0
|
|
9
|
+
Defined in: [packages/project-wpt/src/index.ts:149](https://gitlab.com/wetryfun/project/project/-/blob/docs-v5.1.0/packages/project-wpt/src/index.ts#L149)
|
|
10
10
|
|
|
11
11
|
What a subtest of testharness.js came to.
|