diff options
Diffstat (limited to 'lib/modules/datasource/orb/index.spec.ts')
-rw-r--r-- | lib/modules/datasource/orb/index.spec.ts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/modules/datasource/orb/index.spec.ts b/lib/modules/datasource/orb/index.spec.ts index e2dd13dd7b8..1cb1e8519d4 100644 --- a/lib/modules/datasource/orb/index.spec.ts +++ b/lib/modules/datasource/orb/index.spec.ts @@ -92,5 +92,18 @@ describe('modules/datasource/orb/index', () => { expect(res).toMatchSnapshot(); expect(res?.homepage).toBe('https://google.com'); }); + + it('supports other registries', async () => { + httpMock + .scope('https://cci.internal.dev') + .post('/graphql-unstable') + .reply(200, orbData); + const res = await getPkgReleases({ + datasource, + packageName: 'hyper-expanse/library-release-workflows', + registryUrls: ['https://cci.internal.dev'], + }); + expect(res?.registryUrl).toBe('https://cci.internal.dev'); + }); }); }); |