From c8d8cd028351608b1a524ce40c8285759269e2ac Mon Sep 17 00:00:00 2001 From: alvaromartmart Date: Mon, 24 Jun 2024 21:53:32 +0200 Subject: [PATCH] fix: outdated import in harTracer --- packages/playwright-core/src/server/har/harTracer.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/playwright-core/src/server/har/harTracer.ts b/packages/playwright-core/src/server/har/harTracer.ts index 289a4f6d87..3596559821 100644 --- a/packages/playwright-core/src/server/har/harTracer.ts +++ b/packages/playwright-core/src/server/har/harTracer.ts @@ -31,7 +31,7 @@ import { getPlaywrightVersion } from '../../utils/userAgent'; import { urlMatches } from '../../utils/network'; import { Frame } from '../frames'; import type { HeadersArray, LifecycleEvent } from '../types'; -import { isTextualMimeType } from '../../utils/mimeType'; +import { isTextualMimeType } from '../../utils/isomorphic/mimeType'; const FALLBACK_HTTP_VERSION = 'HTTP/1.1'; @@ -680,4 +680,4 @@ function safeDateToISOString(value: string | number) { } } -const startedDateSymbol = Symbol('startedDate'); \ No newline at end of file +const startedDateSymbol = Symbol('startedDate');