1.0.0 • Published 9 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-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
1.0.0
9 years ago