Skip to content

Commit bd75d8d

Browse files
committed
Fix TypeScript compilation errors in smoke tests
- Remove unused 'Page' import from activation.test.ts and cdpNodeVersionCompatibility.test.ts - Remove non-existent 'TimeoutConstants' import - Add missing 'SmokeTestLogger' import to both test files
1 parent af9ac9c commit bd75d8d

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

test/smoke/suites/activation.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT license. See LICENSE file in the project root for details.
33

4-
import { Page } from "playwright";
54
import assert = require("assert");
65
import { ElementHelper } from "./helper/elementHelper";
76
import { Constant } from "./helper/constants";
8-
import { TimeoutConstants } from "./helper/timeoutConstants";
97
import { BaseSmokeTest } from "./helper/baseSmokeTest";
8+
import { SmokeTestLogger } from "./helper/smokeTestLogger";
109

1110
export function startExtensionActivationTests(): void {
1211
describe("ExtensionActivationTest", () => {

test/smoke/suites/cdpNodeVersionCompatibility.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT license. See LICENSE file in the project root for details.
33

4-
import { Page } from "playwright";
54
import * as assert from "assert";
65
import { ComponentHelper } from "./helper/componentHelper";
76
import { ElementHelper } from "./helper/elementHelper";
87
import { Element } from "./helper/constants";
9-
import { TimeoutConstants } from "./helper/timeoutConstants";
108
import { BaseSmokeTest } from "./helper/baseSmokeTest";
9+
import { SmokeTestLogger } from "./helper/smokeTestLogger";
1110

1211
export function startCDPNodeVersionCompatibilityTests(): void {
1312
describe("CDPNodeVersionCompatibilityTest", () => {

0 commit comments

Comments
 (0)