Skip to content

Commit

Permalink
fix lint errors (#23216)
Browse files Browse the repository at this point in the history
  • Loading branch information
SkorikSergey authored Oct 30, 2024
1 parent 8cb40db commit a925b56
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
5 changes: 3 additions & 2 deletions tests/e2e/specs/api/EmptyWorkspaceAPI.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,11 @@ suite('Empty workspace API test', function (): void {
suiteSetup(`Create empty workspace with OC client ${BASE_TEST_CONSTANTS.TEST_ENVIRONMENT}`, async function (): Promise<void> {
const workspaceName: string = 'empty-' + Math.floor(Math.random() * 1000);
const devfileContent: string = 'schemaVersion: 2.2.0\n' + 'metadata:\n' + ` name: ${workspaceName}\n`;
const editorContent:string='';
const editorContent: string = '';

devWorkspaceConfigurationHelper = new DevWorkspaceConfigurationHelper({
devfileContent, editorContent
devfileContent,
editorContent
});
devfileContext = await devWorkspaceConfigurationHelper.generateDevfileContext();
devWorkspaceName = devfileContext?.devWorkspace?.metadata?.name;
Expand Down
4 changes: 2 additions & 2 deletions tests/e2e/specs/miscellaneous/UserSecretsInWorkspace.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ suite('"User secrets in workspace" test', function (): void {
);
const shellExecutor: ShellExecutor = e2eContainer.get(CLASSES.ShellExecutor);
const testWorkspaceUtil: ITestWorkspaceUtil = e2eContainer.get(TYPES.WorkspaceUtil);
const userProject: string = OAUTH_CONSTANTS.TS_SELENIUM_OCP_USERNAME + `-devspaces`;
const userProject: string = OAUTH_CONSTANTS.TS_SELENIUM_OCP_USERNAME + '-devspaces';
const stackName: string = 'Empty Workspace';

const mountEnvCommand: string = `echo '
Expand Down Expand Up @@ -72,7 +72,7 @@ type: Opaque
await projectAndFileTests.waitWorkspaceReadinessForCheCodeEditor();
});

test('Check that mounted secret exists in envs list', async function (): Promise<void> {
test('Check that mounted secret exists in envs list', function (): void {
kubernetesCommandLineToolsExecutor = e2eContainer.get(CLASSES.KubernetesCommandLineToolsExecutor);
kubernetesCommandLineToolsExecutor.workspaceName = WorkspaceHandlingTests.getWorkspaceName();
kubernetesCommandLineToolsExecutor.loginToOcp();
Expand Down
1 change: 0 additions & 1 deletion tests/e2e/utils/DevWorkspaceConfigurationHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import { IContextParams } from './IContextParams';
import { e2eContainer } from '../configs/inversify.config';
import { CLASSES, EXTERNAL_CLASSES } from '../configs/inversify.types';
import getDecorators from 'inversify-inject-decorators';
import {DevfilesHelper} from "./DevfilesHelper";

const { lazyInject } = getDecorators(e2eContainer);

Expand Down

0 comments on commit a925b56

Please sign in to comment.