Skip to content

Commit

Permalink
feat(commands): make options of "save" command optional (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
NavinSeth authored Oct 20, 2020
1 parent 2b35e96 commit bef3de8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Cypress.Commands.add(

Cypress.Commands.add(
'saveHar',
(options?: SaveOptions): Cypress.Chainable => {
(options?: Partial<SaveOptions>): Cypress.Chainable => {
const fallbackFileName: string = Cypress.spec.name;
const outDir: string = Cypress.env('hars_folders') ?? './';

Expand Down

0 comments on commit bef3de8

Please sign in to comment.