feat(aio): add support for HTTPS (certificates provided by host - fallback to self-signed)

This commit is contained in:
Georgios Kalpakas
2017-02-27 12:11:55 +02:00
committed by Chuck Jazdzewski
parent 6b8413f7b3
commit c8d87a936b
5 changed files with 38 additions and 16 deletions

View File

@ -110,14 +110,7 @@ class Helper {
}
public runForAllSupportedSchemes(suiteFactory: TestSuiteFactory) {
Object.keys(this.portPerScheme).forEach(scheme => {
// TODO (gkalpak): Enable HTTPS tests
if (scheme === 'https') {
return it('should have tests');
}
suiteFactory(scheme, this.portPerScheme[scheme]);
});
Object.keys(this.portPerScheme).forEach(scheme => suiteFactory(scheme, this.portPerScheme[scheme]));
}
public verifyResponse(status: number | [number, string], regex = /^/): VerifyCmdResultFn {