@wtf/project-docs 2.2.1 → 2.3.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/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/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/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/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/README.md +61 -14
- 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/README.md +9 -2
- package/api/@wtf/project-config/errors/classes/ConfigError.md +5 -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 +187 -0
- 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/SyncConfigInCodeError.md +5 -5
- 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 +18 -0
- package/api/@wtf/project-config/errors/type-aliases/NamedErrorDetails.md +72 -0
- 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/ConfigSyncPlatform.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/SyncFiles.md +3 -3
- 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/functions/loadConfigSync.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 +2 -2
- package/api/@wtf/project-config/load/type-aliases/LoadSyncOptions.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/locateConfigSync.md +1 -1
- package/api/@wtf/project-config/locate/functions/projectRootOf.md +1 -1
- package/api/@wtf/project-config/locate/functions/projectRootOfSync.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/LocateSyncOptions.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/README.md +66 -0
- package/api/@wtf/project-config/named/functions/factoryOf.md +32 -0
- package/api/@wtf/project-config/named/functions/namedSchema.md +31 -0
- package/api/@wtf/project-config/named/functions/namedSetSchema.md +23 -0
- package/api/@wtf/project-config/named/functions/resolveNamed.md +34 -0
- package/api/@wtf/project-config/named/functions/resolveNamedSet.md +35 -0
- package/api/@wtf/project-config/named/type-aliases/LoadModule.md +22 -0
- package/api/@wtf/project-config/named/type-aliases/ModuleReference.md +37 -0
- package/api/@wtf/project-config/named/type-aliases/NamedEntries.md +17 -0
- package/api/@wtf/project-config/named/type-aliases/NamedFactory.md +27 -0
- package/api/@wtf/project-config/named/type-aliases/NamedOptions.md +11 -0
- package/api/@wtf/project-config/named/type-aliases/NamedReference.md +21 -0
- package/api/@wtf/project-config/named/type-aliases/NamedResolveOptions.md +24 -0
- package/api/@wtf/project-config/named/type-aliases/NamedSchema.md +17 -0
- package/api/@wtf/project-config/named/type-aliases/NamedSchemaOptions.md +49 -0
- package/api/@wtf/project-config/named/type-aliases/NamedSet.md +24 -0
- package/api/@wtf/project-config/named/type-aliases/NamedSetOptions.md +54 -0
- package/api/@wtf/project-config/named/type-aliases/NamedSetSchemaOptions.md +35 -0
- package/api/@wtf/project-config/named/type-aliases/NamedSets.md +19 -0
- package/api/@wtf/project-config/named/type-aliases/NamedUse.md +19 -0
- package/api/@wtf/project-config/node/README.md +5 -3
- package/api/@wtf/project-config/node/functions/loadConfig.md +1 -1
- package/api/@wtf/project-config/node/functions/loadConfigSync.md +1 -1
- package/api/@wtf/project-config/node/functions/nodeConfigPlatform.md +1 -1
- package/api/@wtf/project-config/node/functions/nodeLoadModule.md +32 -0
- package/api/@wtf/project-config/node/functions/nodeSyncPlatform.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/functions/sectionOfSync.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-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/RevisionSources.md +3 -3
- package/api/@wtf/project-typedoc/config/type-aliases/TypedocConfig.md +1 -1
- package/api/@wtf/project-typedoc/config/type-aliases/TypedocOptions.md +6 -6
- package/api/@wtf/project-typedoc/config/variables/nodeRun.md +1 -1
- 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 +3 -3
- package/api/@wtf/project-typedoc/plugins/type-aliases/LinkTrackedSourcesOptions.md +3 -3
- package/api/@wtf/project-typedoc/plugins/type-aliases/PreventMediaFilesOptions.md +3 -3
- package/api/@wtf/project-typedoc/plugins/type-aliases/Run.md +1 -1
- package/api/@wtf/project-typedoc/plugins/type-aliases/TypedocPlugin.md +1 -1
- 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/type-aliases/BaseOptions.md +2 -2
- 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/FROM_DIST.md +1 -1
- package/api/@wtf/project-vite/config/variables/THRESHOLD.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 +3 -3
- 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/RootConfigOptions.md +2 -2
- package/api/@wtf/project-vitest/config/type-aliases/RootOptions.md +7 -7
- package/api/@wtf/project-vitest/config/variables/FROM_DIST.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/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/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/ClearTimeout.md +1 -1
- package/api/@wtf/project-wpt/index/type-aliases/CreateRealm.md +1 -1
- package/api/@wtf/project-wpt/index/type-aliases/Env.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/Performance.md +3 -3
- package/api/@wtf/project-wpt/index/type-aliases/Realm.md +3 -3
- package/api/@wtf/project-wpt/index/type-aliases/SetTimeout.md +1 -1
- 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 +6 -6
- 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/nodePlatform.md +1 -1
- package/api/@wtf/project-wpt/node/functions/nodeSystem.md +1 -1
- package/api/@wtf/project-wpt/node/variables/nodeExec.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/guides/config.md +85 -0
- package/package.json +2 -2
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
function fileOf(path): string;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-wpt/src/checkout.ts:38](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.
|
|
9
|
+
Defined in: [packages/project-wpt/src/checkout.ts:38](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.0/packages/project-wpt/src/checkout.ts#L38)
|
|
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:231](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.
|
|
9
|
+
Defined in: [packages/project-wpt/src/checkout.ts:231](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.0/packages/project-wpt/src/checkout.ts#L231)
|
|
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:232](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.
|
|
21
|
+
Defined in: [packages/project-wpt/src/checkout.ts:232](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.0/packages/project-wpt/src/checkout.ts#L232)
|
|
22
22
|
|
|
23
23
|
***
|
|
24
24
|
|
|
@@ -28,6 +28,6 @@ Defined in: [packages/project-wpt/src/checkout.ts:232](https://gitlab.com/wetryf
|
|
|
28
28
|
readonly tests: readonly WptTest[];
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
Defined in: [packages/project-wpt/src/checkout.ts:234](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.
|
|
31
|
+
Defined in: [packages/project-wpt/src/checkout.ts:234](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.0/packages/project-wpt/src/checkout.ts#L234)
|
|
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:41](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.
|
|
9
|
+
Defined in: [packages/project-wpt/src/checkout.ts:41](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.0/packages/project-wpt/src/checkout.ts#L41)
|
|
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:66](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.
|
|
21
|
+
Defined in: [packages/project-wpt/src/checkout.ts:66](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.0/packages/project-wpt/src/checkout.ts#L66)
|
|
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:62](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.
|
|
33
|
+
Defined in: [packages/project-wpt/src/checkout.ts:62](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.0/packages/project-wpt/src/checkout.ts#L62)
|
|
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:58](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.
|
|
45
|
+
Defined in: [packages/project-wpt/src/checkout.ts:58](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.0/packages/project-wpt/src/checkout.ts#L58)
|
|
46
46
|
|
|
47
47
|
Runs git, to its end, in a folder and an environment: `nodeExec` of ./node, in Node.
|
|
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:47](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.
|
|
64
|
+
Defined in: [packages/project-wpt/src/checkout.ts:47](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.0/packages/project-wpt/src/checkout.ts#L47)
|
|
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">;
|
|
76
76
|
```
|
|
77
77
|
|
|
78
|
-
Defined in: [packages/project-wpt/src/checkout.ts:56](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.
|
|
78
|
+
Defined in: [packages/project-wpt/src/checkout.ts:56](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.0/packages/project-wpt/src/checkout.ts#L56)
|
|
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, and `performance`, whose clock tells how old
|
|
@@ -89,7 +89,7 @@ that lock is.
|
|
|
89
89
|
readonly optional repository?: string;
|
|
90
90
|
```
|
|
91
91
|
|
|
92
|
-
Defined in: [packages/project-wpt/src/checkout.ts:64](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.
|
|
92
|
+
Defined in: [packages/project-wpt/src/checkout.ts:64](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.0/packages/project-wpt/src/checkout.ts#L64)
|
|
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:60](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.
|
|
104
|
+
Defined in: [packages/project-wpt/src/checkout.ts:60](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.0/packages/project-wpt/src/checkout.ts#L60)
|
|
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:238](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.
|
|
9
|
+
Defined in: [packages/project-wpt/src/checkout.ts:238](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.0/packages/project-wpt/src/checkout.ts#L238)
|
|
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:240](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.
|
|
21
|
+
Defined in: [packages/project-wpt/src/checkout.ts:240](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.0/packages/project-wpt/src/checkout.ts#L240)
|
|
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:26](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.
|
|
9
|
+
Defined in: [packages/project-wpt/src/checkout.ts:26](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.0/packages/project-wpt/src/checkout.ts#L26)
|
|
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:33](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.
|
|
9
|
+
Defined in: [packages/project-wpt/src/checkout.ts:33](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.0/packages/project-wpt/src/checkout.ts#L33)
|
|
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:23](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.
|
|
9
|
+
Defined in: [packages/project-wpt/src/checkout.ts:23](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.0/packages/project-wpt/src/checkout.ts#L23)
|
|
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-v2.
|
|
5
|
+
Defined in: [packages/project-wpt/src/errors.ts:79](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.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-v2.
|
|
21
|
+
Defined in: [packages/project-wpt/src/errors.ts:80](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.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-v2.
|
|
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-v2.
|
|
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-v2.3.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-v2.3.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-v2.
|
|
5
|
+
Defined in: [packages/project-wpt/src/errors.ts:29](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.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-v2.
|
|
21
|
+
Defined in: [packages/project-wpt/src/errors.ts:30](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.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-v2.
|
|
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-v2.
|
|
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-v2.3.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-v2.3.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: InvalidExpectationsError
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/project-wpt/src/errors.ts:64](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.
|
|
5
|
+
Defined in: [packages/project-wpt/src/errors.ts:64](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.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-v2.
|
|
25
|
+
Defined in: [packages/project-wpt/src/errors.ts:65](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.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-v2.
|
|
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-v2.
|
|
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-v2.3.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-v2.3.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-v2.
|
|
5
|
+
Defined in: [packages/project-wpt/src/errors.ts:39](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.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-v2.
|
|
21
|
+
Defined in: [packages/project-wpt/src/errors.ts:40](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.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-v2.
|
|
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-v2.
|
|
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-v2.3.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-v2.3.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-v2.
|
|
5
|
+
Defined in: [packages/project-wpt/src/errors.ts:53](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.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-v2.
|
|
21
|
+
Defined in: [packages/project-wpt/src/errors.ts:57](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.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-v2.
|
|
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-v2.
|
|
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-v2.3.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-v2.3.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-v2.
|
|
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-v2.3.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-v2.
|
|
5
|
+
Defined in: [packages/project-wpt/src/errors.ts:96](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.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-v2.
|
|
21
|
+
Defined in: [packages/project-wpt/src/errors.ts:97](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.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-v2.
|
|
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-v2.
|
|
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-v2.3.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-v2.3.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-v2.
|
|
5
|
+
Defined in: [packages/project-wpt/src/errors.ts:71](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.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-v2.
|
|
25
|
+
Defined in: [packages/project-wpt/src/errors.ts:72](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.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-v2.
|
|
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-v2.
|
|
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-v2.3.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-v2.3.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-v2.
|
|
5
|
+
Defined in: [packages/project-wpt/src/errors.ts:89](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.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-v2.
|
|
22
|
+
Defined in: [packages/project-wpt/src/errors.ts:90](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.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-v2.
|
|
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-v2.
|
|
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-v2.3.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-v2.3.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-v2.
|
|
5
|
+
Defined in: [packages/project-wpt/src/errors.ts:16](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.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-v2.
|
|
38
|
+
Defined in: [packages/project-wpt/src/errors.ts:21](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.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-v2.
|
|
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-v2.
|
|
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-v2.3.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-v2.3.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-v2.
|
|
5
|
+
Defined in: [packages/project-wpt/src/errors.ts:46](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.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-v2.
|
|
25
|
+
Defined in: [packages/project-wpt/src/errors.ts:47](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.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-v2.
|
|
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-v2.
|
|
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-v2.3.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-v2.3.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:118](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.
|
|
14
|
+
Defined in: [packages/project-wpt/src/expectations.ts:118](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.0/packages/project-wpt/src/expectations.ts#L118)
|
|
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:103](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.
|
|
13
|
+
Defined in: [packages/project-wpt/src/expectations.ts:103](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.0/packages/project-wpt/src/expectations.ts#L103)
|
|
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:86](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.
|
|
9
|
+
Defined in: [packages/project-wpt/src/expectations.ts:86](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.0/packages/project-wpt/src/expectations.ts#L86)
|
|
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-v2.
|
|
9
|
+
Defined in: [packages/project-wpt/src/expectations.ts:41](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.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:65](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.
|
|
9
|
+
Defined in: [packages/project-wpt/src/expectations.ts:65](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.0/packages/project-wpt/src/expectations.ts#L65)
|
|
10
10
|
|
|
11
11
|
The expectations of a suite: of a JSON file, by its path or its URL, or an object, as they are;
|
|
12
12
|
none of `undefined`. What is not valid is an [InvalidExpectationsError](../../errors/classes/InvalidExpectationsError.md).
|
|
@@ -10,7 +10,7 @@ function staleOf(
|
|
|
10
10
|
): string[];
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Defined in: [packages/project-wpt/src/expectations.ts:134](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.
|
|
13
|
+
Defined in: [packages/project-wpt/src/expectations.ts:134](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.0/packages/project-wpt/src/expectations.ts#L134)
|
|
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-v2.
|
|
9
|
+
Defined in: [packages/project-wpt/src/expectations.ts:32](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.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-v2.
|
|
21
|
+
Defined in: [packages/project-wpt/src/expectations.ts:34](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.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-v2.
|
|
31
|
+
Defined in: [packages/project-wpt/src/expectations.ts:33](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.0/packages/project-wpt/src/expectations.ts#L33)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type ClearTimeout = (id?) => void;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-wpt/src/index.ts:21](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.
|
|
9
|
+
Defined in: [packages/project-wpt/src/index.ts:21](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.0/packages/project-wpt/src/index.ts#L21)
|
|
10
10
|
|
|
11
11
|
The HTML Standard's `clearTimeout`: stops the timer `setTimeout` gave the id of.
|
|
12
12
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type CreateRealm = (globals, name) => Realm;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-wpt/src/index.ts:61](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.
|
|
9
|
+
Defined in: [packages/project-wpt/src/index.ts:61](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.3.0/packages/project-wpt/src/index.ts#L61)
|
|
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
|
|