UNPKG

@ply-ct/ply

Version:

REST API Automated Testing

22 lines (21 loc) 688 B
import * as ts from 'typescript'; import { PlyOptions } from './options'; import { TsCompileOptions } from './compile'; import { Suite } from './suite'; import { Case } from './case'; import { Log } from './log'; export declare class CaseLoader { private options; private compileOptions; private logger?; private program; private checker; private skip; constructor(sourceFiles: string[], options: PlyOptions, compileOptions: TsCompileOptions, logger?: Log | undefined); load(): Promise<Suite<Case>[]>; private findSuites; private findSuiteDecoration; private findCases; private findCaseDecoration; isExported(node: ts.Node): boolean; }