cypress-dragndrop-kit 1.0.8 → 1.0.9

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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -74,10 +74,10 @@ it('should be able to drag and drop an item by using "dragAndDrop()"', () => {
74
74
 
75
75
  // Usage of "dragTo(target, { pressDelay })"
76
76
  it('should be able to drag and drop an item after a 2 second delay by using "dragTo()"', () => {
77
- cy.get('[data-id="47"]').dragTo('[data-id="3"]', { pressDelay: 2000 });
77
+ cy.get('[data-id="47"]').dragTo('[data-id="3"]', { pressDelay: 2000 });
78
78
 
79
- cy.get('[data-id="47"]').should('have.attr', 'data-index', 3);
80
- cy.get('[data-id="3"]').should('have.attr', 'data-index', 4);
79
+ cy.get('[data-id="47"]').should('have.attr', 'data-index', 3);
80
+ cy.get('[data-id="3"]').should('have.attr', 'data-index', 4);
81
81
  })
82
82
  ```
83
83
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cypress-dragndrop-kit",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "Custom command meant for interacting with draggable elements in the UI",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/types.d.ts",