cypress-run
Advanced tools
Comparing version 1.0.0 to 1.0.1
/// <reference types="Cypress" /> | ||
describe('Retries', () => { | ||
it('should retry test on the third try', () => { | ||
const num = Math.round(Math.random() * 10) | ||
it('should pass test on the third try', () => { | ||
expect(Cypress.env().numRuns).to.be.equal(3) | ||
}) | ||
}) |
@@ -1,2 +0,2 @@ | ||
#! node | ||
#!/usr/bin/env node | ||
@@ -3,0 +3,0 @@ const program = require('commander') |
{ | ||
"name": "cypress-run", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Cypress run replacement that supports parallel execution and retries", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"cypress:run": "cypress-run" | ||
}, | ||
@@ -9,0 +9,0 @@ "repository": { |
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
45456
27
0
1281