UNPKG

@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.

17 lines (12 loc) 403 B
// @vitest-environment node import * as fs from 'node:fs'; import { join } from 'node:path'; import { expect } from 'vitest'; import { LatexLoader } from '../index'; describe('LatexLoader', () => { it('should run', async () => { const content = fs.readFileSync(join(__dirname, `./demo.tex`), 'utf-8'); const data = await LatexLoader(content); expect(data).toMatchSnapshot(); }); });