Skip to content

Commit

Permalink
Add Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
birkestroem committed Nov 12, 2020
1 parent e622e23 commit 37dc0c7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
language: node_js
node_js:
- 12
- 14
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
## Basic usage example

```js
const bfFetchFactory = require('node-fetch-backoff');
const fetch = bfFetchFactory({
const fbFactory = require('node-fetch-backoff');
const fetch = fbFactory({
// Msec or function. Default is exponential delay using msec from this option.
delay: 10 * 1000,

Expand Down

0 comments on commit 37dc0c7

Please sign in to comment.