svrjs-mod-starter/tests/utils/helper.test.js

6 lines
123 B
JavaScript
Raw Normal View History

2024-08-27 07:15:53 +02:00
const { add } = require("../../src/utils/helper");
test("adds 1 + 2 to equal 3", () => {
expect(add(1, 2)).toBe(3);
});