Skip to content

Commit

Permalink
test: removed a nock http mock because obsolete
Browse files Browse the repository at this point in the history
  • Loading branch information
brecke committed Apr 29, 2019
1 parent 99112b2 commit 1e9798f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions packages/oae-preview-processor/tests/test-longurl.js
Expand Up @@ -36,13 +36,6 @@ describe('Long url', () => {
// Ensure we can still perform regular HTTP requests during our tests
nock.enableNetConnect();

// The first request redirects to HTTPS
nock('http://youtu.be')
.head('/FYWLiGOBy1k')
.reply(301, 'OK', {
location: 'https://youtu.be/FYWLiGOBy1k'
});

// The second request redirects to the full page
nock('https://youtu.be')
.get('/FYWLiGOBy1k')
Expand Down

0 comments on commit 1e9798f

Please sign in to comment.