Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/debugProvider.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import * as assert from 'assert';
import { DebugConfiguration, workspace } from 'vscode';
import { StaticWebAppDebugProvider } from '../extension.bundle';
import { StaticWebAppDebugProvider } from '../src/debug/StaticWebAppDebugProvider';
import { getWorkspaceUri } from './testUtils';

interface ITestCase {
Expand Down
4 changes: 2 additions & 2 deletions test/global.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
* Licensed under the MIT License. See LICENSE.md in the project root for license information.
*--------------------------------------------------------------------------------------------*/

import { TestOutputChannel, TestUserInput } from '@microsoft/vscode-azext-dev';
import { registerOnActionStartHandler, TestOutputChannel, TestUserInput } from '@microsoft/vscode-azext-utils';
import * as assert from 'assert';
import * as vscode from 'vscode';
import { ext, registerOnActionStartHandler } from '../extension.bundle';
import { ext } from '../src/extensionVariables';

const longRunningLocalTestsEnabled: boolean = !/^(false|0)?$/i.test(process.env.AzCode_EnableLongRunningTestsLocal || '');
const longRunningRemoteTestsEnabled: boolean = !/^(false|0)?$/i.test(process.env.AzCode_UseAzureFederatedCredentials || '');
Expand Down
3 changes: 2 additions & 1 deletion test/nodeDetector.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@

import * as assert from 'assert';
import { Uri } from "vscode";
import { DetectorResults, NodeConstants, NodeDetector } from '../extension.bundle';
import { NodeConstants } from '../src/detectors/node/nodeConstants';
import { DetectorResults, NodeDetector } from '../src/detectors/node/NodeDetector';
import { getWorkspaceUri } from './testUtils';

interface ITestCase {
Expand Down
3 changes: 2 additions & 1 deletion test/parseGitHubLog.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@

import * as assert from 'assert';
import { FoldingRange } from 'vscode';
import { createFoldingRanges, LogState, parseGitHubLog } from '../extension.bundle';
import { createFoldingRanges } from '../src/commands/github/jobLogs/createFoldingRanges';
import { LogState, parseGitHubLog } from '../src/commands/github/jobLogs/parseGitHubLog';

suite('Parse response from GitHub downloadJobLogsForWorkflowRun API', () => {
test('01 - Parse the entire job log', (() => {
Expand Down
5 changes: 3 additions & 2 deletions test/selectBuildConfigs.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
* Licensed under the MIT License. See LICENSE.md in the project root for license information.
*--------------------------------------------------------------------------------------------*/

import { createTestActionContext } from '@microsoft/vscode-azext-dev';
import { createTestActionContext } from '@microsoft/vscode-azext-utils';
import * as assert from 'assert';
import { Position, Range, TextDocument, TextDocumentContentProvider, Uri, workspace } from 'vscode';
import { BuildConfig, tryGetSelection } from "../extension.bundle";
import { tryGetSelection } from '../src/commands/openYAMLConfigFile';
import { BuildConfig } from '../src/tree/WorkflowGroupTreeItem';

interface ISelectBuildConfigTestCase {
workflowIndex: number;
Expand Down
2 changes: 1 addition & 1 deletion test/swaCliTaskProvider.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

import * as assert from 'assert';
import { ShellExecution, Task, workspace } from 'vscode';
import { SwaTaskProvider } from '../extension.bundle';
import { SwaTaskProvider } from '../src/cli/SwaCliTaskProvider';
import { getWorkspaceUri } from './testUtils';

interface ITestCase {
Expand Down