Skip to content

Commit

Permalink
fix dispose error in Terminal.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
jerch authored Oct 4, 2024
1 parent 621c702 commit 3d9668f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/playwright/Terminal.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ test.describe('API Integration Tests', () => {
window.term = new Terminal();
window.term.dispose();
`);
strictEqual(await ctx.page.evaluate(`window.term._core._isDisposed`), true);
strictEqual(await ctx.page.evaluate(`window.term._core._store._isDisposed`), true);
});

test('dispose (opened)', async () => {
Expand All @@ -702,7 +702,7 @@ test.describe('API Integration Tests', () => {
} catch {}
}
`);
strictEqual(await ctx.page.evaluate(`window.term._core._isDisposed`), true);
strictEqual(await ctx.page.evaluate(`window.term._core._store._isDisposed`), true);
});

test('render when visible after hidden', async () => {
Expand Down

0 comments on commit 3d9668f

Please sign in to comment.