k6-cucumber-steps 1.2.20 → 1.2.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "k6-cucumber-steps",
3
- "version": "1.2.20",
3
+ "version": "1.2.21",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -346,7 +346,10 @@ export async function When_I_set_method_body_for_endpoint(
346
346
  )}...`
347
347
  );
348
348
  }
349
-
349
+ When(
350
+ /^I set the following (\w+) body is used for "([^"]+)"$/,
351
+ When_I_set_method_body_for_endpoint
352
+ );
350
353
  /**
351
354
  * Loads a JSON payload from a file to be used as the request body for a specific
352
355
  * method and endpoint in the k6 script.