764 B
764 B
typescript/testing
About
Testing utilities for Deno, trying to stick to jasmine/jest syntax for easy porting.
Import
In deno:
import { describe, expect, it } from "https://js.thunderk.net/testing/mod.ts";
Use
Syntax is similar to Jest, and tries to be mostly compatible.
describe("a module", () => {
it("does something", () => {
expect(5).toBeGreatherThan(4);
});
};
Credits
- Embeds a slighly adapted version of expect library from Allain Lalonde