Skip to content

Commit 5767837

Browse files
committed
Add skip on examples for now
1 parent 2dc1a46 commit 5767837

File tree

6 files changed

+21
-11
lines changed

6 files changed

+21
-11
lines changed

docs/sources/k6/next/javascript-api/k6-browser/page/route.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ When several routes match the given pattern, they run in the order opposite to t
2424

2525
{{< code >}}
2626

27+
<!-- md-k6:skip -->
28+
2729
```javascript
2830
import { browser } from 'k6/browser';
2931

docs/sources/k6/next/javascript-api/k6-browser/route/_index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ When several routes match the given pattern, they run in the order opposite to t
2323

2424
{{< code >}}
2525

26+
<!-- md-k6:skip -->
27+
2628
```javascript
2729
import { browser } from 'k6/browser';
2830

docs/sources/k6/next/javascript-api/k6-browser/route/abort.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ Aborts the request with the given error code.
2121

2222
{{< code >}}
2323

24+
<!-- md-k6:skip -->
25+
2426
```javascript
2527
import { browser } from 'k6/browser';
2628

docs/sources/k6/next/javascript-api/k6-browser/route/continue.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ Sends the request to the network with optional overrides.
3131

3232
{{< code >}}
3333

34+
<!-- md-k6:skip -->
35+
3436
```javascript
3537
import { browser } from 'k6/browser';
3638

docs/sources/k6/next/javascript-api/k6-browser/route/fulfill.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ Fulfills the request with the given response.
3131

3232
{{< code >}}
3333

34+
<!-- md-k6:skip -->
35+
3436
```javascript
3537
import { browser } from 'k6/browser';
3638

docs/sources/k6/next/javascript-api/k6-browser/route/request.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ Returns the matching [Request](https://grafana.com/docs/k6/<K6_VERSION>/javascri
1717

1818
{{< code >}}
1919

20+
<!-- md-k6:skip -->
21+
2022
```javascript
2123
import { browser } from 'k6/browser';
2224

@@ -38,17 +40,15 @@ export default async function () {
3840

3941
try {
4042
await page.route(/.*\/api\/pizza/, async function (route) {
41-
await route.continue(
42-
{
43-
headers: {
44-
...route.request().headers(),
45-
'Content-Type': 'application/json',
46-
},
47-
postData: JSON.stringify({
48-
'customName': 'My Pizza'
49-
}),
50-
}
51-
);
43+
await route.continue({
44+
headers: {
45+
...route.request().headers(),
46+
'Content-Type': 'application/json',
47+
},
48+
postData: JSON.stringify({
49+
customName: 'My Pizza',
50+
}),
51+
});
5252
});
5353

5454
await page.goto('https://quickpizza.grafana.com/');

0 commit comments

Comments
 (0)