Skip to content

Commit 655df5a

Browse files
neethu-pjervi
andauthored
Update lambdas/functions/control-plane/src/scale-runners/scale-down.test.ts
Co-authored-by: Jørgen Jervidalo <[email protected]>
1 parent 952508f commit 655df5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lambdas/functions/control-plane/src/scale-runners/scale-down.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ describe('Scale down runners', () => {
163163

164164
describe.each(endpoints)('for %s', (endpoint) => {
165165
beforeEach(() => {
166-
if (endpoint.includes('enterprise') || endpoint.includes('ghe.com')) {
166+
if (endpoint.includes('enterprise') || endpoint.endsWith('.ghe.com')) {
167167
process.env.GHES_URL = endpoint;
168168
}
169169
});

0 commit comments

Comments
 (0)