feature/IO-3181-Test-Framework-Selection - Skeletons complete
This commit is contained in:
11
server/tests/math.test.js
Normal file
11
server/tests/math.test.js
Normal file
@@ -0,0 +1,11 @@
|
||||
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);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user