Skip to content

GraphQL Unit Tests is a graphQL nodejs API with unit and ingration tests in your resolvers.

Notifications You must be signed in to change notification settings

dotdigitalgroup/graphql-unit-tests

 
 

Repository files navigation

GraphQL Unit Tests Project

GraphQL Unit Tests is a graphQL nodejs API with unit tests in your resolvers.

Installation

  • This application can be executed with docker.

  • Add this lines bellow in your etc/hosts file

127.0.0.1	api.local.com
127.0.0.1	mongodb.local.com
  • Copy the .env_example to .env in the root directory of application and configure your environments variables

Usage

  • Run the application containers with command bellow:
docker-compose up
  • After this steps, your application must be available in api.local.com

  • Run the unit and integration tests with command:

npm run test

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

About

GraphQL Unit Tests is a graphQL nodejs API with unit and ingration tests in your resolvers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.8%
  • Dockerfile 0.2%