/
githubmirror
/
ChatGPT-Next-Web
Обзор
Документация
Войти
/
githubmirror
/
ChatGPT-Next-Web
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/sum-module.test.ts
9 строк
168 B
Dogtiti
feat: jest
06 авг 2024, 13:03
06 авг 2024, 13:03
1ef2aa3
Код
Авторство
О чём код?
function sum(a: number, b: number) { return a + b; } describe("sum module", () => { test("adds 1 + 2 to equal 3", () => { expect(sum(1, 2)).toBe(3); }); });