Skip to content

Commit

Permalink
style: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Feb 17, 2024
1 parent 0b6ab12 commit e1d2410
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tests/got/test_nock_lifecycle.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,12 @@ describe('Nock lifecycle functions', () => {

it("activeMocks doesn't return duplicate mocks", () => {
nock('http://example.test')
.get('/').reply()
.get('/second').reply()
.get('/third').reply()
.get('/')
.reply()
.get('/second')
.reply()
.get('/third')
.reply()

expect(nock.activeMocks()).to.deep.equal([
'GET http://example.test:80/',
Expand Down

0 comments on commit e1d2410

Please sign in to comment.