From 56ec86242a31bc327c8c0c509178043f146fa966 Mon Sep 17 00:00:00 2001 From: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Mon, 15 Jul 2024 10:01:55 -0700 Subject: [PATCH] Fix test, fix all unit tests running on mac/linux --- bin/test_unit.js | 5 +---- src/headless/public/Terminal.test.ts | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/bin/test_unit.js b/bin/test_unit.js index e1cd8494b4..3ab6288217 100644 --- a/bin/test_unit.js +++ b/bin/test_unit.js @@ -12,10 +12,7 @@ const COVERAGE_LINES_THRESHOLD = 40; const env = { ...process.env }; env.NODE_PATH = path.resolve(__dirname, '../out-esbuild'); -let testFiles = [ - './out-esbuild/**/*test.js', - './addons/**/out-esbuild/*test.js', -]; +let testFiles = ['**/out-esbuild/**/*.test.js']; let flagArgs = []; diff --git a/src/headless/public/Terminal.test.ts b/src/headless/public/Terminal.test.ts index 2175c6684f..ea77bdeee3 100644 --- a/src/headless/public/Terminal.test.ts +++ b/src/headless/public/Terminal.test.ts @@ -473,7 +473,7 @@ describe('Headless API Tests', function (): void { it('dispose', async () => { term.dispose(); - strictEqual((term as any)._core._isDisposed, true); + strictEqual((term as any)._core._store.isDisposed, true); }); });