add project to tests expects

Signed-off-by: Marc Bruins <marc@marcbruins.nl>
This commit is contained in:
Marc Bruins
2022-11-25 06:44:47 +01:00
parent 68787714bf
commit 73beead748
@@ -33,7 +33,7 @@ describe('azure', () => {
(req, res, ctx) => {
expect(req.headers.get('Authorization')).toBe('Basic OkFCQw==');
expect(req.body).toEqual({
searchText: 'path:/catalog-info.yaml repo:*',
searchText: 'path:/catalog-info.yaml repo:* proj:*',
$skip: 0,
$top: 1000,
});
@@ -87,7 +87,7 @@ describe('azure', () => {
(req, res, ctx) => {
expect(req.headers.get('Authorization')).toBe('Basic OkFCQw==');
expect(req.body).toEqual({
searchText: 'path:/catalog-info.yaml repo:*',
searchText: 'path:/catalog-info.yaml repo:* proj:*',
$skip: 0,
$top: 1000,
});
@@ -127,7 +127,7 @@ describe('azure', () => {
(req, res, ctx) => {
expect(req.headers.get('Authorization')).toBe('Basic OkFCQw==');
expect(req.body).toEqual({
searchText: 'path:/catalog-info.yaml repo:backstage',
searchText: 'path:/catalog-info.yaml repo:backstage: proj:*',
$skip: 0,
$top: 1000,
});
@@ -170,7 +170,7 @@ describe('azure', () => {
(req, res, ctx) => {
expect(req.headers.get('Authorization')).toBe('Basic OkFCQw==');
expect(req.body).toEqual({
searchText: 'path:/catalog-info.yaml repo:*',
searchText: 'path:/catalog-info.yaml repo:* proj:*',
$skip: 0,
$top: 1000,
});