@lobehub/chat
Version:
Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.
14 lines (10 loc) • 329 B
text/typescript
// @vitest-environment node
import * as fs from 'node:fs';
import { join } from 'node:path';
import { MarkdownLoader } from '../index';
describe('MarkdownLoader', () => {
it('should run', async () => {
const content = fs.readFileSync(join(__dirname, `./demo.mdx`), 'utf-8');
await MarkdownLoader(content);
});
});