@@ -33,7 +33,7 @@ async function respondWith(mockKey: string, statusCode: string, body: string): P
3333 * @param {string } statusCode - status code
3434 * @param {string } body - response body
3535 * @example
36- * When I create mock for '/yourservice/**' with filter options as 'myServiceMock'
36+ * When I create mock for '/yourservice/**' as 'myServiceMock'
3737 * And I set '$myServiceMock' mock to respond '200' with:
3838 * """
3939 * {
@@ -49,7 +49,7 @@ When('I set {string} mock to respond {string} with:', respondWith);
4949 * @param {string } statusCode - status code
5050 * @param {string } body - response body
5151 * @example
52- * When I create mock for '/yourservice/**' with filter options as 'myServiceMock'
52+ * When I create mock for '/yourservice/**' as 'myServiceMock'
5353 * And I set '$myServiceMock' mock to respond '200' with '$response'
5454 */
5555When ( 'I set {string} mock to respond {string} with {string}' , respondWith ) ;
@@ -59,7 +59,7 @@ When('I set {string} mock to respond {string} with {string}', respondWith);
5959 * @param {string } mockKey - memory key to get mock instance
6060 * @param {string } reason - reason string see https://playwright.dev/docs/api/class-route#route-abort
6161 * @example
62- * When I create mock for '/yourservice/**' with filter options as 'myServiceMock'
62+ * When I create mock for '/yourservice/**' as 'myServiceMock'
6363 * And I set '$myServiceMock' mock to abort with 'Failed' reason
6464 */
6565When ( 'I set {string} mock to abort with {string} reason' , async function ( mockKey : string , reason : string ) {
0 commit comments