Skip to content

Commit

Permalink
tests(securityheaders): increase timeout (#7628)
Browse files Browse the repository at this point in the history
  • Loading branch information
calebcartwright authored Feb 19, 2022
1 parent 59b4218 commit d3638b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions services/security-headers/security-headers.tester.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ import { createServiceTester } from '../tester.js'
export const t = await createServiceTester()

t.create('grade of https://shields.io')
.timeout(15000)
.get('/security-headers.json?url=https://shields.io')
.expectBadge({ label: 'security headers', message: 'F', color: 'red' })

t.create('grade of https://httpstat.us/301 as redirect')
.timeout(15000)
.get('/security-headers.json?ignoreRedirects&url=https://httpstat.us/301')
.expectBadge({ label: 'security headers', message: 'R', color: 'blue' })

0 comments on commit d3638b1

Please sign in to comment.