From edc00ec7c903cc62d347cf99cf8dc880abc936db Mon Sep 17 00:00:00 2001 From: Matteo Depalo Date: Tue, 1 Aug 2023 15:00:30 +0100 Subject: [PATCH] Try only waitForExit --- test/render.tsx | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/test/render.tsx b/test/render.tsx index 2b608003e..bcfa1426c 100644 --- a/test/render.tsx +++ b/test/render.tsx @@ -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'); @@ -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');