mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Fix test, fix all unit tests running on mac/linux
This commit is contained in:
+1
-4
@@ -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 = [];
|
||||
|
||||
|
||||
@@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user