You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
README.md
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
|
2 years ago | |
---|---|---|
doc | 2 years ago | |
src | 2 years ago | |
.editorconfig | 2 years ago | |
.gitignore | 2 years ago | |
README.md | 2 years ago | |
TODO.md | 2 years ago | |
deps.ts | 2 years ago | |
mod.ts | 2 years ago | |
run | 2 years ago | |
tsconfig.json | 2 years ago |