1.0.0 • Published 7 years ago
mocha-graphql-register v1.0.0
mocha-graphql-register
Loads content of a .graphql
file as plain string during execution of npm test
.
Installation
npm install --save-dev mocha-graphql-register
Usage
Add --compilers graphql:mocha-graphql-register
to your mocha.opts
or
pass it as param to Mocha
binary.
Example
Take a look at ./test
directory.
License
1.0.0
7 years ago