Skip to content

Commit df66831

Browse files
committed
fix(types/testWithSpectron): require spectron as arg
1 parent 104458b commit df66831

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ interface Server {
3131
Run electron:serve, but instead of launching Electron it returns a Spectron Application instance.
3232
Used for e2e testing with Spectron.
3333
*/
34-
export function testWithSpectron(options?: Options): Promise<Server>
34+
export function testWithSpectron(spectron, options?: Options): Promise<Server>

0 commit comments

Comments
 (0)