Skip to content

Commit

Permalink
Merge pull request #104 from ShellyDCMS/intercept-regex
Browse files Browse the repository at this point in the history
Intercept regex
  • Loading branch information
ShellyDCMS authored Jun 14, 2024
2 parents 0f7d89a + 7dc8ef6 commit e82ace3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@shellygo/cypress-test-utils",
"description": "Cypress Test Automation Utilities",
"version": "2.1.13",
"version": "2.1.14",
"author": "Shelly Goldblit",
"private": false,
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/cypress-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ export class CypressHelper {
* helper.given.intercept("/streets/sprite.png", "streetSprite");
* ```
*/
intercept: (url: string, alias: string, method?: string) =>
intercept: (url: StringMatcher, alias: string, method?: string) =>
this.given.interceptAndMockResponse({ url, alias, method }),

/**
Expand Down

0 comments on commit e82ace3

Please sign in to comment.