Skip to content

Commit

Permalink
nock#1836 fixes expected Node behaviour for http.get
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethaasan committed Feb 5, 2020
1 parent dbb0b55 commit 3312669
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_common.js
Expand Up @@ -513,7 +513,7 @@ test('testing timers are deleted correctly', t => {
})
})

test('correct node behavior', t => {
test('test correct node behavior by making sure that http.request is not called when using http.get', t => {
const scope = nock('http://example.test')
.get('/')
.reply()
Expand Down

0 comments on commit 3312669

Please sign in to comment.