e2e-test: update deprecated usage

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2025-08-11 10:18:46 +02:00
parent 453e1537ef
commit a9e2ff7792
+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,
},