fix: support containerized release runtimes

This commit is contained in:
Hide_D committed 2026-08-04 14:45:47 +00:00
1 parent a044d97d77
commit 6e635a312f
17 files changed
+101 -45

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
import { describe, expect, it } from 'vitest';
import { shouldRunGateway } from '../src/index.js';
describe('gateway entrypoint', () => {
it('starts only for an explicitly selected Gateway role', () => {
expect(shouldRunGateway('api')).toBe(true);
expect(shouldRunGateway('orchestrator')).toBe(true);
expect(shouldRunGateway('profile-seed')).toBe(true);
expect(shouldRunGateway('server')).toBe(false);
expect(shouldRunGateway(undefined)).toBe(false);
});
});