add project schema to tests
Signed-off-by: Marc Bruins <marc@marcbruins.nl>
This commit is contained in:
@@ -114,6 +114,9 @@ describe('azure', () => {
|
||||
{
|
||||
fileName: 'catalog-info.yaml',
|
||||
path: '/catalog-info.yaml',
|
||||
project: {
|
||||
name: '*',
|
||||
},
|
||||
repository: {
|
||||
name: 'backstage',
|
||||
},
|
||||
|
||||
+12
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user