Skip to content

Commit

Permalink
Added newer options in interface (#1802)
Browse files Browse the repository at this point in the history
  • Loading branch information
ninadbstack authored Nov 28, 2024
1 parent 48dd455 commit c3490c8
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions packages/core/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ interface DiscoveryOptions {
disableCache?: boolean;
captureMockedServiceWorker?: boolean;
captureSrcset?: boolean;
devicePixelRatio?: number;
}

interface ScopeOptions {
Expand All @@ -41,15 +42,20 @@ interface AllDiscoveryOptions extends DiscoveryOptions {

interface CommonSnapshotOptions {
widths?: number[];
scope?: string;
minHeight?: number;
percyCSS?: string;
enableJavaScript?: boolean;
cliEnableJavascript?: boolean;
disableShadowDOM?: boolean;
enableLayout?: boolean;
domTransformation?: string;
enableLayout?: boolean;
sync?: boolean;
responsiveSnapshotCapture?: boolean;
testCase?: string;
labels?: string;
reshuffleInvalidTags?: boolean;
devicePixelRatio?: number;
scope?: string;
scopeOptions?: ScopeOptions;
}

Expand Down

0 comments on commit c3490c8

Please sign in to comment.