https://github.com/prisma-cms/cooperation
https://github.com/prisma-cms/cooperation
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/prisma-cms/cooperation
- Owner: prisma-cms
- Created: 2018-11-20T09:01:08.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-10-23T10:00:25.000Z (over 5 years ago)
- Last Synced: 2025-09-26T15:52:39.951Z (9 months ago)
- Language: JavaScript
- Size: 188 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.md
Awesome Lists containing this project
README
## Tests module for [@prisma-cms](https://github.com/prisma-cms/boilerplate)
## Get schema from @prisma-cms
1. yarn get-api-schema -e http://localhost:4000
2. yarn build-api-fragments
### Run tests
1. Start @prisma-cms/server
2. Start @prisma-cms/front
3. `yarn test --testURL=http://localhost:3000`
### Test with serviceWorker
`TEST_WORKERS=true yarn test --testURL=http://localhost:3000`
### Test coverage
`yarn test --testURL=http://localhost:3000 --coverage`
More jest arguments see [jest docs](https://jestjs.io/docs/en/cli.html).
### Compatibility