executable-stories-formatters 0.7.6 → 0.7.8
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/dist/cli.js +443 -71
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +293 -41
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +90 -3
- package/dist/index.d.ts +90 -3
- package/dist/index.js +289 -40
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -200,7 +200,7 @@ interface CanonicalizeOptions {
|
|
|
200
200
|
};
|
|
201
201
|
}
|
|
202
202
|
/** Output format for report generation */
|
|
203
|
-
type OutputFormat = "cucumber-json" | "cucumber-messages" | "cucumber-html" | "html" | "junit" | "markdown";
|
|
203
|
+
type OutputFormat = "astro" | "cucumber-json" | "cucumber-messages" | "cucumber-html" | "html" | "junit" | "markdown";
|
|
204
204
|
/** Sort order for test cases in reports (deterministic for diff-friendly output) */
|
|
205
205
|
type SortTestCasesMode = "id" | "source" | "none";
|
|
206
206
|
/** Output mode for report routing */
|
|
@@ -318,6 +318,8 @@ interface FormatterOptions {
|
|
|
318
318
|
};
|
|
319
319
|
/** Markdown specific options */
|
|
320
320
|
markdown?: MarkdownFormatterOptions;
|
|
321
|
+
/** Astro/Starlight specific options */
|
|
322
|
+
astro?: AstroFormatterOptions$1;
|
|
321
323
|
/** History tracking options */
|
|
322
324
|
history?: {
|
|
323
325
|
/** Path to JSON history file (enables tracking) */
|
|
@@ -385,6 +387,15 @@ interface MarkdownFormatterOptions {
|
|
|
385
387
|
customRenderers?: MarkdownRenderers;
|
|
386
388
|
}
|
|
387
389
|
|
|
390
|
+
/** Astro/Starlight formatter options */
|
|
391
|
+
interface AstroFormatterOptions$1 {
|
|
392
|
+
/** Base directory for copied assets (relative to outputDir). Default: "public/stories/assets" */
|
|
393
|
+
assetsDir?: string;
|
|
394
|
+
/** Base URL prefix for asset references in markdown. Default: "/stories/assets" */
|
|
395
|
+
assetsBaseUrl?: string;
|
|
396
|
+
/** Markdown options to pass through (title, permalinkBaseUrl, ticketUrlTemplate, etc.) */
|
|
397
|
+
markdown?: Omit<MarkdownFormatterOptions, "includeFrontMatter" | "includeSummaryTable" | "includeMetadata" | "stepStyle">;
|
|
398
|
+
}
|
|
388
399
|
/** Custom renderers for markdown doc entries */
|
|
389
400
|
interface MarkdownRenderers {
|
|
390
401
|
/** Custom renderer for scenario header */
|
|
@@ -462,6 +473,24 @@ interface ResolvedFormatterOptions {
|
|
|
462
473
|
includeSourceLinks: boolean;
|
|
463
474
|
customRenderers?: MarkdownRenderers;
|
|
464
475
|
};
|
|
476
|
+
astro: {
|
|
477
|
+
assetsDir: string;
|
|
478
|
+
assetsBaseUrl: string;
|
|
479
|
+
markdown: {
|
|
480
|
+
title: string;
|
|
481
|
+
includeStatusIcons: boolean;
|
|
482
|
+
includeErrors: boolean;
|
|
483
|
+
scenarioHeadingLevel: 2 | 3 | 4;
|
|
484
|
+
groupBy: "file" | "suite" | "none";
|
|
485
|
+
sortScenarios: "alpha" | "source" | "none";
|
|
486
|
+
suiteSeparator: string;
|
|
487
|
+
includeSourceLinks: boolean;
|
|
488
|
+
permalinkBaseUrl?: string;
|
|
489
|
+
ticketUrlTemplate?: string;
|
|
490
|
+
traceUrlTemplate?: string;
|
|
491
|
+
customRenderers?: MarkdownRenderers;
|
|
492
|
+
};
|
|
493
|
+
};
|
|
465
494
|
assetMode: "none" | "copy";
|
|
466
495
|
allowMissingAssets: boolean;
|
|
467
496
|
}
|
|
@@ -632,6 +661,15 @@ interface IJsonFeature {
|
|
|
632
661
|
uri: string;
|
|
633
662
|
}
|
|
634
663
|
|
|
664
|
+
interface Formatter {
|
|
665
|
+
name: string;
|
|
666
|
+
fileExtension?: string;
|
|
667
|
+
format(run: TestRunResult): string;
|
|
668
|
+
}
|
|
669
|
+
interface ExecutableStoriesConfig {
|
|
670
|
+
formatters?: Record<string, Formatter>;
|
|
671
|
+
}
|
|
672
|
+
|
|
635
673
|
/**
|
|
636
674
|
* Render an OTel trace waterfall (fn(args, deps)).
|
|
637
675
|
*/
|
|
@@ -1399,6 +1437,55 @@ declare class MarkdownFormatter {
|
|
|
1399
1437
|
private sortSuiteGroups;
|
|
1400
1438
|
}
|
|
1401
1439
|
|
|
1440
|
+
/**
|
|
1441
|
+
* Astro/Starlight Formatter - Layer 3.
|
|
1442
|
+
*
|
|
1443
|
+
* Wraps the MarkdownFormatter to produce Starlight-compatible .md files
|
|
1444
|
+
* with proper YAML frontmatter (title, description, sidebar.badge).
|
|
1445
|
+
*/
|
|
1446
|
+
|
|
1447
|
+
interface StarlightBadge {
|
|
1448
|
+
text: string;
|
|
1449
|
+
variant: "success" | "danger" | "caution" | "note" | "tip";
|
|
1450
|
+
}
|
|
1451
|
+
interface AstroFormatterOptions {
|
|
1452
|
+
assetsBaseUrl?: string;
|
|
1453
|
+
markdown?: Omit<MarkdownOptions, "includeFrontMatter" | "includeSummaryTable" | "includeMetadata" | "stepStyle">;
|
|
1454
|
+
}
|
|
1455
|
+
declare class AstroFormatter {
|
|
1456
|
+
private markdownFormatter;
|
|
1457
|
+
private title;
|
|
1458
|
+
constructor(options?: AstroFormatterOptions);
|
|
1459
|
+
format(run: TestRunResult): string;
|
|
1460
|
+
private buildFrontmatter;
|
|
1461
|
+
static computeBadge(testCases: Pick<TestCaseResult, "status">[]): StarlightBadge;
|
|
1462
|
+
}
|
|
1463
|
+
|
|
1464
|
+
interface AstroAssetResult {
|
|
1465
|
+
markdown: string;
|
|
1466
|
+
copiedCount: number;
|
|
1467
|
+
missingCount: number;
|
|
1468
|
+
missing: string[];
|
|
1469
|
+
}
|
|
1470
|
+
interface CopyMarkdownAssetsOptions {
|
|
1471
|
+
markdown: string;
|
|
1472
|
+
markdownDir: string;
|
|
1473
|
+
assetsDir: string;
|
|
1474
|
+
assetsBaseUrl: string;
|
|
1475
|
+
allowMissing?: boolean;
|
|
1476
|
+
}
|
|
1477
|
+
/**
|
|
1478
|
+
* Rewrite local asset paths in markdown using a path map or a base URL.
|
|
1479
|
+
* Paths not present in the pathMap are left unchanged.
|
|
1480
|
+
* Content inside fenced code blocks and inline code spans is never rewritten.
|
|
1481
|
+
*/
|
|
1482
|
+
declare function rewriteAssetPaths(markdown: string, assetsBaseUrl: string, pathMap?: Map<string, string>): string;
|
|
1483
|
+
/**
|
|
1484
|
+
* Full pipeline: scan markdown for local asset refs, copy them to assetsDir
|
|
1485
|
+
* with content-hashed names, and rewrite the paths in the markdown.
|
|
1486
|
+
*/
|
|
1487
|
+
declare function copyMarkdownAssets(options: CopyMarkdownAssetsOptions): AstroAssetResult;
|
|
1488
|
+
|
|
1402
1489
|
/**
|
|
1403
1490
|
* Cucumber Messages types for NDJSON output.
|
|
1404
1491
|
*
|
|
@@ -2149,7 +2236,7 @@ declare function hasSufficientHistory(entries: unknown[], min: number): boolean;
|
|
|
2149
2236
|
|
|
2150
2237
|
interface ListScenariosArgs {
|
|
2151
2238
|
testCases: TestCaseResult[];
|
|
2152
|
-
format: "text" | "json";
|
|
2239
|
+
format: "text" | "json" | "csv" | "markdown-table";
|
|
2153
2240
|
}
|
|
2154
2241
|
type ListScenariosDeps = Record<string, never>;
|
|
2155
2242
|
declare function listScenarios(args: ListScenariosArgs, _deps: ListScenariosDeps): string;
|
|
@@ -2277,4 +2364,4 @@ declare function normalizeVitestResults(testModules: Parameters<typeof adaptVite
|
|
|
2277
2364
|
*/
|
|
2278
2365
|
declare function normalizePlaywrightResults(testResults: Parameters<typeof adaptPlaywrightRun>[0], adapterOptions?: Parameters<typeof adaptPlaywrightRun>[1], canonicalizeOptions?: CanonicalizeOptions): TestRunResult;
|
|
2279
2366
|
|
|
2280
|
-
export { type Attachment, type BundleOptions, type BundleResult, type CIInfo, CIProvider, type CanonicalizeOptions, type ColocatedStyle, type CompareFormat, type CompareFormatterOptions, type CoverageSummary, CucumberHtmlFormatter, type CucumberHtmlOptions, CucumberJsonFormatter, type CucumberJsonOptions, CucumberMessagesFormatter, type CucumberMessagesOptions, DocEntry, type FlakinessLevel, type FormatterOptions, type GenerateArgs, type GenerateCompareResult, type GenerateDeps, type GenerateResult, type GenericWebhookNotifierOptions, type HistoryEntry, type HistoryStore, HtmlFormatter, type HtmlOptions, type HtmlTheme, type HtmlThemeName, type IJsonDataTable, type IJsonDocString, type IJsonEmbedding, type IJsonFeature, type IJsonScenario, type IJsonStep, type IJsonStepArgument, type IJsonStepResult, type IJsonTableRow, type IJsonTag, JUnitFormatter, type JUnitOptions, type ListScenariosArgs, type ListScenariosDeps, type Logger, MIN_FLAKINESS_SAMPLES, MIN_METRIC_SAMPLES, MIN_PERF_SAMPLES, MarkdownFormatter, type MarkdownFormatterOptions, type MarkdownOptions, type MarkdownRenderers, NormalizedTicket, type NotificationSummary, type NotifyCondition, OtelSpan, type OtelTraceContext, type OutputConfig, type OutputFormat, type OutputMode, type OutputRule, type PerformanceTrend, RawAttachment, RawCIInfo, RawRun, RawStatus, ReportGenerator, type ResolvedFormatterOptions, RunDiffHtmlFormatter, type RunDiffHtmlOptions, RunDiffMarkdownFormatter, type RunDiffMarkdownOptions, type RunDiffResult, type RunDiffSummary, type ScenarioChangeFlags, type ScenarioChangeKind, type ScenarioDiff, type ScenarioSnapshot, type SortTestCasesMode, type StabilityGrade, type StepResult, StoryMeta, StoryStep, type TestCaseAttempt, type TestCaseResult, type TestHistory, type TestMetrics, type TestRunResult, type TestStatus, CIInfo$1 as TypedCIInfo, type ValidationResult, type WebhookPayload, type WebhookSignerHmac, type WriteFile, adaptJestRun, adaptPlaywrightRun, adaptVitestRun, assertValidRun, bundleAssets, calculateFlakiness, calculateStability, canonicalizeRun, clearVersionCache, computeTestMetrics, createPrCommentSummary, createReportGenerator, deriveStepResults, detectCI, detectPerformanceTrend, diffRuns, findGitDir, formatDuration, generateRunComparison, generateRunId, generateTestCaseId, getAvailableThemes, getCssOnlyThemes, hasSufficientHistory, listScenarios, loadHistory, mergeStepResults, msToNanoseconds, nanosecondsToMs, normalizeJestResults, normalizePlaywrightResults, normalizeStatus, normalizeVitestResults, parseEnvelopes, parseNdjson, readBranchName, readGitSha, readPackageVersion, resolveAttachment, resolveAttachments, resolveTheme, resolveTraceUrl, saveHistory, sendNotifications, sendSlackNotification, sendTeamsNotification, sendWebhookNotification, signBody, slugify, stripAnsi, tryGetActiveOtelContext, updateHistory, validateCanonicalRun };
|
|
2367
|
+
export { type AstroAssetResult, AstroFormatter, type AstroFormatterOptions as AstroFormatterOpts, type Attachment, type BundleOptions, type BundleResult, type CIInfo, CIProvider, type CanonicalizeOptions, type ColocatedStyle, type CompareFormat, type CompareFormatterOptions, type CopyMarkdownAssetsOptions, type CoverageSummary, CucumberHtmlFormatter, type CucumberHtmlOptions, CucumberJsonFormatter, type CucumberJsonOptions, CucumberMessagesFormatter, type CucumberMessagesOptions, DocEntry, type ExecutableStoriesConfig, type FlakinessLevel, type Formatter, type FormatterOptions, type GenerateArgs, type GenerateCompareResult, type GenerateDeps, type GenerateResult, type GenericWebhookNotifierOptions, type HistoryEntry, type HistoryStore, HtmlFormatter, type HtmlOptions, type HtmlTheme, type HtmlThemeName, type IJsonDataTable, type IJsonDocString, type IJsonEmbedding, type IJsonFeature, type IJsonScenario, type IJsonStep, type IJsonStepArgument, type IJsonStepResult, type IJsonTableRow, type IJsonTag, JUnitFormatter, type JUnitOptions, type ListScenariosArgs, type ListScenariosDeps, type Logger, MIN_FLAKINESS_SAMPLES, MIN_METRIC_SAMPLES, MIN_PERF_SAMPLES, MarkdownFormatter, type MarkdownFormatterOptions, type MarkdownOptions, type MarkdownRenderers, NormalizedTicket, type NotificationSummary, type NotifyCondition, OtelSpan, type OtelTraceContext, type OutputConfig, type OutputFormat, type OutputMode, type OutputRule, type PerformanceTrend, RawAttachment, RawCIInfo, RawRun, RawStatus, ReportGenerator, type ResolvedFormatterOptions, RunDiffHtmlFormatter, type RunDiffHtmlOptions, RunDiffMarkdownFormatter, type RunDiffMarkdownOptions, type RunDiffResult, type RunDiffSummary, type ScenarioChangeFlags, type ScenarioChangeKind, type ScenarioDiff, type ScenarioSnapshot, type SortTestCasesMode, type StabilityGrade, type StarlightBadge, type StepResult, StoryMeta, StoryStep, type TestCaseAttempt, type TestCaseResult, type TestHistory, type TestMetrics, type TestRunResult, type TestStatus, CIInfo$1 as TypedCIInfo, type ValidationResult, type WebhookPayload, type WebhookSignerHmac, type WriteFile, adaptJestRun, adaptPlaywrightRun, adaptVitestRun, assertValidRun, bundleAssets, calculateFlakiness, calculateStability, canonicalizeRun, clearVersionCache, computeTestMetrics, copyMarkdownAssets, createPrCommentSummary, createReportGenerator, deriveStepResults, detectCI, detectPerformanceTrend, diffRuns, findGitDir, formatDuration, generateRunComparison, generateRunId, generateTestCaseId, getAvailableThemes, getCssOnlyThemes, hasSufficientHistory, listScenarios, loadHistory, mergeStepResults, msToNanoseconds, nanosecondsToMs, normalizeJestResults, normalizePlaywrightResults, normalizeStatus, normalizeVitestResults, parseEnvelopes, parseNdjson, readBranchName, readGitSha, readPackageVersion, resolveAttachment, resolveAttachments, resolveTheme, resolveTraceUrl, rewriteAssetPaths, saveHistory, sendNotifications, sendSlackNotification, sendTeamsNotification, sendWebhookNotification, signBody, slugify, stripAnsi, tryGetActiveOtelContext, updateHistory, validateCanonicalRun };
|
package/dist/index.d.ts
CHANGED
|
@@ -200,7 +200,7 @@ interface CanonicalizeOptions {
|
|
|
200
200
|
};
|
|
201
201
|
}
|
|
202
202
|
/** Output format for report generation */
|
|
203
|
-
type OutputFormat = "cucumber-json" | "cucumber-messages" | "cucumber-html" | "html" | "junit" | "markdown";
|
|
203
|
+
type OutputFormat = "astro" | "cucumber-json" | "cucumber-messages" | "cucumber-html" | "html" | "junit" | "markdown";
|
|
204
204
|
/** Sort order for test cases in reports (deterministic for diff-friendly output) */
|
|
205
205
|
type SortTestCasesMode = "id" | "source" | "none";
|
|
206
206
|
/** Output mode for report routing */
|
|
@@ -318,6 +318,8 @@ interface FormatterOptions {
|
|
|
318
318
|
};
|
|
319
319
|
/** Markdown specific options */
|
|
320
320
|
markdown?: MarkdownFormatterOptions;
|
|
321
|
+
/** Astro/Starlight specific options */
|
|
322
|
+
astro?: AstroFormatterOptions$1;
|
|
321
323
|
/** History tracking options */
|
|
322
324
|
history?: {
|
|
323
325
|
/** Path to JSON history file (enables tracking) */
|
|
@@ -385,6 +387,15 @@ interface MarkdownFormatterOptions {
|
|
|
385
387
|
customRenderers?: MarkdownRenderers;
|
|
386
388
|
}
|
|
387
389
|
|
|
390
|
+
/** Astro/Starlight formatter options */
|
|
391
|
+
interface AstroFormatterOptions$1 {
|
|
392
|
+
/** Base directory for copied assets (relative to outputDir). Default: "public/stories/assets" */
|
|
393
|
+
assetsDir?: string;
|
|
394
|
+
/** Base URL prefix for asset references in markdown. Default: "/stories/assets" */
|
|
395
|
+
assetsBaseUrl?: string;
|
|
396
|
+
/** Markdown options to pass through (title, permalinkBaseUrl, ticketUrlTemplate, etc.) */
|
|
397
|
+
markdown?: Omit<MarkdownFormatterOptions, "includeFrontMatter" | "includeSummaryTable" | "includeMetadata" | "stepStyle">;
|
|
398
|
+
}
|
|
388
399
|
/** Custom renderers for markdown doc entries */
|
|
389
400
|
interface MarkdownRenderers {
|
|
390
401
|
/** Custom renderer for scenario header */
|
|
@@ -462,6 +473,24 @@ interface ResolvedFormatterOptions {
|
|
|
462
473
|
includeSourceLinks: boolean;
|
|
463
474
|
customRenderers?: MarkdownRenderers;
|
|
464
475
|
};
|
|
476
|
+
astro: {
|
|
477
|
+
assetsDir: string;
|
|
478
|
+
assetsBaseUrl: string;
|
|
479
|
+
markdown: {
|
|
480
|
+
title: string;
|
|
481
|
+
includeStatusIcons: boolean;
|
|
482
|
+
includeErrors: boolean;
|
|
483
|
+
scenarioHeadingLevel: 2 | 3 | 4;
|
|
484
|
+
groupBy: "file" | "suite" | "none";
|
|
485
|
+
sortScenarios: "alpha" | "source" | "none";
|
|
486
|
+
suiteSeparator: string;
|
|
487
|
+
includeSourceLinks: boolean;
|
|
488
|
+
permalinkBaseUrl?: string;
|
|
489
|
+
ticketUrlTemplate?: string;
|
|
490
|
+
traceUrlTemplate?: string;
|
|
491
|
+
customRenderers?: MarkdownRenderers;
|
|
492
|
+
};
|
|
493
|
+
};
|
|
465
494
|
assetMode: "none" | "copy";
|
|
466
495
|
allowMissingAssets: boolean;
|
|
467
496
|
}
|
|
@@ -632,6 +661,15 @@ interface IJsonFeature {
|
|
|
632
661
|
uri: string;
|
|
633
662
|
}
|
|
634
663
|
|
|
664
|
+
interface Formatter {
|
|
665
|
+
name: string;
|
|
666
|
+
fileExtension?: string;
|
|
667
|
+
format(run: TestRunResult): string;
|
|
668
|
+
}
|
|
669
|
+
interface ExecutableStoriesConfig {
|
|
670
|
+
formatters?: Record<string, Formatter>;
|
|
671
|
+
}
|
|
672
|
+
|
|
635
673
|
/**
|
|
636
674
|
* Render an OTel trace waterfall (fn(args, deps)).
|
|
637
675
|
*/
|
|
@@ -1399,6 +1437,55 @@ declare class MarkdownFormatter {
|
|
|
1399
1437
|
private sortSuiteGroups;
|
|
1400
1438
|
}
|
|
1401
1439
|
|
|
1440
|
+
/**
|
|
1441
|
+
* Astro/Starlight Formatter - Layer 3.
|
|
1442
|
+
*
|
|
1443
|
+
* Wraps the MarkdownFormatter to produce Starlight-compatible .md files
|
|
1444
|
+
* with proper YAML frontmatter (title, description, sidebar.badge).
|
|
1445
|
+
*/
|
|
1446
|
+
|
|
1447
|
+
interface StarlightBadge {
|
|
1448
|
+
text: string;
|
|
1449
|
+
variant: "success" | "danger" | "caution" | "note" | "tip";
|
|
1450
|
+
}
|
|
1451
|
+
interface AstroFormatterOptions {
|
|
1452
|
+
assetsBaseUrl?: string;
|
|
1453
|
+
markdown?: Omit<MarkdownOptions, "includeFrontMatter" | "includeSummaryTable" | "includeMetadata" | "stepStyle">;
|
|
1454
|
+
}
|
|
1455
|
+
declare class AstroFormatter {
|
|
1456
|
+
private markdownFormatter;
|
|
1457
|
+
private title;
|
|
1458
|
+
constructor(options?: AstroFormatterOptions);
|
|
1459
|
+
format(run: TestRunResult): string;
|
|
1460
|
+
private buildFrontmatter;
|
|
1461
|
+
static computeBadge(testCases: Pick<TestCaseResult, "status">[]): StarlightBadge;
|
|
1462
|
+
}
|
|
1463
|
+
|
|
1464
|
+
interface AstroAssetResult {
|
|
1465
|
+
markdown: string;
|
|
1466
|
+
copiedCount: number;
|
|
1467
|
+
missingCount: number;
|
|
1468
|
+
missing: string[];
|
|
1469
|
+
}
|
|
1470
|
+
interface CopyMarkdownAssetsOptions {
|
|
1471
|
+
markdown: string;
|
|
1472
|
+
markdownDir: string;
|
|
1473
|
+
assetsDir: string;
|
|
1474
|
+
assetsBaseUrl: string;
|
|
1475
|
+
allowMissing?: boolean;
|
|
1476
|
+
}
|
|
1477
|
+
/**
|
|
1478
|
+
* Rewrite local asset paths in markdown using a path map or a base URL.
|
|
1479
|
+
* Paths not present in the pathMap are left unchanged.
|
|
1480
|
+
* Content inside fenced code blocks and inline code spans is never rewritten.
|
|
1481
|
+
*/
|
|
1482
|
+
declare function rewriteAssetPaths(markdown: string, assetsBaseUrl: string, pathMap?: Map<string, string>): string;
|
|
1483
|
+
/**
|
|
1484
|
+
* Full pipeline: scan markdown for local asset refs, copy them to assetsDir
|
|
1485
|
+
* with content-hashed names, and rewrite the paths in the markdown.
|
|
1486
|
+
*/
|
|
1487
|
+
declare function copyMarkdownAssets(options: CopyMarkdownAssetsOptions): AstroAssetResult;
|
|
1488
|
+
|
|
1402
1489
|
/**
|
|
1403
1490
|
* Cucumber Messages types for NDJSON output.
|
|
1404
1491
|
*
|
|
@@ -2149,7 +2236,7 @@ declare function hasSufficientHistory(entries: unknown[], min: number): boolean;
|
|
|
2149
2236
|
|
|
2150
2237
|
interface ListScenariosArgs {
|
|
2151
2238
|
testCases: TestCaseResult[];
|
|
2152
|
-
format: "text" | "json";
|
|
2239
|
+
format: "text" | "json" | "csv" | "markdown-table";
|
|
2153
2240
|
}
|
|
2154
2241
|
type ListScenariosDeps = Record<string, never>;
|
|
2155
2242
|
declare function listScenarios(args: ListScenariosArgs, _deps: ListScenariosDeps): string;
|
|
@@ -2277,4 +2364,4 @@ declare function normalizeVitestResults(testModules: Parameters<typeof adaptVite
|
|
|
2277
2364
|
*/
|
|
2278
2365
|
declare function normalizePlaywrightResults(testResults: Parameters<typeof adaptPlaywrightRun>[0], adapterOptions?: Parameters<typeof adaptPlaywrightRun>[1], canonicalizeOptions?: CanonicalizeOptions): TestRunResult;
|
|
2279
2366
|
|
|
2280
|
-
export { type Attachment, type BundleOptions, type BundleResult, type CIInfo, CIProvider, type CanonicalizeOptions, type ColocatedStyle, type CompareFormat, type CompareFormatterOptions, type CoverageSummary, CucumberHtmlFormatter, type CucumberHtmlOptions, CucumberJsonFormatter, type CucumberJsonOptions, CucumberMessagesFormatter, type CucumberMessagesOptions, DocEntry, type FlakinessLevel, type FormatterOptions, type GenerateArgs, type GenerateCompareResult, type GenerateDeps, type GenerateResult, type GenericWebhookNotifierOptions, type HistoryEntry, type HistoryStore, HtmlFormatter, type HtmlOptions, type HtmlTheme, type HtmlThemeName, type IJsonDataTable, type IJsonDocString, type IJsonEmbedding, type IJsonFeature, type IJsonScenario, type IJsonStep, type IJsonStepArgument, type IJsonStepResult, type IJsonTableRow, type IJsonTag, JUnitFormatter, type JUnitOptions, type ListScenariosArgs, type ListScenariosDeps, type Logger, MIN_FLAKINESS_SAMPLES, MIN_METRIC_SAMPLES, MIN_PERF_SAMPLES, MarkdownFormatter, type MarkdownFormatterOptions, type MarkdownOptions, type MarkdownRenderers, NormalizedTicket, type NotificationSummary, type NotifyCondition, OtelSpan, type OtelTraceContext, type OutputConfig, type OutputFormat, type OutputMode, type OutputRule, type PerformanceTrend, RawAttachment, RawCIInfo, RawRun, RawStatus, ReportGenerator, type ResolvedFormatterOptions, RunDiffHtmlFormatter, type RunDiffHtmlOptions, RunDiffMarkdownFormatter, type RunDiffMarkdownOptions, type RunDiffResult, type RunDiffSummary, type ScenarioChangeFlags, type ScenarioChangeKind, type ScenarioDiff, type ScenarioSnapshot, type SortTestCasesMode, type StabilityGrade, type StepResult, StoryMeta, StoryStep, type TestCaseAttempt, type TestCaseResult, type TestHistory, type TestMetrics, type TestRunResult, type TestStatus, CIInfo$1 as TypedCIInfo, type ValidationResult, type WebhookPayload, type WebhookSignerHmac, type WriteFile, adaptJestRun, adaptPlaywrightRun, adaptVitestRun, assertValidRun, bundleAssets, calculateFlakiness, calculateStability, canonicalizeRun, clearVersionCache, computeTestMetrics, createPrCommentSummary, createReportGenerator, deriveStepResults, detectCI, detectPerformanceTrend, diffRuns, findGitDir, formatDuration, generateRunComparison, generateRunId, generateTestCaseId, getAvailableThemes, getCssOnlyThemes, hasSufficientHistory, listScenarios, loadHistory, mergeStepResults, msToNanoseconds, nanosecondsToMs, normalizeJestResults, normalizePlaywrightResults, normalizeStatus, normalizeVitestResults, parseEnvelopes, parseNdjson, readBranchName, readGitSha, readPackageVersion, resolveAttachment, resolveAttachments, resolveTheme, resolveTraceUrl, saveHistory, sendNotifications, sendSlackNotification, sendTeamsNotification, sendWebhookNotification, signBody, slugify, stripAnsi, tryGetActiveOtelContext, updateHistory, validateCanonicalRun };
|
|
2367
|
+
export { type AstroAssetResult, AstroFormatter, type AstroFormatterOptions as AstroFormatterOpts, type Attachment, type BundleOptions, type BundleResult, type CIInfo, CIProvider, type CanonicalizeOptions, type ColocatedStyle, type CompareFormat, type CompareFormatterOptions, type CopyMarkdownAssetsOptions, type CoverageSummary, CucumberHtmlFormatter, type CucumberHtmlOptions, CucumberJsonFormatter, type CucumberJsonOptions, CucumberMessagesFormatter, type CucumberMessagesOptions, DocEntry, type ExecutableStoriesConfig, type FlakinessLevel, type Formatter, type FormatterOptions, type GenerateArgs, type GenerateCompareResult, type GenerateDeps, type GenerateResult, type GenericWebhookNotifierOptions, type HistoryEntry, type HistoryStore, HtmlFormatter, type HtmlOptions, type HtmlTheme, type HtmlThemeName, type IJsonDataTable, type IJsonDocString, type IJsonEmbedding, type IJsonFeature, type IJsonScenario, type IJsonStep, type IJsonStepArgument, type IJsonStepResult, type IJsonTableRow, type IJsonTag, JUnitFormatter, type JUnitOptions, type ListScenariosArgs, type ListScenariosDeps, type Logger, MIN_FLAKINESS_SAMPLES, MIN_METRIC_SAMPLES, MIN_PERF_SAMPLES, MarkdownFormatter, type MarkdownFormatterOptions, type MarkdownOptions, type MarkdownRenderers, NormalizedTicket, type NotificationSummary, type NotifyCondition, OtelSpan, type OtelTraceContext, type OutputConfig, type OutputFormat, type OutputMode, type OutputRule, type PerformanceTrend, RawAttachment, RawCIInfo, RawRun, RawStatus, ReportGenerator, type ResolvedFormatterOptions, RunDiffHtmlFormatter, type RunDiffHtmlOptions, RunDiffMarkdownFormatter, type RunDiffMarkdownOptions, type RunDiffResult, type RunDiffSummary, type ScenarioChangeFlags, type ScenarioChangeKind, type ScenarioDiff, type ScenarioSnapshot, type SortTestCasesMode, type StabilityGrade, type StarlightBadge, type StepResult, StoryMeta, StoryStep, type TestCaseAttempt, type TestCaseResult, type TestHistory, type TestMetrics, type TestRunResult, type TestStatus, CIInfo$1 as TypedCIInfo, type ValidationResult, type WebhookPayload, type WebhookSignerHmac, type WriteFile, adaptJestRun, adaptPlaywrightRun, adaptVitestRun, assertValidRun, bundleAssets, calculateFlakiness, calculateStability, canonicalizeRun, clearVersionCache, computeTestMetrics, copyMarkdownAssets, createPrCommentSummary, createReportGenerator, deriveStepResults, detectCI, detectPerformanceTrend, diffRuns, findGitDir, formatDuration, generateRunComparison, generateRunId, generateTestCaseId, getAvailableThemes, getCssOnlyThemes, hasSufficientHistory, listScenarios, loadHistory, mergeStepResults, msToNanoseconds, nanosecondsToMs, normalizeJestResults, normalizePlaywrightResults, normalizeStatus, normalizeVitestResults, parseEnvelopes, parseNdjson, readBranchName, readGitSha, readPackageVersion, resolveAttachment, resolveAttachments, resolveTheme, resolveTraceUrl, rewriteAssetPaths, saveHistory, sendNotifications, sendSlackNotification, sendTeamsNotification, sendWebhookNotification, signBody, slugify, stripAnsi, tryGetActiveOtelContext, updateHistory, validateCanonicalRun };
|