Skip to content

Commit 4be97d5

Browse files
committed
fixup! feat(cardano-services): create TypeormAssetProvider
1 parent bddbe0b commit 4be97d5

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

packages/cardano-services/test/cli.test.ts

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ import {
1818
createUnhealthyMockOgmiosServer,
1919
ogmiosServerReady,
2020
serverStarted,
21-
servicesWithVersionPath as services,
22-
servicesWithVersionPath
21+
servicesWithVersionPath as services
2322
} from './util';
2423
import { createLogger } from '@cardano-sdk/util-dev';
2524
import { fromSerializableObject } from '@cardano-sdk/util';
@@ -2148,10 +2147,9 @@ describe('CLI', () => {
21482147
);
21492148
await serverStarted(apiUrl);
21502149
const headers = { 'Content-Type': 'application/json' };
2151-
const res = await axios.post(
2152-
`${apiUrl}${servicesWithVersionPath.stakePool.versionPath}/${ServiceNames.StakePool}/health`,
2153-
{ headers }
2154-
);
2150+
const res = await axios.post(`${apiUrl}${services.stakePool.versionPath}/${ServiceNames.StakePool}/health`, {
2151+
headers
2152+
});
21552153
expect(res.status).toBe(200);
21562154
});
21572155

@@ -2175,10 +2173,9 @@ describe('CLI', () => {
21752173
);
21762174
await serverStarted(apiUrl);
21772175
const headers = { 'Content-Type': 'application/json' };
2178-
const res = await axios.post(
2179-
`${apiUrl}${servicesWithVersionPath.asset.versionPath}/${ServiceNames.Asset}/health`,
2180-
{ headers }
2181-
);
2176+
const res = await axios.post(`${apiUrl}${services.asset.versionPath}/${ServiceNames.Asset}/health`, {
2177+
headers
2178+
});
21822179
expect(res.status).toBe(200);
21832180
});
21842181
});

0 commit comments

Comments
 (0)