Skip to content
This repository was archived by the owner on May 20, 2024. It is now read-only.

Commit 106ccdb

Browse files
committed
remove more old component test
1 parent bb85ded commit 106ccdb

File tree

3 files changed

+1
-21
lines changed

3 files changed

+1
-21
lines changed

README.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -87,16 +87,6 @@ As an example, there is a reusable smoke test [cypress/integration/smoke.js](cyp
8787
npx cypress run --config-file cypress.config.smoke.js
8888
```
8989

90-
## Component tests
91-
92-
Unit (individual JS functions) and component tests (React components) can be run without any server. There is no need to set anything up, this project works right out of the box without any additional steps, except you need to add `import 'cypress-react-unit-test'` to your Cypress [`supportFile`](https://on.cypress.io/configuration#Folders-Files).
93-
94-
```shell
95-
$ npx cypress open --config-file cypress.config.unit.js
96-
```
97-
98-
These tests leave alongside Jest tests in [src](src) folder and are named `*.cy-spec.js`. Implemented using [cypress-react-unit-test](https://github.com/bahmutov/cypress-react-unit-test).
99-
10090
## License
10191

10292
This project is licensed under the terms of the [MIT license](/LICENSE.md).

circle.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,6 @@ workflows:
3636
# https://coveralls.io/github/cypress-io/cypress-example-todomvc-redux
3737
- run: npm run coveralls
3838

39-
# - cypress/run:
40-
# name: component tests
41-
# executor: cypress/base-14
42-
# requires:
43-
# - Install
44-
# install-command: echo 'Nothing to install in this job'
45-
# command: npx cypress run --config-file cypress.config.unit.js
46-
# no-workspace: true
47-
4839
- cypress/run:
4940
name: smoke tests
5041
executor: cypress/base-14

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
"report:coverage": "nyc report --reporter=html",
1818
"report:coverage:text": "nyc report --reporter=text",
1919
"report:coverage:summary": "nyc report --reporter=text-summary",
20-
"coveralls": "cat coverage/lcov.info | coveralls",
21-
"component": "npx cypress open --config-file cypress.config.unit.js"
20+
"coveralls": "cat coverage/lcov.info | coveralls"
2221
},
2322
"repository": {
2423
"type": "git",

0 commit comments

Comments
 (0)