Merge pull request #216621 from microsoft/tyriar/216597

Fix warning when running yarn test-browser
This commit is contained in:
Daniel Imms 2024-06-19 06:48:45 -07:00 committed by GitHub
commit 11f415d4d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,8 +3,11 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
// HACK: Ignore warnings, technically this requires browser/ but it's run on renderer.html anyway so
// it's fine in tests. Importing @xterm/headless appears to prevent `yarn test-browser` from running
// at all.
// eslint-disable-next-line local/code-import-patterns, local/code-amd-node-module
import { Terminal } from '@xterm/headless';
import { Terminal } from '@xterm/xterm';
import { ensureNoDisposablesAreLeakedInTestSuite } from 'vs/base/test/common/utils';
import { NullLogService } from 'vs/platform/log/common/log';