Mobile: Resolves #10360: Make most plugins default to being desktop-only (#10376)

This commit is contained in:
Henry Heino
2024-04-27 11:43:25 +01:00
committed by GitHub
parent 034e568d26
commit 03617eb8a7
8 changed files with 64 additions and 9 deletions
@@ -283,10 +283,11 @@ describe('services_PluginService', () => {
shouldRun: true,
},
{
// Should default to desktop-only
manifestPlatforms: [],
isDesktop: false,
appVersion: '3.0.8',
shouldRun: true,
shouldRun: false,
},
])('should enable and disable plugins depending on what platform(s) they support (case %#: %j)', async ({ manifestPlatforms, isDesktop, appVersion, shouldRun }) => {
const pluginScript = `