diff --git a/dsh-plugin-desktop/scripts/verify-profile-boot.mjs b/dsh-plugin-desktop/scripts/verify-profile-boot.mjs index 99ebe9794b..db4a48805d 100644 --- a/dsh-plugin-desktop/scripts/verify-profile-boot.mjs +++ b/dsh-plugin-desktop/scripts/verify-profile-boot.mjs @@ -185,7 +185,11 @@ try { || hostServiceProbe.pnpm?.serviceName !== 'desktopPnpm' || hostServiceProbe.pnpm.lookupRun !== 'function' || hostServiceProbe.pnpm.run !== 'function' - || hostServiceProbe.pnpm.runPlugin !== 'function') { + || hostServiceProbe.pnpm.runPlugin !== 'function' + || hostServiceProbe.pnpm.installPlugin !== 'function' + || hostServiceProbe.pnpm.recoveredInstallReceiptIds !== 'function' + || hostServiceProbe.pnpm.acknowledgeRecoveredInstall !== 'function' + || hostServiceProbe.pnpm.rollbackPluginInstall !== 'function') { throw new Error( `profile-local Host service plugin produced an unexpected probe: ${JSON.stringify(hostServiceProbe)}`, ) diff --git a/dsh-plugin-desktop/tests/fixtures/desktop-host-services-smoke-plugin/index.js b/dsh-plugin-desktop/tests/fixtures/desktop-host-services-smoke-plugin/index.js index cda1daf5dd..0844d284f9 100644 --- a/dsh-plugin-desktop/tests/fixtures/desktop-host-services-smoke-plugin/index.js +++ b/dsh-plugin-desktop/tests/fixtures/desktop-host-services-smoke-plugin/index.js @@ -16,6 +16,10 @@ export function apply(ctx) { lookupRun: typeof ctx.get('desktopPnpm')?.run, run: typeof pnpm.run, runPlugin: typeof pnpm.runPlugin, + installPlugin: typeof pnpm.installPlugin, + recoveredInstallReceiptIds: typeof pnpm.recoveredInstallReceiptIds, + acknowledgeRecoveredInstall: typeof pnpm.acknowledgeRecoveredInstall, + rollbackPluginInstall: typeof pnpm.rollbackPluginInstall, }), })) }