No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
src
.env
.gitignore
README.md
changelog.md
nwb.config.js
package.json

README.md

Tests module for @prisma-cms

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.

Compatibility