MCPcopy Create free account
hub / github.com/TestSprite/testsprite-cli / makeBeResult

Function makeBeResult

src/commands/test.wait.spec.ts:705–722  ·  view source on GitHub ↗
(overrides: Partial<BeResult> = {})

Source from the content-addressed store, hash-verified

703}
704
705function makeBeResult(overrides: Partial<BeResult> = {}): BeResult {
706 return {
707 testId: 'test_xyz',
708 status: 'passed',
709 startedAt: '2026-05-15T10:00:01.000Z',
710 finishedAt: '2026-05-15T10:00:30.000Z',
711 videoUrl: null,
712 failureAnalysisUrl: null,
713 snapshotId: 'snap_1',
714 runIdIfAvailable: 'run_abc',
715 codeVersion: 'v1',
716 targetUrl: 'https://example.com',
717 failedStepIndex: null,
718 failureKind: null,
719 summary: { passed: 1, failed: 0, skipped: 0 },
720 ...overrides,
721 };
722}
723
724function beWaitRouter(args: {
725 type?: string;

Callers 2

test.wait.spec.tsFile · 0.70
handlerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected