untilConsoleLogAfter() — vite Function Reference
Architecture documentation for the untilConsoleLogAfter() function in hmr-ssr.spec.ts from the vite codebase.
Entity Profile
Dependency Diagram
graph TD 4683aae9_ed38_13f7_9722_9bb9c593adfb["untilConsoleLogAfter()"] 2f2e510b_d491_14bf_c7ee_0c390a8b3218["hmr-ssr.spec.ts"] 4683aae9_ed38_13f7_9722_9bb9c593adfb -->|defined in| 2f2e510b_d491_14bf_c7ee_0c390a8b3218 d934b93a_55ae_d127_f94e_413ed5ae3fc9["untilConsoleLog()"] 4683aae9_ed38_13f7_9722_9bb9c593adfb -->|calls| d934b93a_55ae_d127_f94e_413ed5ae3fc9 style 4683aae9_ed38_13f7_9722_9bb9c593adfb fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
playground/hmr-ssr/__tests__/hmr-ssr.spec.ts lines 978–994
export async function untilConsoleLogAfter(
operation: () => any,
target: string | RegExp | Array<string | RegExp>,
arg3?: boolean | UntilBrowserLogAfterCallback,
arg4?: UntilBrowserLogAfterCallback,
): Promise<string[]> {
const expectOrder = typeof arg3 === 'boolean' ? arg3 : false
const callback = typeof arg3 === 'boolean' ? arg4 : arg3
const promise = untilConsoleLog(target, expectOrder)
await operation()
const logs = await promise
if (callback) {
await callback(logs)
}
return logs
}
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does untilConsoleLogAfter() do?
untilConsoleLogAfter() is a function in the vite codebase, defined in playground/hmr-ssr/__tests__/hmr-ssr.spec.ts.
Where is untilConsoleLogAfter() defined?
untilConsoleLogAfter() is defined in playground/hmr-ssr/__tests__/hmr-ssr.spec.ts at line 978.
What does untilConsoleLogAfter() call?
untilConsoleLogAfter() calls 1 function(s): untilConsoleLog.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free