Merge pull request #30855 from backstage/rugvip/depr

e2e-test: update deprecated usage
This commit is contained in:
Patrik Oldsberg
2025-08-11 10:34:29 +02:00
committed by GitHub
+2 -2
View File
@@ -61,7 +61,7 @@ export async function run(opts: OptionValues) {
print('Creating a Backstage Plugin');
const pluginId = 'test';
await createPlugin({ appDir, pluginId, select: 'plugin' });
await createPlugin({ appDir, pluginId, select: 'frontend-plugin' });
print('Creating a Backstage Backend Plugin');
await createPlugin({ appDir, pluginId, select: 'backend-plugin' });
@@ -379,7 +379,7 @@ async function createPlugin(options: {
}) {
const { appDir, pluginId, select } = options;
const child = spawnPiped(
['yarn', 'new', '--select', select, '--option', `id=${pluginId}`],
['yarn', 'new', '--select', select, '--option', `pluginId=${pluginId}`],
{
cwd: appDir,
},