Skip to content

Commit

Permalink
fixing unhandled case at login using email test
Browse files Browse the repository at this point in the history
  • Loading branch information
diaabadr committed Apr 29, 2023
1 parent 4b22b9f commit 478f63e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/cli.integration.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,14 +142,15 @@ describe('Integration CLI', function () {
const workdir = await createTmpDirectory();

try {
await runCLI(
const result = await runCLI(
[
`--email=${email}`,
`--password=${password}`,
`--workdir=${workdir}`
],
[keys.enter]
).promise;
ok(String(result).includes(`i Login Successfull!\n`));
} catch (err) {
strictEqual(
err,
Expand Down

0 comments on commit 478f63e

Please sign in to comment.