mirror of
https://github.com/garrytan/gstack.git
synced 2026-10-03 18:06:54 +02:00
test: follow the headed env helper and the typecheck gate in source-shape checks
This commit is contained in:
1 parent
42e53413da
commit
99058ee3cd
4 files changed
+8
-11
No files matched your search
@@ -181,7 +181,7 @@ describe('runHeadedSupervisor (behavior)', () => {
|
||||
|
||||
describe('buildHeadedServerEnv', () => {
|
||||
test('omits proxy and config hash when this invocation has none', () => {
|
||||
expect(buildHeadedServerEnv({})).toEqual({ BROWSE_HEADED: '1', BROWSE_PORT: '34567', BROWSE_PARENT_PID: '0' });
|
||||
expect(buildHeadedServerEnv({ proxyUrl: null, configHash: '' })).toEqual({ BROWSE_HEADED: '1', BROWSE_PORT: '34567', BROWSE_PARENT_PID: '0' });
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user