Files
memind/release-gate/runtime-worker-entrypoint.test.mjs
T

10 lines
426 B
JavaScript
Raw Normal View History

2026-07-26 14:32:01 +08:00
import assert from 'node:assert/strict';
import fs from 'node:fs';
import test from 'node:test';
test('DeepSeek proxy main guard is explicit so bundled worker cannot bind 18036', () => {
const source = fs.readFileSync(new URL('../deepseek-no-think-proxy.mjs', import.meta.url), 'utf8');
assert.match(source, /MEMIND_DEEPSEEK_PROXY_ENTRYPOINT === '1'/);
assert.match(source, /startDeepseekNoThinkProxy\(\)\.catch/);
});