In the language server tests, write out what fails (#1111)

This is not a good way to go, but it's all we've got, since Bazel deletes the ACTUAL file. Should almost certainly be done better, but these tests are dying at some point and it's better than nothing (which is what we had before).
This commit is contained in:
Neil Mitchell 2019-05-13 16:52:26 +01:00 committed by GitHub
parent ed431b4717
commit 50bcb853ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,6 +100,7 @@ export function truncatePaths(obj: any): any {
*/
export function tryWriteActualJSON(rootPath : string, actual : any)
{
console.log(actual);
tryWriteActual(rootPath + '/ACTUAL.json', JSON.stringify(actual, null, 2));
}