export interface Test { name(): string; test(ip: string): Promise; } export enum TestResult { PASS, FAIL, WARN, ERROR, } export const TestResultStrings = { [TestResult.PASS]: "PASS", [TestResult.FAIL]: "FAIL", [TestResult.WARN]: "WARN", [TestResult.ERROR]: "ERROR", };