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