fix(ci): restore extension test runtime deps and update voice-call expectations

This commit is contained in:
Ayaan Zaidi
2026-03-28 15:04:33 +05:30
parent 40a09cc582
commit 20aba8c518
4 changed files with 20 additions and 9 deletions

View File

@@ -9,6 +9,7 @@
},
"dependencies": {
"@pierre/diffs": "1.1.5",
"@pierre/theme": "0.0.22",
"@sinclair/typebox": "0.34.48",
"playwright-core": "1.58.2"
},

View File

@@ -4,7 +4,7 @@ import type { ThemeRegistrationResolved } from "@pierre/diffs";
import { RegisteredCustomThemes, ResolvedThemes, ResolvingThemes } from "@pierre/diffs";
type PierreThemeName = "pierre-dark" | "pierre-light";
const diffsRequire = createRequire(import.meta.resolve("@pierre/diffs"));
const themeRequire = createRequire(import.meta.url);
const PIERRE_THEME_SPECS = [
["pierre-dark", "@pierre/theme/themes/pierre-dark.json"],
["pierre-light", "@pierre/theme/themes/pierre-light.json"],
@@ -19,7 +19,7 @@ function createThemeLoader(
if (cachedTheme) {
return cachedTheme;
}
const themePath = diffsRequire.resolve(themeSpecifier);
const themePath = themeRequire.resolve(themeSpecifier);
cachedTheme = {
...(JSON.parse(await fs.readFile(themePath, "utf8")) as Record<string, unknown>),
name: themeName,