@prisma-cms
Tests module forGet schema from @prisma-cms
- yarn get-api-schema -e http://localhost:4000
- yarn build-api-fragments
Run tests
- Start @prisma-cms/server
- Start @prisma-cms/front
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.