Skip to content

Loads content of a .graphql file as plain string during execution of `npm test`

Notifications You must be signed in to change notification settings

autopilothq/mocha-graphql-register

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

MIT (http://www.opensource.org/licenses/mit-license.php)

About

Loads content of a .graphql file as plain string during execution of `npm test`

Resources

Stars

Watchers

Forks

Packages

No packages published