Skip to content

Commit c2dcdb8

Browse files
committed
chore: fix tcr test
1 parent 7da7a38 commit c2dcdb8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

__tests__/tcr.test.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,13 @@ describe('Tcr', () => {
5050
test('get enterprise image info', async () => {
5151
const res = await client.getImageInfo({
5252
registryId,
53-
namespace,
5453
repositoryName,
54+
namespace,
5555
tagName,
5656
});
5757
expect(res).toEqual({
58+
registryId,
59+
registryName,
5860
imageType: 'enterprise',
5961
imageUrl: `${registryName}.tencentcloudcr.com/${namespace}/${repositoryName}`,
6062
imageUri: expect.stringContaining(
@@ -72,6 +74,8 @@ describe('Tcr', () => {
7274
tagName,
7375
});
7476
expect(res).toEqual({
77+
registryId,
78+
registryName,
7579
imageType: 'enterprise',
7680
imageUrl: `${registryName}.tencentcloudcr.com/${namespace}/${repositoryName}`,
7781
imageUri: expect.stringContaining(

0 commit comments

Comments
 (0)