import { describe, it } from 'node:test'; import assert from 'node:assert/strict'; import { init } from '@llm-to-agent/core'; describe('@llm-to-agent/core', () => { it('init() 不抛异常', () => { assert.doesNotThrow(() => init()); }); it('core 通过 re-export 暴露 types', async () => { const mod = await import('@llm-to-agent/core'); assert.equal(typeof mod.init, 'function', '应导出 init 函数'); }); });