| 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); | |
| }); | |
| }); |