Files
vscode/build/azure-pipelines/common/installPlaywright.ts
Benjamin Pasero f9e8dc2095 🆙 playwright
2021-11-04 09:27:22 +01:00

14 lines
582 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 { installDefaultBrowsersForNpmInstall } = require('playwright-core/lib/utils/registry');
async function install() {
await retry(() => installDefaultBrowsersForNpmInstall());
}
install();