Skip to content

Commit a819fdd

Browse files
cdeutschamcasey
authored andcommitted
1 parent c254187 commit a819fdd

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

types/backstopjs/backstopjs-tests.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ backstop('test', {
1818
id: 'foo',
1919
scenarios: [],
2020
viewports: [],
21-
}
21+
dockerCommandTemplate:
22+
'docker run --rm -it --net="host" --mount type=bind,source="{cwd}",target=/src backstopjs/backstopjs:{version} {backstopCommand} {args}',
23+
},
2224
});
2325

2426
/** Custom example */

types/backstopjs/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export interface Config {
1414
};
1515
debugWindow?: boolean;
1616
debug?: boolean;
17+
dockerCommandTemplate?: string;
1718
engine?: 'chromy' | 'puppeteer';
1819
engineOptions?: {
1920
args: string[];

0 commit comments

Comments
 (0)