a71f801c3f
- Prisma schema: User, Session, RepoConfig, Preview, Job, WebhookToken, NoConfigComment, AdminSettings - Backend: auth (login/logout/me/first-user setup), webhook handler with HMAC verification, EC2 service, SSH service, deploy pipeline, job queue worker, cron workers - Frontend: Login with first-user detection, Dashboard, PreviewDetail with live log streaming, Settings, Repos config, Admin panel, SetupWizard, Privacy page - Docker Compose and Dockerfile for self-hosted deployment - Uses bcryptjs for Node 24 compatibility Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
45 lines
1.2 KiB
TypeScript
45 lines
1.2 KiB
TypeScript
/**
|
|
* @since 2.0.0
|
|
*/
|
|
import * as Context from "./Context.js";
|
|
/**
|
|
* The `TestConfig` service provides access to default configuration settings
|
|
* used by tests, including the number of times to repeat tests to ensure
|
|
* they are stable, the number of times to retry flaky tests, the sufficient
|
|
* number of samples to check from a random variable, and the maximum number of
|
|
* shrinkings to minimize large failures.
|
|
*
|
|
* @since 2.0.0
|
|
*/
|
|
export interface TestConfig {
|
|
/**
|
|
* The number of times to repeat tests to ensure they are stable.
|
|
*/
|
|
readonly repeats: number;
|
|
/**
|
|
* The number of times to retry flaky tests.
|
|
*/
|
|
readonly retries: number;
|
|
/**
|
|
* The number of sufficient samples to check for a random variable.
|
|
*/
|
|
readonly samples: number;
|
|
/**
|
|
* The maximum number of shrinkings to minimize large failures
|
|
*/
|
|
readonly shrinks: number;
|
|
}
|
|
/**
|
|
* @since 2.0.0
|
|
*/
|
|
export declare const TestConfig: Context.Tag<TestConfig, TestConfig>;
|
|
/**
|
|
* @since 2.0.0
|
|
*/
|
|
export declare const make: (params: {
|
|
readonly repeats: number;
|
|
readonly retries: number;
|
|
readonly samples: number;
|
|
readonly shrinks: number;
|
|
}) => TestConfig;
|
|
//# sourceMappingURL=TestConfig.d.ts.map
|