@cypress/skip-test
Advanced tools
Comparing version 1.2.1 to 2.0.0
@@ -138,6 +138,2 @@ /// <reference path="./index.d.ts" /> | ||
Cypress.Commands.add('skipOn', skipOn) | ||
Cypress.Commands.add('onlyOn', onlyOn) | ||
module.exports = { | ||
@@ -144,0 +140,0 @@ skipOn, |
{ | ||
"name": "@cypress/skip-test", | ||
"version": "1.2.1", | ||
"version": "2.0.0", | ||
"description": "Simple commands to skip a test based on platform, browser or an url", | ||
@@ -32,4 +32,5 @@ "main": "index.js", | ||
"index.js", | ||
"index.d.ts" | ||
"index.d.ts", | ||
"support.js" | ||
] | ||
} |
@@ -22,6 +22,6 @@ # @cypress/skip-test [![renovate-app badge][renovate-badge]][renovate-app] [![semantic-release][semantic-image] ][semantic-url] [![CircleCI](https://circleci.com/gh/cypress-io/cypress-skip-test/tree/master.svg?style=svg)](https://circleci.com/gh/cypress-io/cypress-skip-test/tree/master) | ||
You can use this module as custom Cypress commands `cy.skipOn` and `cy.onlyOn` or by importing its functions. To use custom commands, add this module to your support file `cypress/support/index.js` | ||
You can use this module as custom Cypress commands `cy.skipOn` and `cy.onlyOn` or by importing its functions. To use custom commands like `cy.skipOn`, add this module to your support file `cypress/support/index.js` | ||
```js | ||
require('@cypress/skip-test') | ||
require('@cypress/skip-test/support') | ||
``` | ||
@@ -28,0 +28,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9685
6
144