hippofish/packages/backend/native-utils/__test__/index.spec.mjs

8 lines
119 B
JavaScript
Raw Normal View History

2023-04-07 03:56:46 +02:00
import test from "ava";
2023-04-07 03:56:46 +02:00
import { sum } from "../index.js";
2023-04-07 03:56:46 +02:00
test("sum from native", (t) => {
t.is(sum(1, 2), 3);
});