fix(documentation): Improve documentation formatting and code consistency across project files
This commit is contained in:
@@ -51,7 +51,9 @@ tap.test('should detect SSH service on GitHub', async () => {
|
||||
});
|
||||
|
||||
tap.test('should detect HTTPS on non-standard port', async () => {
|
||||
const result = await testDetector.isActive('https://lossless.com:443', { detectServiceType: true });
|
||||
const result = await testDetector.isActive('https://lossless.com:443', {
|
||||
detectServiceType: true,
|
||||
});
|
||||
if (result.isActive) {
|
||||
expect(result.serviceType).toEqual(detector.ServiceType.HTTPS);
|
||||
}
|
||||
@@ -146,4 +148,4 @@ tap.test('should detect commonly used local development ports', async () => {
|
||||
}
|
||||
});
|
||||
|
||||
export default tap.start();
|
||||
export default tap.start();
|
||||
|
||||
Reference in New Issue
Block a user