refactor: apply review suggestion

Signed-off-by: Camila Belo <camilaibs@gmail.com>
This commit is contained in:
Camila Belo
2024-05-17 15:01:07 +02:00
parent 8472011064
commit 2418224eb2
7 changed files with 53 additions and 31 deletions
+6
View File
@@ -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();