Skip to content

Commit fde0afc

Browse files
oleiadeankur22
authored andcommitted
refactor: apply pull request suggestions
1 parent f20c748 commit fde0afc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/sources/k6/next/javascript-api/jslib/testing/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The k6 testing library source code is available on [GitHub](https://github.com/g
2525
To use the testing library in your k6 script, import it in your tests directly from the jslib repository:
2626

2727
```javascript
28-
import { expect } from 'https://jslib.k6.io/k6-testing/{{< param "JSLIB_AWS_VERSION" >}}/index.js';
28+
import { expect } from 'https://jslib.k6.io/k6-testing/{{< param "JSLIB_TESTING_VERSION" >}}/index.js';
2929
```
3030

3131
## Demo

docs/sources/k6/next/javascript-api/jslib/testing/configure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const configuredExpect = expect.configure(options)
4646
The `timeout` option controls how long retrying assertions will wait for a condition to become true:
4747

4848
```javascript
49-
import { expect } from 'https://jslib.k6.io/k6-testing/{{< param "JSLIB_AWS_VERSION" >}}/index.js';
49+
import { expect } from 'https://jslib.k6.io/k6-testing/{{< param "JSLIB_TESTING_VERSION" >}}/index.js';
5050

5151
// Create a configured expect instance with longer timeout for slow-loading elements
5252
const slowExpect = expect.configure({

docs/sources/k6/next/javascript-api/jslib/testing/expect.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ weight: 10
66

77
# expect()
88

9-
The `expect()` function is the main entry point for creating assertions in the k6 testing library. It provides a fluent API for both retrying and non-retrying assertions.
9+
The `expect()` function is the main entry point for creating assertions in the k6 testing library. It provides an intuitive API for both retrying and non-retrying assertions.
1010

1111
## Syntax
1212

0 commit comments

Comments
 (0)