Generated API snapshot
@askrjs/askr/testing
Exports from the declarations published in @askrjs/askr 0.0.59. Signatures are generated from the installed artifact.
@askrjs/askr/testing0.0.59
Exports
This entrypoint publishes 10 exports. Use the anchored symbol rows for direct links. Type-only exports are labeled separately from runtime values.
createInvalidationRecordertype
createInvalidationRecorder: () => InvalidationRecordergetRouteWarningstype
getRouteWarnings: (options?: MatchRouteOptions) => RoutePatternWarning[]InvalidationRecordtype
InvalidationRecord: anyInvalidationRecordertype
InvalidationRecorder: anymatchRoutetype
matchRoute: (path: string, options?: MatchRouteOptions) => RouteMatch | nullmockQuerytype
mockQuery: (<T extends {}>(data: T, options?: MockQueryOptions) => Query<T>) & { loading<T extends {} = {}>(options?: MockQueryOptions): Query<T>; error<T extends {} = {}>(error: {}, previousData?: T, options?: MockQueryOptions): Query<T>; refreshing<T extends {}>(data: T, options?: MockQueryOptions): Query<T>; stale<T extends {}>(data: T, reason?: StaleValueReason, options?: MockQueryOptions): Query<T>; pendingWrite<T extends {}>(data: T, options?: MockQueryOptions): Query<T>; }MockQueryOptionstype
MockQueryOptions: anyMockRefreshtype
MockRefresh: anyqueryStatetype
queryState: { fresh: typeof createFreshQuery; loading: <T extends {} = {}>(options?: MockQueryOptions) => Query<T>; error: <T extends {} = {}>(error: {}, previousData?: T, options?: MockQueryOptions) => Query<T>; refreshing: <T extends {}>(data: T, options?: MockQueryOptions) => Query<T>; stale: <T extends {}>(data: T, reason?: StaleValueReason, options?: MockQueryOptions) => Query<T>; pendingWrite: <T extends {}>(data: T, options?: MockQueryOptions) => Query<T>; }RoutePatternWarningtype
RoutePatternWarning: any