@wtf/project-docs 1.1.0 → 2.0.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 +134 -12
- package/api/@wtf/project-astro/README.md +53 -14
- 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 +2 -2
- 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/README.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/slashFolderLinksIn.md +1 -1
- package/api/@wtf/project-astro/pages/variables/PAGES.md +1 -1
- package/api/@wtf/project-astro/preview/README.md +20 -10
- package/api/@wtf/project-astro/preview/functions/files.md +5 -1
- package/api/@wtf/project-astro/preview/functions/listen.md +4 -2
- package/api/@wtf/project-astro/preview/functions/notFound.md +3 -2
- package/api/@wtf/project-astro/preview/functions/pagesOf.md +4 -3
- package/api/@wtf/project-astro/preview/functions/previewOf.md +25 -0
- 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 +15 -3
- package/api/@wtf/project-astro/preview/type-aliases/Listening.md +16 -4
- package/api/@wtf/project-astro/preview/type-aliases/Pages.md +3 -3
- package/api/@wtf/project-astro/preview/type-aliases/Preview.md +19 -0
- package/api/@wtf/project-astro/preview/type-aliases/PreviewOptions.md +36 -0
- 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/README.md +23 -0
- package/api/@wtf/project-astro/schema/variables/astroSchema.md +13 -0
- package/api/@wtf/project-config/README.md +94 -0
- package/api/@wtf/project-config/define/README.md +23 -0
- package/api/@wtf/project-config/define/functions/defineConfig.md +29 -0
- package/api/@wtf/project-config/env/README.md +33 -0
- package/api/@wtf/project-config/env/functions/envNameOf.md +22 -0
- package/api/@wtf/project-config/env/functions/envPrefixOf.md +22 -0
- package/api/@wtf/project-config/env/functions/jsonSchemaOf.md +23 -0
- package/api/@wtf/project-config/env/functions/variablesOf.md +23 -0
- package/api/@wtf/project-config/env/functions/withEnvironment.md +34 -0
- package/api/@wtf/project-config/env/type-aliases/Environment.md +11 -0
- package/api/@wtf/project-config/env/type-aliases/EnvironmentValue.md +32 -0
- package/api/@wtf/project-config/env/type-aliases/WithEnvironment.md +31 -0
- package/api/@wtf/project-config/errors/README.md +31 -0
- package/api/@wtf/project-config/errors/classes/ConfigError.md +200 -0
- package/api/@wtf/project-config/errors/classes/ConfigFileMismatchError.md +175 -0
- package/api/@wtf/project-config/errors/classes/ConfigInCodeError.md +177 -0
- package/api/@wtf/project-config/errors/classes/ConfigPathError.md +174 -0
- package/api/@wtf/project-config/errors/classes/EnvPlaceholderUnsetError.md +176 -0
- package/api/@wtf/project-config/errors/classes/InvalidConfigFileError.md +179 -0
- package/api/@wtf/project-config/errors/classes/InvalidSectionError.md +185 -0
- package/api/@wtf/project-config/errors/classes/NoConfigFileError.md +178 -0
- package/api/@wtf/project-config/errors/classes/NoConfigValueError.md +174 -0
- package/api/@wtf/project-config/errors/classes/SyncConfigInCodeError.md +177 -0
- package/api/@wtf/project-config/errors/classes/SyncSchemaError.md +174 -0
- package/api/@wtf/project-config/errors/classes/UnwritableConfigFileError.md +175 -0
- package/api/@wtf/project-config/index/README.md +35 -0
- package/api/@wtf/project-config/index/type-aliases/ConfigDefaults.md +36 -0
- package/api/@wtf/project-config/index/type-aliases/ConfigEnvironment.md +44 -0
- package/api/@wtf/project-config/index/type-aliases/ConfigIssue.md +31 -0
- package/api/@wtf/project-config/index/type-aliases/ConfigNames.md +52 -0
- package/api/@wtf/project-config/index/type-aliases/ConfigPath.md +12 -0
- package/api/@wtf/project-config/index/type-aliases/ConfigPlatform.md +14 -0
- package/api/@wtf/project-config/index/type-aliases/ConfigSection.md +19 -0
- package/api/@wtf/project-config/index/type-aliases/ConfigSource.md +35 -0
- package/api/@wtf/project-config/index/type-aliases/ConfigSyncPlatform.md +33 -0
- package/api/@wtf/project-config/index/type-aliases/ConfigWrite.md +116 -0
- package/api/@wtf/project-config/index/type-aliases/ImportModule.md +22 -0
- package/api/@wtf/project-config/index/type-aliases/JsonSchema.md +15 -0
- package/api/@wtf/project-config/index/type-aliases/LocatedConfig.md +45 -0
- package/api/@wtf/project-config/index/type-aliases/NamespaceConfig.md +29 -0
- package/api/@wtf/project-config/index/type-aliases/ResolvedConfig.md +109 -0
- package/api/@wtf/project-config/index/type-aliases/SectionSchema.md +23 -0
- package/api/@wtf/project-config/index/type-aliases/SectionsOf.md +19 -0
- package/api/@wtf/project-config/index/type-aliases/SyncFiles.md +55 -0
- package/api/@wtf/project-config/index/type-aliases/ValidateSection.md +24 -0
- package/api/@wtf/project-config/load/README.md +33 -0
- package/api/@wtf/project-config/load/functions/ignoredWarning.md +22 -0
- package/api/@wtf/project-config/load/functions/importFileModule.md +24 -0
- package/api/@wtf/project-config/load/functions/loadConfig.md +30 -0
- package/api/@wtf/project-config/load/functions/loadConfigSync.md +25 -0
- package/api/@wtf/project-config/load/type-aliases/LoadLayers.md +19 -0
- package/api/@wtf/project-config/load/type-aliases/LoadOptions.md +17 -0
- package/api/@wtf/project-config/load/type-aliases/LoadSyncOptions.md +11 -0
- package/api/@wtf/project-config/locate/README.md +40 -0
- package/api/@wtf/project-config/locate/functions/configFilesOf.md +23 -0
- package/api/@wtf/project-config/locate/functions/configNamesOf.md +24 -0
- package/api/@wtf/project-config/locate/functions/jsonFilesOf.md +22 -0
- package/api/@wtf/project-config/locate/functions/locateConfig.md +27 -0
- package/api/@wtf/project-config/locate/functions/locateConfigSync.md +23 -0
- package/api/@wtf/project-config/locate/functions/projectRootOf.md +25 -0
- package/api/@wtf/project-config/locate/functions/projectRootOfSync.md +23 -0
- package/api/@wtf/project-config/locate/type-aliases/LocateNames.md +18 -0
- package/api/@wtf/project-config/locate/type-aliases/LocateOptions.md +17 -0
- package/api/@wtf/project-config/locate/type-aliases/LocateSyncOptions.md +17 -0
- package/api/@wtf/project-config/locate/type-aliases/NamespaceNames.md +18 -0
- package/api/@wtf/project-config/locate/variables/DEFAULT_NAMESPACE.md +11 -0
- package/api/@wtf/project-config/node/README.md +27 -0
- package/api/@wtf/project-config/node/functions/loadConfig.md +24 -0
- package/api/@wtf/project-config/node/functions/loadConfigSync.md +24 -0
- package/api/@wtf/project-config/node/functions/nodeConfigPlatform.md +16 -0
- package/api/@wtf/project-config/node/functions/nodeSyncPlatform.md +16 -0
- package/api/@wtf/project-config/path/README.md +13 -0
- package/api/@wtf/project-config/path/functions/configPathOf.md +23 -0
- package/api/@wtf/project-config/path/functions/textOfConfigPath.md +21 -0
- package/api/@wtf/project-config/path/functions/valueAt.md +23 -0
- package/api/@wtf/project-config/placeholder/README.md +24 -0
- package/api/@wtf/project-config/placeholder/functions/expandPlaceholders.md +31 -0
- package/api/@wtf/project-config/placeholder/functions/expandString.md +31 -0
- package/api/@wtf/project-config/schema/README.md +29 -0
- package/api/@wtf/project-config/schema/functions/namespaceSchema.md +31 -0
- package/api/@wtf/project-config/schema/functions/sectionIdOf.md +23 -0
- package/api/@wtf/project-config/schema/type-aliases/NamespaceSchemaOptions.md +31 -0
- package/api/@wtf/project-config/schema/variables/JSON_SCHEMA_DRAFT.md +11 -0
- package/api/@wtf/project-config/section/README.md +34 -0
- package/api/@wtf/project-config/section/functions/issuesOf.md +30 -0
- package/api/@wtf/project-config/section/functions/issuesOfSync.md +34 -0
- package/api/@wtf/project-config/section/functions/mergeSection.md +28 -0
- package/api/@wtf/project-config/section/functions/sectionOf.md +43 -0
- package/api/@wtf/project-config/section/functions/sectionOfSync.md +35 -0
- package/api/@wtf/project-config/section/type-aliases/Checked.md +38 -0
- package/api/@wtf/project-config/write/README.md +30 -0
- package/api/@wtf/project-config/write/functions/setConfigValue.md +39 -0
- package/api/@wtf/project-config/write/functions/unsetConfigValue.md +31 -0
- package/api/@wtf/project-config/write/type-aliases/WriteOptions.md +18 -0
- package/api/@wtf/project-oxfmt/README.md +32 -8
- package/api/@wtf/project-oxfmt/config/README.md +23 -0
- package/api/@wtf/project-oxfmt/config/functions/oxfmtConfig.md +30 -0
- package/api/@wtf/project-oxfmt/config/type-aliases/OxfmtOptions.md +11 -0
- package/api/@wtf/project-oxfmt/config/variables/OXFMT_DEFAULTS.md +21 -0
- package/api/@wtf/project-oxfmt/config/variables/default.md +11 -0
- package/api/@wtf/project-oxfmt/schema/README.md +25 -0
- package/api/@wtf/project-oxfmt/schema/variables/oxfmtSchema.md +13 -0
- package/api/@wtf/project-oxlint/README.md +35 -8
- package/api/@wtf/project-oxlint/config/README.md +23 -0
- package/api/@wtf/project-oxlint/config/functions/oxlintConfig.md +30 -0
- package/api/@wtf/project-oxlint/config/type-aliases/OxlintOptions.md +13 -0
- package/api/@wtf/project-oxlint/config/variables/OXLINT_DEFAULTS.md +32 -0
- package/api/@wtf/project-oxlint/config/variables/default.md +11 -0
- package/api/@wtf/project-oxlint/schema/README.md +27 -0
- package/api/@wtf/project-oxlint/schema/variables/oxlintSchema.md +12 -0
- 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/README.md +31 -4
- 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/README.md +28 -0
- package/api/@wtf/project-typedoc/schema/variables/typedocSchema.md +13 -0
- package/api/@wtf/project-vite/README.md +17 -33
- package/api/@wtf/project-vite/config/README.md +46 -0
- package/api/@wtf/project-vite/{functions → config/functions}/baseConfig.md +5 -5
- package/api/@wtf/project-vite/{functions → config/functions}/buildsSite.md +2 -2
- package/api/@wtf/project-vite/{functions → config/functions}/compress.md +2 -2
- package/api/@wtf/project-vite/{functions → config/functions}/conditionsOf.md +2 -2
- package/api/@wtf/project-vite/{type-aliases → config/type-aliases}/BaseOptions.md +3 -3
- package/api/@wtf/project-vite/{type-aliases → config/type-aliases}/CompressOptions.md +5 -5
- package/api/@wtf/project-vite/{variables → config/variables}/CLIENT_CONDITIONS.md +2 -2
- package/api/@wtf/project-vite/{variables → config/variables}/COMPRESSIBLE.md +2 -2
- package/api/@wtf/project-vite/{variables → config/variables}/FROM_DIST.md +2 -2
- package/api/@wtf/project-vite/{variables → config/variables}/THRESHOLD.md +2 -2
- package/api/@wtf/project-vite/schema/README.md +21 -0
- package/api/@wtf/project-vite/schema/variables/viteSchema.md +12 -0
- package/api/@wtf/project-vitest/README.md +26 -0
- 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/README.md +22 -0
- package/api/@wtf/project-vitest/schema/variables/vitestSchema.md +13 -0
- 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/README.md +44 -0
- 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/README.md +39 -0
- package/api/@wtf/project-wpt/schema/type-aliases/WptConfig.md +27 -0
- package/api/@wtf/project-wpt/schema/type-aliases/WptSuiteConfig.md +19 -0
- package/api/@wtf/project-wpt/schema/variables/wptSchema.md +13 -0
- 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/astro.md +37 -20
- package/guides/config.md +153 -0
- package/guides/presets.md +16 -0
- package/package.json +10 -9
- package/api/@wtf/project-oxfmt/variables/default.md +0 -19
- package/api/@wtf/project-oxlint/variables/default.md +0 -30
|
@@ -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-
|
|
5
|
+
Defined in: [packages/project-wpt/src/errors.ts:79](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.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-
|
|
21
|
+
Defined in: [packages/project-wpt/src/errors.ts:80](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.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-
|
|
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-
|
|
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.0.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.0.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-
|
|
5
|
+
Defined in: [packages/project-wpt/src/errors.ts:29](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.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-
|
|
21
|
+
Defined in: [packages/project-wpt/src/errors.ts:30](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.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-
|
|
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-
|
|
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.0.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.0.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-
|
|
5
|
+
Defined in: [packages/project-wpt/src/errors.ts:64](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.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-
|
|
25
|
+
Defined in: [packages/project-wpt/src/errors.ts:65](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.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-
|
|
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-
|
|
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.0.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.0.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-
|
|
5
|
+
Defined in: [packages/project-wpt/src/errors.ts:39](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.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-
|
|
21
|
+
Defined in: [packages/project-wpt/src/errors.ts:40](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.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-
|
|
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-
|
|
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.0.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.0.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-
|
|
5
|
+
Defined in: [packages/project-wpt/src/errors.ts:53](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.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-
|
|
21
|
+
Defined in: [packages/project-wpt/src/errors.ts:57](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.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-
|
|
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-
|
|
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.0.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.0.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-
|
|
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.0.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-
|
|
5
|
+
Defined in: [packages/project-wpt/src/errors.ts:96](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.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-
|
|
21
|
+
Defined in: [packages/project-wpt/src/errors.ts:97](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.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-
|
|
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-
|
|
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.0.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.0.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-
|
|
5
|
+
Defined in: [packages/project-wpt/src/errors.ts:71](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.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-
|
|
25
|
+
Defined in: [packages/project-wpt/src/errors.ts:72](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.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-
|
|
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-
|
|
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.0.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.0.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-
|
|
5
|
+
Defined in: [packages/project-wpt/src/errors.ts:89](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.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-
|
|
22
|
+
Defined in: [packages/project-wpt/src/errors.ts:90](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.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-
|
|
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-
|
|
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.0.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.0.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-
|
|
5
|
+
Defined in: [packages/project-wpt/src/errors.ts:16](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.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-
|
|
38
|
+
Defined in: [packages/project-wpt/src/errors.ts:21](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.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-
|
|
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-
|
|
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.0.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.0.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-
|
|
5
|
+
Defined in: [packages/project-wpt/src/errors.ts:46](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.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-
|
|
25
|
+
Defined in: [packages/project-wpt/src/errors.ts:47](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.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-
|
|
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-
|
|
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.0.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.0.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-
|
|
14
|
+
Defined in: [packages/project-wpt/src/expectations.ts:118](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.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-
|
|
13
|
+
Defined in: [packages/project-wpt/src/expectations.ts:103](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.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-
|
|
9
|
+
Defined in: [packages/project-wpt/src/expectations.ts:86](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.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-
|
|
9
|
+
Defined in: [packages/project-wpt/src/expectations.ts:41](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.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-
|
|
9
|
+
Defined in: [packages/project-wpt/src/expectations.ts:65](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.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-
|
|
13
|
+
Defined in: [packages/project-wpt/src/expectations.ts:134](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.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-
|
|
9
|
+
Defined in: [packages/project-wpt/src/expectations.ts:32](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.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-
|
|
21
|
+
Defined in: [packages/project-wpt/src/expectations.ts:34](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.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-
|
|
31
|
+
Defined in: [packages/project-wpt/src/expectations.ts:33](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.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-
|
|
9
|
+
Defined in: [packages/project-wpt/src/index.ts:21](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.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-
|
|
9
|
+
Defined in: [packages/project-wpt/src/index.ts:61](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.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
|
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
type Env = Readonly<Record<string, string | undefined>>;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-wpt/src/index.ts:15](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-wpt/src/index.ts:15](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-wpt/src/index.ts#L15)
|
|
10
10
|
|
|
11
11
|
The variables of an environment, by their names, as Node's `process.env` has them.
|
|
@@ -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:43](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-wpt/src/index.ts:43](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-wpt/src/index.ts#L43)
|
|
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:208](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-wpt/src/index.ts:208](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-wpt/src/index.ts#L208)
|
|
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:188](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-wpt/src/index.ts:188](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-wpt/src/index.ts#L188)
|
|
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:191](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
22
|
+
Defined in: [packages/project-wpt/src/index.ts:191](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-wpt/src/index.ts#L191)
|
|
23
23
|
|
|
24
24
|
***
|
|
25
25
|
|
|
@@ -29,7 +29,7 @@ Defined in: [packages/project-wpt/src/index.ts:191](https://gitlab.com/wetryfun/
|
|
|
29
29
|
readonly optional harness?: string;
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
Defined in: [packages/project-wpt/src/index.ts:190](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
32
|
+
Defined in: [packages/project-wpt/src/index.ts:190](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-wpt/src/index.ts#L190)
|
|
33
33
|
|
|
34
34
|
***
|
|
35
35
|
|
|
@@ -39,4 +39,4 @@ Defined in: [packages/project-wpt/src/index.ts:190](https://gitlab.com/wetryfun/
|
|
|
39
39
|
readonly optional skip?: string;
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
-
Defined in: [packages/project-wpt/src/index.ts:189](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
42
|
+
Defined in: [packages/project-wpt/src/index.ts:189](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-wpt/src/index.ts#L189)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
type FileResult = object;
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/project-wpt/src/index.ts:178](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-wpt/src/index.ts:178](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-wpt/src/index.ts#L178)
|
|
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:180](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
21
|
+
Defined in: [packages/project-wpt/src/index.ts:180](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-wpt/src/index.ts#L180)
|
|
22
22
|
|
|
23
23
|
***
|
|
24
24
|
|
|
@@ -28,7 +28,7 @@ Defined in: [packages/project-wpt/src/index.ts:180](https://gitlab.com/wetryfun/
|
|
|
28
28
|
readonly id: string;
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
Defined in: [packages/project-wpt/src/index.ts:179](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
31
|
+
Defined in: [packages/project-wpt/src/index.ts:179](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-wpt/src/index.ts#L179)
|
|
32
32
|
|
|
33
33
|
***
|
|
34
34
|
|
|
@@ -38,4 +38,4 @@ Defined in: [packages/project-wpt/src/index.ts:179](https://gitlab.com/wetryfun/
|
|
|
38
38
|
readonly subtests: readonly SubtestResult[];
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
Defined in: [packages/project-wpt/src/index.ts:181](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
41
|
+
Defined in: [packages/project-wpt/src/index.ts:181](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-wpt/src/index.ts#L181)
|
|
@@ -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:154](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-wpt/src/index.ts:154](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-wpt/src/index.ts#L154)
|
|
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:171](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-wpt/src/index.ts:171](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-wpt/src/index.ts#L171)
|
|
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:173](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
21
|
+
Defined in: [packages/project-wpt/src/index.ts:173](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-wpt/src/index.ts#L173)
|
|
22
22
|
|
|
23
23
|
***
|
|
24
24
|
|
|
@@ -28,7 +28,7 @@ Defined in: [packages/project-wpt/src/index.ts:173](https://gitlab.com/wetryfun/
|
|
|
28
28
|
readonly optional stack?: string;
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
Defined in: [packages/project-wpt/src/index.ts:174](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
31
|
+
Defined in: [packages/project-wpt/src/index.ts:174](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-wpt/src/index.ts#L174)
|
|
32
32
|
|
|
33
33
|
***
|
|
34
34
|
|
|
@@ -38,4 +38,4 @@ Defined in: [packages/project-wpt/src/index.ts:174](https://gitlab.com/wetryfun/
|
|
|
38
38
|
readonly status: HarnessStatus;
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
Defined in: [packages/project-wpt/src/index.ts:172](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
41
|
+
Defined in: [packages/project-wpt/src/index.ts:172](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-wpt/src/index.ts#L172)
|
|
@@ -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:160](https://gitlab.com/wetryfun/project/project/-/blob/docs-
|
|
9
|
+
Defined in: [packages/project-wpt/src/index.ts:160](https://gitlab.com/wetryfun/project/project/-/blob/docs-v2.0.0/packages/project-wpt/src/index.ts#L160)
|
|
10
10
|
|
|
11
11
|
What the harness of a file came to: `OK` of a file that ran to its end.
|