10 lines
426 B
JavaScript
10 lines
426 B
JavaScript
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/);
|
|
});
|