Skip to content

Commit

Permalink
test: use teeny-request as replacement default
Browse files Browse the repository at this point in the history
  • Loading branch information
d-goog committed Oct 11, 2023
1 parent bbe38c1 commit 47d5f59
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,15 @@ const async = require('async');
const range = require('lodash.range');
const {describe, it, beforeEach} = require('mocha');
const {PassThrough} = require('stream');
const {teenyRequest} = require('teeny-request');

const retryRequest = require('./index.js');

retryRequest.defaults.request = teenyRequest.defaults();

describe('retry-request', () => {
const URI_404 = 'http://yahoo.com/theblahstore';
const URI_200 = 'http://yahoo.com/';
const URI_404 = 'http://google.com/theblahstore';
const URI_200 = 'http://google.com/';
const URI_NON_EXISTENT = 'http://theblahstore';

describe('streams', () => {
Expand Down

0 comments on commit 47d5f59

Please sign in to comment.