ohif-viewer/cypress
David Wire e73d009c21 fix(package.json): Resolve react/react-dom dependency conflict for embedded users (#734)
* fix(package.json): Resolve react/react-dom dependency conflict for embedded users

Some of the recent changes around the script-tag support for ohif/Viewers included moving react and
react-dom from peerDependencies to dependencies. This caused an error for embedded consumers of the
viewer because there could be multiple versions of react included. The error in the console points
to this link: https://reactjs.org/warnings/invalid-hook-call-warning.html. These changes are
necessary to resolve the issue for embedded users and don't seem to break the standalone version
either.

* fix(script-tag/index.html): Add `react` and `react-dom` as external scripts for cypress tests

The cyrpress tests won't pass unless we add the `react` and `react-dom` dependencies as external
scripts since they're no longer first order depdencies.
2019-07-30 08:30:23 +02:00
..
fixtures ci: add e2e tests with cypress 2019-06-22 10:02:07 -04:00
integration ci: add e2e tests with cypress 2019-06-22 10:02:07 -04:00
plugins ci: add e2e tests with cypress 2019-06-22 10:02:07 -04:00
support fix(package.json): Resolve react/react-dom dependency conflict for embedded users (#734) 2019-07-30 08:30:23 +02:00