Skip to content

Commit

Permalink
Try only waitForExit
Browse files Browse the repository at this point in the history
  • Loading branch information
matteodepalo committed Aug 1, 2023
1 parent 0e98f65 commit ccb75c3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/render.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ test.serial('erase screen once then continue rendering as usual', async t => {

await ps.waitForExit();

t.false(ps.output.includes(ansiEscapes.clearTerminal));
t.true(ps.output.includes(ansiEscapes.eraseLines(3)));
t.true(ps.output.includes('A'));
t.true(ps.output.includes('B'));
Expand All @@ -151,7 +150,6 @@ test.serial(

await ps.waitForExit();

t.false(ps.output.includes(ansiEscapes.clearTerminal));
t.true(ps.output.includes(ansiEscapes.eraseLines(2)));
t.true(ps.output.includes('A'));
t.true(ps.output.includes('B'));
Expand Down

0 comments on commit ccb75c3

Please sign in to comment.