mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 18:19:12 +01:00
Use playwright for desktop smoke tests (#146692)
* Use `playwright` for desktop smoke tests * fix distro issues * tests - enable prefs tests for web
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
//@ts-check
|
||||
'use strict';
|
||||
|
||||
const paths = require('path');
|
||||
@@ -10,7 +11,9 @@ const glob = require('glob');
|
||||
// Linux: prevent a weird NPE when mocha on Linux requires the window size from the TTY
|
||||
// Since we are not running in a tty environment, we just implementt he method statically
|
||||
const tty = require('tty');
|
||||
// @ts-ignore
|
||||
if (!tty.getWindowSize) {
|
||||
// @ts-ignore
|
||||
tty.getWindowSize = function () { return [80, 75]; };
|
||||
}
|
||||
const Mocha = require('mocha');
|
||||
|
||||
Reference in New Issue
Block a user