Skip to content

Commit

Permalink
add missing deps
Browse files Browse the repository at this point in the history
  • Loading branch information
ShellyDCMS committed Sep 27, 2024
1 parent 3a65727 commit 43b1b8d
Show file tree
Hide file tree
Showing 3 changed files with 276 additions and 260 deletions.
3 changes: 2 additions & 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.43",
"version": "2.1.44",
"author": "Shelly Goldblit",
"private": false,
"license": "MIT",
Expand Down Expand Up @@ -48,6 +48,7 @@
"cypress-wait-until": "^3.0.2",
"lit": "^2.7.4",
"react": "^18.2.0",
"react-dom": "^18.3.1",
"react-html-parser": "^2.0.2",
"react-router-dom": "^6.21.3",
"ts-stubber": "^1.0.17"
Expand Down
4 changes: 2 additions & 2 deletions src/assertable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,8 @@ export class Assertable<T> {
* then(get.elementByTestId("selector")).shouldNotHaveAttribute("test")
* ```
*/
public shouldNotHaveAttribute = (attribute: string, expectedValue: string) =>
this.chainable.should("not.have.attr", attribute, expectedValue);
public shouldNotHaveAttribute = (attribute: string) =>
this.chainable.should("not.have.attr", attribute);
/**
* Assert that the first element of the selection has the given attribute, using `.prop()`.
* Optionally, assert a particular value as well. The return value is available for chaining.
Expand Down
Loading

0 comments on commit 43b1b8d

Please sign in to comment.