Skip to content

Commit

Permalink
test: rm extra tests run
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Apr 22, 2024
1 parent 51aea7f commit 004ea8a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ install:
script:
# verify readme has been generated
- npm run readme
# show diff for debugging
- git diff
- test -z "$(git diff)"

- npm test
# run tests with coverage
- npm run cover

after_success:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"posttest": "npm run lint -s",
"lint": "eslint . --cache",
"cover": "nyc npm test -s",
"readme": "jsdoc2md --template readme.hbs index.js | sed 's/[\\t ]\\+$//g;s/**\\(Returns\\|Throws\\|Params\\|Properties\\)/<br>**\\1/g' > readme.md"
"readme": "jsdoc2md --template readme.hbs index.js | sed 's/[\\t ]\\+$//g;s/**\\(Returns\\|Throws\\|Params\\|Properties\\)/ **\\1/g' > readme.md"
},
"devDependencies": {
"ava": "^4.2.0",
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ basis.
| [options.timeout] | <code>Number</code> | <code>300</code> | Amount of time (ms) to wait between retries |
| [options.factor] | <code>Number</code> | <code>2</code> | The exponential factor to scale the timeout by every retry iteration. For example: with a factor of 2 and a timeout of 100 ms, the first retry will fire after 100 ms, the second after 200 ms, the third after 400 ms, etc.... The formula used to calculate the delay between each retry: ```timeout * Math.pow(factor, attempts)``` |
| [options.shouldRetry] | <code>function</code> | <code>() &#x3D;&gt; true</code> | Invoked with the thrown error, retryify will retry if this method returns true. |
| [options.log] | <code>function</code> | | Logging function that takes a message as |
| [options.log] | <code>function</code> | | Logging function that takes a message as input |


[npm-url]: https://www.npmjs.com/package/retryify
Expand Down

0 comments on commit 004ea8a

Please sign in to comment.