UNPKG

@specifai-net/appsync-template-tester

Version:

Unit test AppSync VTL resolvers, with popular frameworks such as Jest

10 lines (9 loc) 692 B
export declare function nowISO8601(): string; export declare function nowEpochSeconds(): number; export declare function nowEpochMilliSeconds(): number; export declare function nowFormatted(format: string, timezone?: string): string; export declare function parseFormattedToEpochMilliSecond(time: string, formatFrom: string, timezone?: string): number; export declare function parseISO8601ToEpochMilliSeconds(time: string): number; export declare function epochMilliSecondsToSeconds(time: number): number; export declare function epochMilliSecondsToISO8601(time: number): string; export declare function epochMilliSecondsToFormatted(time: number, format?: string, timezone?: string): string;