@@ -222,7 +222,7 @@ Response time threshold in milliseconds for marking the check as degraded. This
222222
223223** Usage:**
224224
225- ``` ts
225+ ``` ts highlight={3}
226226new ApiCheck (" performance-check" , {
227227 name: " Performance Monitoring" ,
228228 degradedResponseTime: 2000 , // Warning at 2 seconds
@@ -242,7 +242,7 @@ Maximum response time in milliseconds before marking the check as failed. This s
242242
243243** Usage:**
244244
245- ``` ts
245+ ``` ts highlight={3}
246246new ApiCheck (" timeout-check" , {
247247 name: " API Timeout Check" ,
248248 maxResponseTime: 5000 , // Fail if response takes longer than 5 seconds
@@ -261,7 +261,7 @@ Whether a failure should count as a pass. When set to `true`, HTTP status codes
261261
262262** Usage:**
263263
264- ``` ts
264+ ``` ts highlight={3}
265265new ApiCheck (" negative-test" , {
266266 name: " Test Error Handling" ,
267267 shouldFail: true , // Expect this to fail
@@ -316,7 +316,7 @@ Script to run before the API Check execution. Useful for setting up test data or
316316
317317<CodeGroup >
318318
319- ``` ts File Reference
319+ ``` ts File Reference highlight={3-5}
320320new ApiCheck (" api-with-setup" , {
321321 name: " API with Setup Script" ,
322322 setupScript: {
@@ -329,7 +329,7 @@ new ApiCheck("api-with-setup", {
329329})
330330```
331331
332- ``` ts Inline Script
332+ ``` ts Inline Script highlight={3-8}
333333new ApiCheck (' inline-setup' , {
334334 name: ' API with Inline Setup' ,
335335 setupScript: {
@@ -369,7 +369,7 @@ Script to run after the API Check execution. Useful for cleaning up test data or
369369
370370<CodeGroup >
371371
372- ``` ts File Reference
372+ ``` ts File Reference highlight={3-5}
373373new ApiCheck (" api-with-teardown" , {
374374 name: " API with Teardown Script" ,
375375 tearDownScript: {
@@ -382,7 +382,7 @@ new ApiCheck("api-with-teardown", {
382382})
383383```
384384
385- ``` ts Inline Script
385+ ``` ts Inline Script highlight={3-9}
386386new ApiCheck (" inline-teardown" , {
387387 name: " API with Inline Teardown" ,
388388 tearDownScript: {
0 commit comments