Skip to content

Commit

Permalink
test dismissing
Browse files Browse the repository at this point in the history
  • Loading branch information
sirtimid authored and rekmarks committed Sep 18, 2024
1 parent 88a7b61 commit 77a67f4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/cli/test/demo/mailboxes-are-symmetric.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ export const section = async (execa, testLine) => {
execa`endo send HOST --as alice-agent ${'This is the @doubler you sent me.'}`,
);
await testLine(execa`endo inbox`, {
stdout: /"alice" sent "This is the @doubler you sent me\."/,
stdout: /3\. "alice" sent "This is the @doubler you sent me\."/,
});
await testLine(execa`endo adopt 3 doubler doubler-from-alice`);
await testLine(execa`endo dismiss 3`);
await testLine(execa`endo inbox`, {
stdout: /^(?!3\. "alice" sent "This is the @doubler you sent me\.").*/,
});
};

0 comments on commit 77a67f4

Please sign in to comment.