fix: support containerized release runtimes

This commit is contained in:
2026-08-04 14:45:47 +00:00
parent a044d97d77
commit 6e635a312f
17 changed files with 101 additions and 45 deletions
+11
View File
@@ -0,0 +1,11 @@
import { describe, expect, it } from 'vitest';
import { shouldRunTurnDaemon } from '../src/index.js';
describe('game-engine entrypoint', () => {
it('starts only for an explicitly selected turn-daemon role', () => {
expect(shouldRunTurnDaemon('turn-daemon')).toBe(true);
expect(shouldRunTurnDaemon('api')).toBe(false);
expect(shouldRunTurnDaemon(undefined)).toBe(false);
});
});