diff --git a/tests/json.test.js b/tests/json.test.js index 73e9ae4..708d55c 100644 --- a/tests/json.test.js +++ b/tests/json.test.js @@ -19,7 +19,7 @@ if (data == false) { core.setOutput('infoMessage', "Could not validate info."); core.setOutput('recordMessage', "Could not validate records."); -core.setOutput('jsonData', data) +core.setOutput('jsonData', JSON.stringify(data, null, 2)) core.setOutput('shouldComment', 'true') test('check if json file has required info', async () => { const passed = await checkInfo(data);