refactor: apply review suggestion
Signed-off-by: Camila Belo <camilaibs@gmail.com>
This commit is contained in:
@@ -15,7 +15,13 @@
|
||||
*/
|
||||
|
||||
import { createBackend } from '@backstage/backend-defaults';
|
||||
import { mockServices } from '@backstage/backend-test-utils';
|
||||
|
||||
const backend = createBackend();
|
||||
backend.add(
|
||||
mockServices.rootConfig.factory({
|
||||
data: { app: { packageName: 'example-app' } },
|
||||
}),
|
||||
);
|
||||
backend.add(import('../src/alpha'));
|
||||
backend.start();
|
||||
|
||||
Reference in New Issue
Block a user