@@ -39,7 +39,7 @@ describe('outputCreateRepo', () => {
3939 )
4040 const mockSerialize = vi . mocked ( serializeResultJson )
4141
42- const result : CResult < SocketSdkSuccessResult < 'createRepository ' > [ 'data' ] > =
42+ const result : CResult < SocketSdkSuccessResult < 'createOrgRepo ' > [ 'data' ] > =
4343 {
4444 ok : true ,
4545 data : {
@@ -57,7 +57,7 @@ describe('outputCreateRepo', () => {
5757 it ( 'outputs error in JSON format' , async ( ) => {
5858 const { outputCreateRepo } = await import ( './output-create-repo.mts' )
5959
60- const result : CResult < SocketSdkSuccessResult < 'createRepository ' > [ 'data' ] > =
60+ const result : CResult < SocketSdkSuccessResult < 'createOrgRepo ' > [ 'data' ] > =
6161 {
6262 ok : false ,
6363 code : 2 ,
@@ -74,7 +74,7 @@ describe('outputCreateRepo', () => {
7474 it ( 'outputs success message when slug matches requested name' , async ( ) => {
7575 const { outputCreateRepo } = await import ( './output-create-repo.mts' )
7676
77- const result : CResult < SocketSdkSuccessResult < 'createRepository ' > [ 'data' ] > =
77+ const result : CResult < SocketSdkSuccessResult < 'createOrgRepo ' > [ 'data' ] > =
7878 {
7979 ok : true ,
8080 data : {
@@ -93,7 +93,7 @@ describe('outputCreateRepo', () => {
9393 it ( 'outputs success message with warning when slug differs from requested name' , async ( ) => {
9494 const { outputCreateRepo } = await import ( './output-create-repo.mts' )
9595
96- const result : CResult < SocketSdkSuccessResult < 'createRepository ' > [ 'data' ] > =
96+ const result : CResult < SocketSdkSuccessResult < 'createOrgRepo ' > [ 'data' ] > =
9797 {
9898 ok : true ,
9999 data : {
@@ -116,7 +116,7 @@ describe('outputCreateRepo', () => {
116116 )
117117 const mockFailMsg = vi . mocked ( failMsgWithBadge )
118118
119- const result : CResult < SocketSdkSuccessResult < 'createRepository ' > [ 'data' ] > =
119+ const result : CResult < SocketSdkSuccessResult < 'createOrgRepo ' > [ 'data' ] > =
120120 {
121121 ok : false ,
122122 code : 1 ,
@@ -137,7 +137,7 @@ describe('outputCreateRepo', () => {
137137 it ( 'handles markdown output format' , async ( ) => {
138138 const { outputCreateRepo } = await import ( './output-create-repo.mts' )
139139
140- const result : CResult < SocketSdkSuccessResult < 'createRepository ' > [ 'data' ] > =
140+ const result : CResult < SocketSdkSuccessResult < 'createOrgRepo ' > [ 'data' ] > =
141141 {
142142 ok : true ,
143143 data : {
@@ -155,7 +155,7 @@ describe('outputCreateRepo', () => {
155155 it ( 'handles empty slug properly' , async ( ) => {
156156 const { outputCreateRepo } = await import ( './output-create-repo.mts' )
157157
158- const result : CResult < SocketSdkSuccessResult < 'createRepository ' > [ 'data' ] > =
158+ const result : CResult < SocketSdkSuccessResult < 'createOrgRepo ' > [ 'data' ] > =
159159 {
160160 ok : true ,
161161 data : {
@@ -172,7 +172,7 @@ describe('outputCreateRepo', () => {
172172
173173 it ( 'sets default exit code when code is undefined' , async ( ) => {
174174 const { outputCreateRepo } = await import ( './output-create-repo.mts' )
175- const result : CResult < SocketSdkSuccessResult < 'createRepository ' > [ 'data' ] > =
175+ const result : CResult < SocketSdkSuccessResult < 'createOrgRepo ' > [ 'data' ] > =
176176 {
177177 ok : false ,
178178 message : 'Error without code' ,
0 commit comments