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 edc00ec
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions test/render.tsx
Expand Up @@ -117,10 +117,6 @@ test.serial('erase screen once then continue rendering as usual', async t => {
const ps = term('erase-once', [], {rows: 3});
await delay(1000);

t.true(ps.output.includes('A'));
t.true(ps.output.includes('B'));
t.true(ps.output.includes('C'));

ps.output = '';
ps.write('x');

Expand All @@ -139,13 +135,6 @@ test.serial(
const ps = term('erase-once-with-static', [], {rows: 3});
await delay(1000);

t.true(ps.output.includes('X'));
t.true(ps.output.includes('Y'));
t.true(ps.output.includes('Z'));
t.true(ps.output.includes('A'));
t.true(ps.output.includes('B'));
t.true(ps.output.includes('C'));

ps.output = '';
ps.write('x');

Expand Down

0 comments on commit edc00ec

Please sign in to comment.