Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 844 Bytes

README.md

File metadata and controls

27 lines (21 loc) · 844 Bytes

graphql_examples Tests

Tests

To execute, set the EXAMPLE environment variable to the directory name you want to test (subdirectory of examples) and call yarn test from the tests directory.

EXAMPLE=rails yarn test
EXAMPLE=rails yarn test scenarios/users.test.ts

For watch file and only execute a single file on save:

EXAMPLE=rails yarn watch --watchAll
EXAMPLE=rails yarn watch scenarios/users.test.ts