Skip to content

Commit

Permalink
Add debug message for bad expect
Browse files Browse the repository at this point in the history
  • Loading branch information
cole-abbeduto-particle committed Oct 9, 2024
1 parent d7e116c commit 94c57b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/logout.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ describe('Logout Commands', () => {

const { stdout, stderr, exitCode } = await subprocess;

expect(stdout).to.include(`You have been logged out from ${USERNAME}`);
expect(stdout, `MSG- err: ${stderr}; exit: ${exitCode}`).to.include(`You have been logged out from ${USERNAME}`);
expect(stderr).to.equal('');
expect(exitCode).to.equal(0);
});
Expand Down

0 comments on commit 94c57b2

Please sign in to comment.