/
nayvok
/
livecoding
Обзор
Документация
Войти
/
nayvok
/
livecoding
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
main
runner/tests/executionIdentity.test.ts
17 строк
494 B
nayvok
fix: harden sessions and WebRTC recovery
17 июн 2026, 22:02
17 июн 2026, 22:02
37b9a92
Код
Авторство
О чём код?
import assert from 'node:assert/strict' import { test } from 'node:test' import { getExecutionIdentity } from '../src/executors/child.ts' test('execution identity uses a separate uid and gid when configured', () => { assert.deepEqual( getExecutionIdentity({ EXECUTION_UID: '65534', EXECUTION_GID: '65534', }), { uid: 65534, gid: 65534 }, ) }) test('execution identity stays unset for local development', () => { assert.deepEqual(getExecutionIdentity({}), {}) })