checkFile

Deprecated

This is only used for internal Apollo tests and will be removed in a future version.

Checks that actualText matches the contents of the file at path

If it doesn't and shouldUpdateTestFixtures is true, update the contents, else throw

Parameters

path

: the path to the file, from the "tests" directory