https://github.com/prisma-cms/resource
https://github.com/prisma-cms/resource
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/prisma-cms/resource
- Owner: prisma-cms
- Created: 2019-01-08T08:15:42.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-10-27T09:11:46.000Z (over 6 years ago)
- Last Synced: 2025-06-05T23:41:01.487Z (about 1 year ago)
- Language: JavaScript
- Size: 35.2 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