wa-chat-server
Version:
Watson Assistant powered chat server
28 lines (27 loc) • 777 B
TypeScript
export declare class SchemaValidatorTest {
private validator;
private schemaDir;
private config;
private logger;
constructor();
/**
* An exception is thrown if an obligatory schema is missing
*/
private missingSchemasTest;
/**
* An exception is thrown if there is some schema on the filesystem that is
* not used by any service
*/
private extraSchemasTest;
/**
* An exception is thrown if some of the converation service related schema
* files contains an invalid JSON
*/
private invalidJsonTest;
/**
* An exception is thrown if some of the converation service related schema
* files is not a valid JSON schema
*/
private invalidSchemaTest;
test(): Promise<void>;
}