Files
vscode/build/azure-pipelines/common/installPlaywright.ts
2021-06-08 17:20:58 +02:00

14 lines
570 B
TypeScript

/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { retry } from './retry';
const { installBrowsersWithProgressBar } = require('playwright/lib/install/installer');
async function install() {
await retry(() => installBrowsersWithProgressBar());
}
install();