UNPKG

@hn3000/json-ref

Version:

simple resolver for json reference and json pointer

30 lines (29 loc) 1.31 kB
import { TestClass } from "@hn3000/tsunit-async"; export declare class JsonReferenceTest extends TestClass { testFileReferenceGet(): void; testFileReferenceGetCopy(): void; testGetFilenameFromFullRef(): void; testGetFilenameFromPtrOnlyRef(): void; testGetFilenameFromNullRef(): void; testGetFilenameFromFilenameOnlyRef(): void; testSimpleReference(): void; testPointerReference(): void; testFileReference(): void; testResolveRefs(): Promise<any>; testResolveIndirectRefs(): Promise<void>; testResolveInvalidRefs(): Promise<void>; testResolveNofileRefs(): Promise<void>; testResolveIndirectIntermediateRefs(): Promise<void>; testExpandDynamicLiteralObj(): void; testExpandDynamicLiteralObjWithBasePointer(): void; testExpandRefsInLiteralObj(): void; testResolveCycle(): void; testNormalizePathUnchangedForDotlessPath(): void; testNormalizePathHasSingleDotsRemovedPath(): void; testNormalizePathHasDoubleDotSegmentsRemovedPath(): void; testNormalizePathHasSingleAndDoubleDotSegmentsRemovedPath(): void; testJsonParseUnderstandsCommentedJson(): void; testJsonParseUnderstandsCommentedJsonWithRegexInIt(): void; testJsonParseFailsWithIncompatiblyCommentedJson(): void; areIdenticalObjects(a: any, b: any): void; }