import * as _just_web_log_testing0 from "@just-web/log/testing"; import { LogTestGizmo, LogTestGizmoOptions } from "@just-web/log/testing"; import * as type_plus0 from "type-plus"; import * as _unional_gizmo0 from "@unional/gizmo"; import { IdGizmo, IdGizmoOptions } from "@just-web/id"; export * from "@just-web/id/testing"; export * from "@just-web/log/testing"; export * from "@unional/gizmo/testing"; //#region src/just_app.testing.d.ts type JustAppTestOptions = Partial & { log?: LogTestGizmoOptions | undefined; }; /** * Create a test jest-app. * * It contains a log gizmo with memory reporter by default. * * ```ts * const app = await justTestApp().create() * app.log.info('hello') * app.log.reporter.... // to inspect the logs * ``` */ declare function justTestApp(options?: JustAppTestOptions): _unional_gizmo0.GizmoIncubator<{ id: string; name: string; } & { log: type_plus0.Pick._<_just_web_log_testing0.StandardLog<_just_web_log_testing0.LogMethodNames>, "logLevel" | "toLogLevelName" | "toLogLevel" | "getNonConsoleLogger"> & type_plus0.Pick._<_just_web_log_testing0.Logger<_just_web_log_testing0.LogMethodNames>, "emergency" | "alert" | "critical" | "error" | "warn" | "notice" | "info" | "debug" | "trace" | "planck" | "count" | "on"> & { getLogger(id?: string, options?: _just_web_log_testing0.LoggerOptions): _just_web_log_testing0.Logger<_just_web_log_testing0.LogMethodNames>; } & { reporter: _just_web_log_testing0.MemoryLogReporter; }; }>; type JustTestApp = IdGizmo & LogTestGizmo; //#endregion export { JustAppTestOptions, JustTestApp, justTestApp }; //# sourceMappingURL=index.d.cts.map