結果、モックサーバーに対象の gRPC メソッドが追加されておらず、そもそも SSR に失敗 していることが判明 const penthouse = require("penthouse"); const criticalCss = await penthouse({ url: `http://0.0.0.0:3000${path}`, forceInclude: isMobile ? mobileForceIncludeSelectors : desktopForceIncludeSelectors, screenshots: { basePath: `./_screenshots/${name}-${platform}`, type: "jpeg", }, });