add project schema to tests

Signed-off-by: Marc Bruins <marc@marcbruins.nl>
This commit is contained in:
Marc Bruins
2023-01-19 14:12:42 +01:00
parent 3825687f5a
commit 51bc158294
2 changed files with 15 additions and 0 deletions
@@ -114,6 +114,9 @@ describe('azure', () => {
{
fileName: 'catalog-info.yaml',
path: '/catalog-info.yaml',
project: {
name: '*',
},
repository: {
name: 'backstage',
},
@@ -135,6 +135,9 @@ describe('AzureDevOpsDiscoveryProcessor', () => {
{
fileName: 'catalog-info.yaml',
path: '/catalog-info.yaml',
project: {
name: '*',
},
repository: {
name: 'backstage',
},
@@ -142,6 +145,9 @@ describe('AzureDevOpsDiscoveryProcessor', () => {
{
fileName: 'catalog-info.yaml',
path: '/src/catalog-info.yaml',
project: {
name: '*',
},
repository: {
name: 'ios-app',
},
@@ -191,6 +197,9 @@ describe('AzureDevOpsDiscoveryProcessor', () => {
repository: {
name: 'backstage',
},
project: {
name: '*',
},
},
]);
const emitter = jest.fn();
@@ -229,6 +238,9 @@ describe('AzureDevOpsDiscoveryProcessor', () => {
repository: {
name: 'backstage',
},
project: {
name: '*',
},
},
]);
const emitter = jest.fn();