Compare commits

..

No commits in common. "ebf270f2bb0839a5833e0a5e65709329160a25d6" and "e7f693982f97e6447f6d8ecdbb7a420896fdbdbc" have entirely different histories.

2 changed files with 0 additions and 11 deletions

View file

@ -8,15 +8,6 @@ export default class OutputHelper {
const outputLines: string[] = []; const outputLines: string[] = [];
if (options.json) { if (options.json) {
if (options.queryMetadata != null) {
return JSON.stringify({
...result,
query: {
...response.Query,
}
})
}
return JSON.stringify(result); return JSON.stringify(result);
} }

View file

@ -102,6 +102,4 @@ describe("GenerateOutput", () => {
// Assert // Assert
expect(result).toMatchSnapshot(); expect(result).toMatchSnapshot();
}); });
test.todo("GIVEN options.queryMetadata AND options.json is supplied, EXPECT query metadata to be in JSON format")
}); });