Files
bodyshop/server/tests/math.test.js

12 lines
197 B
JavaScript

import { describe, it, expect } from "vitest";
function add(a, b) {
return a + b;
}
describe("Math", () => {
it("adds two numbers correctly", () => {
expect(add(2, 3)).toBe(5);
});
});