Testing utilities for Deno
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

Build Status

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
Michaël Lemaire 60e678d0cf Extract from devtools project 3 weeks ago
doc Extract from devtools project 3 weeks ago
src Extract from devtools project 3 weeks ago
.editorconfig Extract from devtools project 3 weeks ago
.gitignore Extract from devtools project 3 weeks ago
README.md Extract from devtools project 3 weeks ago
TODO.md Extract from devtools project 3 weeks ago
deps.ts Extract from devtools project 3 weeks ago
mod.ts Extract from devtools project 3 weeks ago
run Extract from devtools project 3 weeks ago
tsconfig.json Extract from devtools project 3 weeks ago