Jennifer Shehane e3105fa17f Update Cypress.log to throw when not provided an obj + handle being called outside of command (#4159)
* Update Cypress.log to throw when not provided an object as its argument

* Add failing e2e test for Cypress.log being used without a cy command

* Write code to handle situation when log is run outside of a command

- add snapshot for passing situation

* have options be obj by default

* Replace end to end test with unit integration test

* Fix issue where if Cypress.Log is not passed a name, then the Command component wouldn't render

* remove excess whitespace
2019-05-16 11:18:40 +06:30

Documentation | Changelog | Roadmap

The web has evolved. Finally, testing has too.

Fast, easy and reliable testing for anything that runs in a browser.

npm Gitter chat

Description
Fast, easy and reliable testing for anything that runs in a browser.
Readme MIT 1,022 MiB
Languages
TypeScript 54.4%
JavaScript 37.9%
Vue 4%
HTML 3.1%
SCSS 0.4%
Other 0.1%