Skip to content
This repository has been archived by the owner on Mar 5, 2022. It is now read-only.

Releases: cypress-io/cypress-react-unit-test

v4.1.2

02 May 08:20
Compare
Choose a tag to compare

4.1.2 (2020-05-02)

Bug Fixes

  • deps: update dependency @cypress/code-coverage to v3.7.0 (fe7b01d)

v4.1.1

01 May 19:46
436f3bb
Compare
Choose a tag to compare

4.1.1 (2020-05-01)

Bug Fixes

  • better error message on missing support file (#162) (436f3bb)

v4.1.0

30 Apr 13:42
Compare
Choose a tag to compare

4.1.0 (2020-04-30)

Features

  • add react-scripts plugins as alias to cra-v3 (e4e4b6c)

v4.0.1

29 Apr 15:49
e7b8029
Compare
Choose a tag to compare

4.0.1 (2020-04-29)

Bug Fixes

  • update dependency @cypress/code-coverage to v3.6.0 (#152) (e7b8029)

v4.0.0-cypress-mount-mode.1

29 Apr 18:53
648f1b0
Compare
Choose a tag to compare
Pre-release

4.0.0-cypress-mount-mode.1 (2020-04-29)

Bug Fixes

  • add link to example, remove stray console.log (78e2b63)
  • add math random to component key prop on mount (ffcc1ee)
  • cypress-jsdom -> cypress-root (222b6c2)
  • encode image (4dbee03)
  • force return value (9d06119)
  • handle bare div mount (#118) (a7916c3)
  • include dist/hooks (796d248)
  • include plugins and support in dist (df33cab)
  • new code coverage plugin version (e9773d9)
  • remove dupicate code (f7ff96e)
  • support file should load hooks (cc90fea)
  • take default object from loaded webpack config (22eec19)
  • update code coverage with better filtering (f7678b8)
  • upgrade find-webpack (7b7460d)

Features

  • add babelrc preprocessor, closes #149 (7d733c1)
  • add built-in code instrumentation (3e12870)
  • add css aliases to mounting options (298725f)
  • add image rule for both plugins (b5686c3)
  • add plugins and support for react-scripts (04f1db4)
  • add style option (72799e2)
  • allow consuming projects to use noImplicitAny and fix JSX (4e2f899), closes #55
  • allow loading webpack config by filename (5bbcc69)
  • allow passing just cssFile path to inject style (34e1072)
  • change to experimental mount mode to support React Hooks (dd92d56)
  • correctly clean up webpack for react-scripts for lazy dynamic imports (f72b7d3)
  • if serving outside resource, serve base64 image (a62fc22)
  • include code-coverage plugin for react-scripts (5f4856c)
  • redirect images to __root (12d859e)
  • reset the styles better (ad51a71)
  • respect log false (615bd04)
  • support cssFile style (fbd07b1)
  • support lazy-loaded components by forcing all into 1 chunk (3bee1e2)
  • update style options and document them well (d1aece8)
  • use find-webpack to handle ejected react-scripts too (ddbdbe2)
  • use new code coverage version (60fa438)

BREAKING CHANGES

  • the plugin's API has changed.

v4.0.0

28 Apr 23:17
Compare
Choose a tag to compare

4.0.0 (2020-04-28)

Features

BREAKING CHANGES

  • requires Cypress v4.5.0 with experimental component testing flag,
    and the mounting API has changed.

Read My Vision for Component Tests in Cypress

v3.0.0-cypress-mount-mode.23

28 Apr 15:29
Compare
Choose a tag to compare
Pre-release

3.0.0-cypress-mount-mode.23 (2020-04-28)

Bug Fixes

  • add link to example, remove stray console.log (78e2b63)

v3.0.0-cypress-mount-mode.22

27 Apr 19:05
Compare
Choose a tag to compare
Pre-release

3.0.0-cypress-mount-mode.22 (2020-04-27)

Bug Fixes

v3.0.0-cypress-mount-mode.21

27 Apr 15:37
Compare
Choose a tag to compare
Pre-release

3.0.0-cypress-mount-mode.21 (2020-04-27)

Bug Fixes

  • add math random to component key prop on mount (ffcc1ee)
  • cypress-jsdom -> cypress-root (222b6c2)

v3.0.0-cypress-mount-mode.20

24 Apr 20:24
Compare
Choose a tag to compare
Pre-release

3.0.0-cypress-mount-mode.20 (2020-04-24)

Features