Skip to content

Commit 672db6a

Browse files
authored
Added instructions for directives testing
1 parent 1ad3f20 commit 672db6a

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,12 @@ Edge collection 'FriendsEdgeFromHuman' created
3333
Edge collection 'HomeWorldEdgeFromHuman' created
3434
Edge collection 'SpeciesEdgeFromHuman' created
3535
GraphQL service ready at: http://localhost:4000/
36-
```
36+
```
37+
38+
# Tests
39+
40+
## Directives/Constrains
41+
Tests for directives checking can be found in `graphql-server/tests`.
42+
43+
To run them first run `directives-tests-generator.sh` to generate schema, resolver, driver and server as usual.
44+
Then start `server.js` in `graphql-server\tests\generated-directives-tests-server` (make sure `DISABLE_DIRECTIVES_CHECKING` is not set to true), and finally run `directives-tests.js`

0 commit comments

Comments
 (0)