mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-05-18 19:50:15 +09:00
10 lines
168 B
TypeScript
10 lines
168 B
TypeScript
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);
|
|
});
|
|
});
|