Skip to content

Commit

Permalink
fix issues with merging mocha upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbreiding committed May 21, 2019
1 parent 523e3da commit 59ab85b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 22 deletions.
38 changes: 19 additions & 19 deletions cli/__snapshots__/cli_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ exports['cli help command shows help 1'] = `
-------
stderr:
-------
-------
`

exports['cli help command shows help for --help 1'] = `
Expand Down Expand Up @@ -84,9 +84,9 @@ exports['cli help command shows help for --help 1'] = `
-------
stderr:
-------
-------
`

exports['cli help command shows help for -h 1'] = `
Expand Down Expand Up @@ -117,9 +117,9 @@ exports['cli help command shows help for -h 1'] = `
-------
stderr:
-------
-------
`

exports['cli unknown command shows usage and exits 1'] = `
Expand All @@ -146,14 +146,14 @@ exports['cli unknown command shows usage and exits 1'] = `
run [options] Runs Cypress tests from the CLI without the GUI
open [options] Opens Cypress in the interactive GUI.
install [options] Installs the Cypress executable matching this package's version
verify Verifies that Cypress is installed correctly and executable
verify [options] Verifies that Cypress is installed correctly and executable
cache [options] Manages the Cypress binary cache
-------
stderr:
-------
-------
`

exports['cli unknown option shows help for cache command - no sub-command 1'] = `
Expand All @@ -179,9 +179,9 @@ exports['cli unknown option shows help for cache command - no sub-command 1'] =
-------
stderr:
-------
-------
`

exports['cli unknown option shows help for cache command - unknown option --foo 1'] = `
Expand Down Expand Up @@ -209,9 +209,9 @@ exports['cli unknown option shows help for cache command - unknown option --foo
-------
stderr:
-------
-------
`

exports['cli unknown option shows help for cache command - unknown sub-command foo 1'] = `
Expand Down Expand Up @@ -239,9 +239,9 @@ exports['cli unknown option shows help for cache command - unknown sub-command f
-------
stderr:
-------
-------
`

exports['cli version and binary version 1'] = `
Expand Down Expand Up @@ -289,9 +289,9 @@ exports['shows help for open --foo 1'] = `
-------
stderr:
-------
-------
`

exports['shows help for run --foo 1'] = `
Expand Down Expand Up @@ -332,7 +332,7 @@ exports['shows help for run --foo 1'] = `
-------
stderr:
-------
-------
`
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ describe "driver/src/cypress/index", ->
expect(err.backend).to.be.true
expect(err.stack).not.to.include("From previous event")

done()

context ".isCy", ->
it "returns true on cy, cy chainable", ->
expect(Cypress.isCy(cy)).to.be.true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ Error: Resolution method is overspecified. Specify a callback *or* return a Prom
- /foo/bar/.projects/e2e/cypress/screenshots/return_value_spec.coffee/errors when invoking commands and return a different value (failed).png (1280x720)
- /foo/bar/.projects/e2e/cypress/screenshots/return_value_spec.coffee/errors when invoking commands in custom command and returning different value (failed).png (1280x720)
- /foo/bar/.projects/e2e/cypress/screenshots/return_value_spec.coffee/errors when not invoking commands invoking done callback and returning a promise (failed).png (1280x720)
- /foo/bar/.projects/e2e/cypress/screenshots/return_value_spec.coffee/errors when not invoking commands, invoking done callback, and returning a promise (failed).png (1280x720)
(Video)
Expand Down

0 comments on commit 59ab85b

Please sign in to comment.