UNPKG

rdf-test-suite

Version:
10 lines (9 loc) 400 B
import { Resource } from "rdf-object"; import { IFetchOptions } from "../Util"; import { ITestCase, ITestCaseData } from "./ITestCase"; /** * An ITestCaseHandler interprets a test case resource and constructs test cases. */ export interface ITestCaseHandler<T extends ITestCase<any>> { resourceToTestCase(resource: Resource, testCaseData: ITestCaseData, options?: IFetchOptions): Promise<T>; }