diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7c55c61..a7572b8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -14,7 +14,7 @@ importers: devDependencies: '@hono/node-server': specifier: ^2.0.4 - version: 2.0.4(hono@4.12.25) + version: 2.0.10(hono@4.12.25) '@microsoft/api-extractor': specifier: ^7.58.9 version: 7.58.9(@types/node@24.13.2) @@ -248,8 +248,8 @@ packages: '@epic-web/invariant@1.0.0': resolution: {integrity: sha512-lrTPqgvfFQtR/eY/qkIzp98OGdNJu0m5ji3q/nJI8v3SXkRKEnWiOxMmbvcSoAIzv/cGiuvRy57k4suKQSAdwA==} - '@hono/node-server@2.0.4': - resolution: {integrity: sha512-Ut3y0dMMPWy6bZ2kVfx25EOVbZlm15dhF4mOsezMlhpNHy+4MkU1qN9Y6lnruYi4wPmFzimGX2X7LF/FwHli4A==} + '@hono/node-server@2.0.10': + resolution: {integrity: sha512-ZcnNVhKTmyDJeg0UlnZjvM73JBsTAuhrH/J4fjwGOw59PwOW51r4J+p6CsKZWXdKSme4MFqU62CZMOsdDrU4CA==} engines: {node: '>=20'} peerDependencies: hono: ^4 @@ -2091,7 +2091,7 @@ snapshots: '@epic-web/invariant@1.0.0': {} - '@hono/node-server@2.0.4(hono@4.12.25)': + '@hono/node-server@2.0.10(hono@4.12.25)': dependencies: hono: 4.12.25 diff --git a/tests/e2e/overlay.test.js b/tests/e2e/overlay.test.js index 6025478..073e066 100644 --- a/tests/e2e/overlay.test.js +++ b/tests/e2e/overlay.test.js @@ -81,8 +81,12 @@ const overlayFixturePath = path.resolve( ); const overlayFixtureCode = fs.readFileSync(overlayFixturePath); +// Chromium serializes `border: none` with different `border-image` values across versions and platforms. +const normalizeBorderImage = (value) => + value.replace(/border-image: (?:initial|none);/g, 'border-image: initial;'); + const formatHtml = (html, normalize) => - prettier.format(normalize(html), { + prettier.format(normalizeBorderImage(normalize(html)), { parser: 'html', plugins: [prettierHTML, prettierCSS], });