Skip to content
This repository has been archived by the owner on Oct 30, 2022. It is now read-only.

Commit

Permalink
Update json.test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Tweak4141 authored Aug 3, 2022
1 parent 8435070 commit 71b8bd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/json.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ core.setOutput('infoMessage', "Could not validate info.");
core.setOutput('recordMessage', "Could not validate records.");
test('check if json file has required info', async () => {
const passed = await checkInfo(data);
let infoMessage = passed === true ? "Valid Info Provided." : passed === "unknown" ? "Error Verifying Email.\nA maintainer will have to manually verify your email." : "Invalid Info Provided.\nPlease check your provided info.\nReason:";
let infoMessage = passed === true ? "Valid Info Provided." : passed === "unknown" ? "Error Verifying Email.\nA maintainer will have to manually verify your email.\nReason:" : "Invalid Info Provided.\nPlease check your provided info.\nReason:";
core.setOutput('infoMessage', infoMessage);
expect(passed).toBeTruthy();
}, 15000);
Expand Down

0 comments on commit 71b8bd8

Please sign in to comment.