Skip to content

Commit

Permalink
removed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
axelbjo committed Jun 26, 2024
1 parent 38c9779 commit ad16b25
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions server/utils/noIndexMiddleware.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ describe('noIndexMiddleware', () => {
noIndexMiddleware(req, res, next)

expect(res.getHeader('X-Robots-Tag')).toBeUndefined()
// expect(next).toHaveBeenCalledOnce()
expect(next).toHaveBeenCalledTimes(1)
})

Expand All @@ -32,7 +31,6 @@ describe('noIndexMiddleware', () => {
noIndexMiddleware(req, res, next)

expect(res.getHeader('X-Robots-Tag')).toBeUndefined()
// expect(next).toHaveBeenCalledOnce()
expect(next).toHaveBeenCalledTimes(1)
})

Expand All @@ -47,7 +45,6 @@ describe('noIndexMiddleware', () => {
noIndexMiddleware(req, res, next)

expect(res.getHeader('X-Robots-Tag')).toBe('noindex')
// expect(next).toHaveBeenCalledOnce()
expect(next).toHaveBeenCalledTimes(1)
})
})

0 comments on commit ad16b25

Please sign in to comment.