Skip to content

Commit

Permalink
naming changes
Browse files Browse the repository at this point in the history
  • Loading branch information
shibeshduw committed Jul 9, 2024
1 parent 052a583 commit fcac70e
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 46 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,12 @@ import {
ArtifactList,
ArtifactPostData,
Artifact
} from '../index.js';
} from './index.js';

describe('artifact unit tests', () => {
let destination: HttpDestination;

beforeAll(() => {
destination = {
url: 'https://api.ai.intprod-eu12.eu-central-1.aws.ml.hana.ondemand.com/v2'
};
});
describe('artifact', () => {
const destination: HttpDestination = {
url: 'https://ai.example.com'
};

afterEach(() => {
nock.cleanAll();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,12 @@ import {
ConfigurationCreationResponse,
ConfigurationList,
Configuration
} from '../index.js';
} from './index.js';

describe('configuration unit tests', () => {
let destination: HttpDestination;

beforeAll(() => {
destination = {
url: 'https://api.ai.intprod-eu12.eu-central-1.aws.ml.hana.ondemand.com/v2'
};
});
describe('configuration', () => {
const destination: HttpDestination = {
url: 'https://ai.example.com'
};

afterEach(() => {
nock.cleanAll();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,12 @@ import {
DeploymentApi,
DeploymentModificationResponse,
DeploymentTargetStatus
} from '../index.js';
} from './index.js';

describe('deployment unit tests', () => {
let destination: HttpDestination;

beforeAll(() => {
destination = {
url: 'https://api.ai.intprod-eu12.eu-central-1.aws.ml.hana.ondemand.com/v2'
};
});
describe('deployment', () => {
const destination: HttpDestination = {
url: 'https://ai.example.com'
};

afterEach(() => {
nock.cleanAll();
Expand All @@ -38,7 +34,7 @@ describe('deployment unit tests', () => {
configurationName: 'gpt-4-32k',
createdAt: '2024-04-17T15:19:53Z',
deploymentUrl:
'https://api.ai.intprod-eu12.eu-central-1.aws.ml.hana.ondemand.com/v2/inference/deployments/d19b998f347341aa',
'https://ai.example.com/inference/deployments/d19b998f347341aa',
details: {
resources: {
backend_details: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,12 @@ import {
ExecutionApi,
ExecutionCreationResponse,
ExecutionList
} from '../index.js';
} from './index.js';

describe('execution unit tests', () => {
let destination: HttpDestination;

beforeAll(() => {
destination = {
url: 'https://api.ai.intprod-eu12.eu-central-1.aws.ml.hana.ondemand.com/v2'
};
});
describe('execution', () => {
const destination: HttpDestination = {
url: 'https://ai.example.com'
};

afterEach(() => {
nock.cleanAll();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
import nock from 'nock';
import { HttpDestination } from '@sap-cloud-sdk/connectivity';
import { Scenario, ScenarioApi, ScenarioList } from '../index.js';
import { Scenario, ScenarioApi, ScenarioList } from './index.js';

describe('scenario unit tests', () => {
let destination: HttpDestination;

beforeAll(() => {
destination = {
url: 'https://api.ai.intprod-eu12.eu-central-1.aws.ml.hana.ondemand.com/v2'
};
});
describe('scenario', () => {
const destination: HttpDestination = {
url: 'https://ai.example.com'
};

afterEach(() => {
nock.cleanAll();
Expand Down

0 comments on commit fcac70e

Please sign in to comment.