IBM/openapi-to-graphql

Refactor tests

Open

#246 opened on Sep 9, 2019

View on GitHub
 (0 comments) (0 reactions) (0 assignees)TypeScript (215 forks)github user discovery
good first issue

Repository metrics

Stars
 (1,645 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

There is a lot of repeated code in our tests (for example, to run a query and compare it to expected data, to introspect a type and check the typing of a particular field). We should try to extract these functions and put them into some kind of utility file.

Contributor guide