This package is meant to create a single testable location for our fixtures. Enabling us to generate fixture data using schema introspection and graphql gen that is typesafe and reliable.
The aim for this package is to give us a single location for integration tests, showcase and UI tests all to use.
If new types are added to TPA. Please delete
yarn getSchemafollowed by
yarn gentypes. This is due to an issue with file permissions.
types.tsis an autogenerated file and should not be changed manually.
Please read CONTRIBUTING.md before contributing to this package
Running the code
Please see our main README.md to get the project running locally
This project is in typescript so you've got that do deal with. The reason for which is so we can enforce the types that we generate from graphql gen.
In order to build the project just run:
You do not need to have typescript on your machine as we install the compiler as a dev dependency.