Skip to content

Commit

Permalink
Added a test for custom TLS checker options
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt-ExpeData committed Sep 10, 2021
1 parent 8071c2f commit 29bfd22
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/components/tls-checker/index.test.ts
Expand Up @@ -69,5 +69,21 @@ describe('TLS Checker', () => {
// assert
expect(result).to.equal(null)
})

it('tests example.com with custom options', async () => {
// arrange
const domainDef = {
domain: 'example.com',
options: {
path: '/foo',
},
}

// act
const result = await checkTLS(domainDef)

// assert
expect(result).to.equal(null)
})
})
})

0 comments on commit 29bfd22

Please sign in to comment.