@@ -36,7 +36,7 @@ function noContentResponse(): Response {
3636describe ( "ReplaneAdmin - Initialization" , ( ) => {
3737 it ( "creates client with required options" , ( ) => {
3838 const admin = new ReplaneAdmin ( {
39- baseUrl : "https://app. replane.dev " ,
39+ baseUrl : "https://replane.example.com " ,
4040 apiKey : "rpa_test_key" ,
4141 } ) ;
4242
@@ -56,14 +56,14 @@ describe("ReplaneAdmin - Initialization", () => {
5656 vi . stubGlobal ( "fetch" , mockFetch ) ;
5757
5858 const admin = new ReplaneAdmin ( {
59- baseUrl : "https://app. replane.dev " ,
59+ baseUrl : "https://replane.example.com " ,
6060 apiKey : "rpa_test_key" ,
6161 } ) ;
6262
6363 await admin . projects . list ( ) ;
6464
6565 expect ( mockFetch ) . toHaveBeenCalledWith (
66- "https://app. replane.dev /api/admin/v1/projects" ,
66+ "https://replane.example.com /api/admin/v1/projects" ,
6767 expect . any ( Object )
6868 ) ;
6969
@@ -77,14 +77,14 @@ describe("ReplaneAdmin - Initialization", () => {
7777 vi . stubGlobal ( "fetch" , mockFetch ) ;
7878
7979 const admin = new ReplaneAdmin ( {
80- baseUrl : "https://app. replane.dev /" ,
80+ baseUrl : "https://replane.example.com /" ,
8181 apiKey : "rpa_test_key" ,
8282 } ) ;
8383
8484 await admin . projects . list ( ) ;
8585
8686 expect ( mockFetch ) . toHaveBeenCalledWith (
87- "https://app. replane.dev /api/admin/v1/projects" ,
87+ "https://replane.example.com /api/admin/v1/projects" ,
8888 expect . any ( Object )
8989 ) ;
9090
@@ -98,7 +98,7 @@ describe("ReplaneAdmin - Initialization", () => {
9898 vi . stubGlobal ( "fetch" , mockFetch ) ;
9999
100100 const admin = new ReplaneAdmin ( {
101- baseUrl : "https://app. replane.dev " ,
101+ baseUrl : "https://replane.example.com " ,
102102 apiKey : "rpa_test_key" ,
103103 } ) ;
104104
@@ -123,7 +123,7 @@ describe("ReplaneAdmin - Initialization", () => {
123123 vi . stubGlobal ( "fetch" , mockFetch ) ;
124124
125125 const admin = new ReplaneAdmin ( {
126- baseUrl : "https://app. replane.dev " ,
126+ baseUrl : "https://replane.example.com " ,
127127 apiKey : "rpa_test_key" ,
128128 agent : "my-custom-agent/1.0.0" ,
129129 } ) ;
@@ -163,7 +163,7 @@ describe("ReplaneAdmin - Authentication", () => {
163163 mockFetch . mockResolvedValueOnce ( jsonResponse ( { projects : [ ] } ) ) ;
164164
165165 const admin = new ReplaneAdmin ( {
166- baseUrl : "https://app. replane.dev " ,
166+ baseUrl : "https://replane.example.com " ,
167167 apiKey : "rpa_my_secret_key" ,
168168 } ) ;
169169
@@ -200,7 +200,7 @@ describe("ReplaneAdmin - Error Handling", () => {
200200 mockFetch . mockResolvedValueOnce ( errorResponse ( "Invalid API key" , 401 ) ) ;
201201
202202 const admin = new ReplaneAdmin ( {
203- baseUrl : "https://app. replane.dev " ,
203+ baseUrl : "https://replane.example.com " ,
204204 apiKey : "rpa_invalid_key" ,
205205 } ) ;
206206
@@ -220,7 +220,7 @@ describe("ReplaneAdmin - Error Handling", () => {
220220 mockFetch . mockResolvedValueOnce ( errorResponse ( "Forbidden" , 403 ) ) ;
221221
222222 const admin = new ReplaneAdmin ( {
223- baseUrl : "https://app. replane.dev " ,
223+ baseUrl : "https://replane.example.com " ,
224224 apiKey : "rpa_test_key" ,
225225 } ) ;
226226
@@ -240,7 +240,7 @@ describe("ReplaneAdmin - Error Handling", () => {
240240 mockFetch . mockResolvedValueOnce ( errorResponse ( "Project not found" , 404 ) ) ;
241241
242242 const admin = new ReplaneAdmin ( {
243- baseUrl : "https://app. replane.dev " ,
243+ baseUrl : "https://replane.example.com " ,
244244 apiKey : "rpa_test_key" ,
245245 } ) ;
246246
@@ -260,7 +260,7 @@ describe("ReplaneAdmin - Error Handling", () => {
260260 mockFetch . mockResolvedValueOnce ( errorResponse ( "Internal server error" , 500 ) ) ;
261261
262262 const admin = new ReplaneAdmin ( {
263- baseUrl : "https://app. replane.dev " ,
263+ baseUrl : "https://replane.example.com " ,
264264 apiKey : "rpa_test_key" ,
265265 } ) ;
266266
@@ -280,7 +280,7 @@ describe("ReplaneAdmin - Error Handling", () => {
280280 mockFetch . mockResolvedValueOnce ( new Response ( "Bad Gateway" , { status : 502 } ) ) ;
281281
282282 const admin = new ReplaneAdmin ( {
283- baseUrl : "https://app. replane.dev " ,
283+ baseUrl : "https://replane.example.com " ,
284284 apiKey : "rpa_test_key" ,
285285 } ) ;
286286
@@ -308,7 +308,7 @@ describe("Workspaces API", () => {
308308 beforeEach ( ( ) => {
309309 mockFetch = createFetchMock ( ) ;
310310 vi . stubGlobal ( "fetch" , mockFetch ) ;
311- admin = new ReplaneAdmin ( { baseUrl : "https://test.replane.dev " , apiKey : "rpa_test_key" } ) ;
311+ admin = new ReplaneAdmin ( { baseUrl : "https://test.replane.example.com " , apiKey : "rpa_test_key" } ) ;
312312 } ) ;
313313
314314 afterEach ( ( ) => {
@@ -457,7 +457,7 @@ describe("Projects API", () => {
457457 beforeEach ( ( ) => {
458458 mockFetch = createFetchMock ( ) ;
459459 vi . stubGlobal ( "fetch" , mockFetch ) ;
460- admin = new ReplaneAdmin ( { baseUrl : "https://test.replane.dev " , apiKey : "rpa_test_key" } ) ;
460+ admin = new ReplaneAdmin ( { baseUrl : "https://test.replane.example.com " , apiKey : "rpa_test_key" } ) ;
461461 } ) ;
462462
463463 afterEach ( ( ) => {
@@ -650,7 +650,7 @@ describe("Configs API", () => {
650650 beforeEach ( ( ) => {
651651 mockFetch = createFetchMock ( ) ;
652652 vi . stubGlobal ( "fetch" , mockFetch ) ;
653- admin = new ReplaneAdmin ( { baseUrl : "https://test.replane.dev " , apiKey : "rpa_test_key" } ) ;
653+ admin = new ReplaneAdmin ( { baseUrl : "https://test.replane.example.com " , apiKey : "rpa_test_key" } ) ;
654654 } ) ;
655655
656656 afterEach ( ( ) => {
@@ -894,7 +894,7 @@ describe("Environments API", () => {
894894 beforeEach ( ( ) => {
895895 mockFetch = createFetchMock ( ) ;
896896 vi . stubGlobal ( "fetch" , mockFetch ) ;
897- admin = new ReplaneAdmin ( { baseUrl : "https://test.replane.dev " , apiKey : "rpa_test_key" } ) ;
897+ admin = new ReplaneAdmin ( { baseUrl : "https://test.replane.example.com " , apiKey : "rpa_test_key" } ) ;
898898 } ) ;
899899
900900 afterEach ( ( ) => {
@@ -944,7 +944,7 @@ describe("SDK Keys API", () => {
944944 beforeEach ( ( ) => {
945945 mockFetch = createFetchMock ( ) ;
946946 vi . stubGlobal ( "fetch" , mockFetch ) ;
947- admin = new ReplaneAdmin ( { baseUrl : "https://test.replane.dev " , apiKey : "rpa_test_key" } ) ;
947+ admin = new ReplaneAdmin ( { baseUrl : "https://test.replane.example.com " , apiKey : "rpa_test_key" } ) ;
948948 } ) ;
949949
950950 afterEach ( ( ) => {
@@ -1081,7 +1081,7 @@ describe("Members API", () => {
10811081 beforeEach ( ( ) => {
10821082 mockFetch = createFetchMock ( ) ;
10831083 vi . stubGlobal ( "fetch" , mockFetch ) ;
1084- admin = new ReplaneAdmin ( { baseUrl : "https://test.replane.dev " , apiKey : "rpa_test_key" } ) ;
1084+ admin = new ReplaneAdmin ( { baseUrl : "https://test.replane.example.com " , apiKey : "rpa_test_key" } ) ;
10851085 } ) ;
10861086
10871087 afterEach ( ( ) => {
0 commit comments