@@ -60,7 +60,7 @@ const slowExpect = expect.configure({
60
60
The ` display ` and ` colorize ` options control how assertion failures are reported:
61
61
62
62
``` javascript
63
- import { expect } from ' https://jslib.k6.io/k6-testing/{{< param "JSLIB_AWS_VERSION " >}}/index.js' ;
63
+ import { expect } from ' https://jslib.k6.io/k6-testing/{{< param "JSLIB_TESTING_VERSION " >}}/index.js' ;
64
64
65
65
// Create expect instance with inline output and no colors
66
66
const inlineExpect = expect .configure ({
@@ -74,7 +74,7 @@ const inlineExpect = expect.configure({
74
74
The ` softMode ` option controls whether failed assertions stop test execution:
75
75
76
76
``` javascript
77
- import { expect } from ' https://jslib.k6.io/k6-testing/{{< param "JSLIB_AWS_VERSION " >}}/index.js' ;
77
+ import { expect } from ' https://jslib.k6.io/k6-testing/{{< param "JSLIB_TESTING_VERSION " >}}/index.js' ;
78
78
79
79
// The default behavior of soft assertions is mark the test as failed, the `softMode` option
80
80
// allows to configure soft assertions to throw an exception and fail the current iteration instead.
@@ -107,7 +107,7 @@ k6 run test.js
107
107
### Basic Configuration
108
108
109
109
``` javascript
110
- import { expect } from ' https://jslib.k6.io/k6-testing/{{< param "JSLIB_AWS_VERSION " >}}/index.js' ;
110
+ import { expect } from ' https://jslib.k6.io/k6-testing/{{< param "JSLIB_TESTING_VERSION " >}}/index.js' ;
111
111
112
112
// Create a configured expect instance
113
113
const myExpect = expect .configure ({
@@ -130,7 +130,7 @@ export default function () {
130
130
131
131
``` javascript
132
132
import { browser } from ' k6/experimental/browser' ;
133
- import { expect } from ' https://jslib.k6.io/k6-testing/{{< param "JSLIB_AWS_VERSION " >}}/index.js' ;
133
+ import { expect } from ' https://jslib.k6.io/k6-testing/{{< param "JSLIB_TESTING_VERSION " >}}/index.js' ;
134
134
135
135
// Create expect instance configured for browser testing with longer timeouts
136
136
const browserExpect = expect .configure ({
@@ -150,7 +150,7 @@ export default async function () {
150
150
### CI/CD Configuration
151
151
152
152
``` javascript
153
- import { expect } from ' https://jslib.k6.io/k6-testing/{{< param "JSLIB_AWS_VERSION " >}}/index.js' ;
153
+ import { expect } from ' https://jslib.k6.io/k6-testing/{{< param "JSLIB_TESTING_VERSION " >}}/index.js' ;
154
154
155
155
// Create expect instance configured for CI environment
156
156
const ciExpect = expect .configure ({
@@ -163,7 +163,7 @@ const ciExpect = expect.configure({
163
163
### Development vs Production
164
164
165
165
``` javascript
166
- import { expect } from ' https://jslib.k6.io/k6-testing/{{< param "JSLIB_AWS_VERSION " >}}/index.js' ;
166
+ import { expect } from ' https://jslib.k6.io/k6-testing/{{< param "JSLIB_TESTING_VERSION " >}}/index.js' ;
167
167
168
168
// Different configuration based on environment
169
169
const isDevelopment = __ENV .NODE_ENV === ' development' ;
@@ -179,7 +179,7 @@ const envExpect = expect.configure({
179
179
### Multiple Configured Instances
180
180
181
181
``` javascript
182
- import { expect } from ' https://jslib.k6.io/k6-testing/{{< param "JSLIB_AWS_VERSION " >}}/index.js' ;
182
+ import { expect } from ' https://jslib.k6.io/k6-testing/{{< param "JSLIB_TESTING_VERSION " >}}/index.js' ;
183
183
184
184
export default function () {
185
185
// Create specific expect instances for different scenarios
@@ -206,7 +206,7 @@ export default function () {
206
206
207
207
``` javascript
208
208
import http from ' k6/http' ;
209
- import { expect } from ' https://jslib.k6.io/k6-testing/{{< param "JSLIB_AWS_VERSION " >}}/index.js' ;
209
+ import { expect } from ' https://jslib.k6.io/k6-testing/{{< param "JSLIB_TESTING_VERSION " >}}/index.js' ;
210
210
211
211
// Create expect instance with soft assertions enabled
212
212
const softExpect = expect .configure ({
0 commit comments