blob: aacdde31643b4ec0a01a5ed6e5fbb24a499e7e5a [file] [log] [blame]
import { add, subtract } from "./main";
import { expect } from "@esm-bundle/chai";
describe("main tests", () => {
it("subtracts two numbers", () => {
expect(subtract(3, 5)).to.equal(-2);
});
it("adds two numbers", () => {
expect(add(3, 5)).to.equal(8);
});
});