Skip to content

Commit 0a60166

Browse files
committed
Change example in types
1 parent ee7c796 commit 0a60166

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mavrou/cy-graphql",
3-
"version": "0.0.3",
3+
"version": "0.0.4",
44
"description": "Cypress custom commands for GraphQL testing",
55
"main": "dist/index.js",
66
"types": "dist/types.d.ts",

src/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ declare namespace Cypress {
3939
* Use `cy.interceptGql()` to stub and intercept GraphQL requests and responses.
4040
*
4141
* @example
42-
* cy.interceptGql('gqlGetProject');
43-
* cy.wait('@gqlGetProject);
42+
* cy.interceptGql('HelloWorld');
43+
* cy.wait('@HelloWorld);
4444
*/
4545
interceptGql(operationName:string): Chainable<null>
4646
}

0 commit comments

Comments
 (0)