Skip to content

Commit 56ec862

Browse files
committed
Fix test, fix all unit tests running on mac/linux
1 parent 2a6cd82 commit 56ec862

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

bin/test_unit.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@ const COVERAGE_LINES_THRESHOLD = 40;
1212
const env = { ...process.env };
1313
env.NODE_PATH = path.resolve(__dirname, '../out-esbuild');
1414

15-
let testFiles = [
16-
'./out-esbuild/**/*test.js',
17-
'./addons/**/out-esbuild/*test.js',
18-
];
15+
let testFiles = ['**/out-esbuild/**/*.test.js'];
1916

2017
let flagArgs = [];
2118

src/headless/public/Terminal.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ describe('Headless API Tests', function (): void {
473473

474474
it('dispose', async () => {
475475
term.dispose();
476-
strictEqual((term as any)._core._isDisposed, true);
476+
strictEqual((term as any)._core._store.isDisposed, true);
477477
});
478478
});
479479

0 commit comments

Comments
 (0)