This package contains shared utilities for other packages, such as string utils, screen size utils, and schema updater.
In order to fetch the latest graphql schema, follow these steps:
export GRAPHQL_ENDPOINT=https://api.thetimes.co.uk/graphql
(Omit this step to use local server instead)yarn make-schema
Please read CONTRIBUTING.md before contributing to this package
Please see our main README.md to get the project running locally
The code can be formatted and linted in accordance with the agreed standards.
yarn fmt
yarn lint
This package uses yarn (latest) to run unit tests on each platform with jest.
yarn test
Some of the test specific utilities should be moved to the test-utils package.