mirror of
https://github.com/maputnik/editor.git
synced 2026-07-09 23:47:25 +00:00
Fix build
This commit is contained in:
@@ -41,7 +41,8 @@ export function writeCoverage(coverage: unknown, id: string): void {
|
||||
}
|
||||
|
||||
/** Records a coverage snapshot (called before navigations, which reset __coverage__). */
|
||||
export function recordCoverageChunk(chunk: unknown): void {
|
||||
export async function recordCoverageChunk(page: Page): Promise<void> {
|
||||
const chunk = await readCoverage(page);
|
||||
if (chunk) coverageChunks.push(chunk);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user