Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/prisma-cms/timeline


https://github.com/prisma-cms/timeline

Last synced: about 7 hours ago
JSON representation

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