tanxium 0.2.0

Embeddable JavaScript/TypeScript runtime for Yasumu powered by Deno
Documentation
1
2
3
4
5
6
7
8
9
10
11
function add(a, b) {
    return a + b;
}

test("should add two numbers", () => {
    expect(add(1, 2)).toBe(3);
});

test("should add two numbers again", () => {
    expect(add(1, 2)).not.toBe(3);
});