mocha-graphql-register
v1.0.0
Published
Loads content of a .graphql file during npm test
Readme
mocha-graphql-register
Loads content of a .graphql file as plain string during execution of npm test.
Installation
npm install --save-dev mocha-graphql-registerUsage
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
MIT (http://www.opensource.org/licenses/mit-license.php)
