fix checks

This commit is contained in:
robby 2025-01-08 13:56:13 -05:00
parent 018e23da80
commit 45fe365d58
2 changed files with 33 additions and 1 deletions

View file

@ -1,3 +1,19 @@
/**
* Copyright (c) Microsoft Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { registry } from '../../server';
import { gracefullyProcessExitDoNotHang } from '../../utils';
@ -13,7 +29,7 @@ async function listInstalledBrowsers() {
}
}
} catch (e) {
console.log(`Failed to list installed browsers\n${e}`);
console.error(`Failed to list installed browsers\n${e}`);
gracefullyProcessExitDoNotHang(1);
}
}

View file

@ -1,3 +1,19 @@
/**
* Copyright (c) Microsoft Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { execSync } from 'child_process';
import { expect, test } from '@playwright/test';