Skip to content

Commit

Permalink
Update solution.test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
doublederek authored May 8, 2024
1 parent 97d3e9e commit fe1d8c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/solution.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ describe('solution.js script', () => {
exec("node solution.js", (error, stdout, stderr) => {
expect(error).toBeNull();
expect(stderr).toBe("");
expect(stdout.trim()).toBe(process.env.TEST_ANSWER); // trim to remove any extra newlines that console.log might generate
expect(stdout.trim()).toBe("HIPPOPOTOMONSTROSESQUIPPEDALIOPHOBIA"); // trim to remove any extra newlines that console.log might generate
done(); // indicate that this async test is complete
});
});
Expand Down

0 comments on commit fe1d8c6

Please sign in to comment.