e2e-test: update deprecated usage
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user