Skip to content

Instantly share code, notes, and snippets.

@tianhaoz95
Last active November 7, 2019 06:46
Show Gist options
  • Save tianhaoz95/398748ee17f62efea8d5b39dfb30a3ed to your computer and use it in GitHub Desktop.
Save tianhaoz95/398748ee17f62efea8d5b39dfb30a3ed to your computer and use it in GitHub Desktop.
install ts mocha
/**
* First we need to install mocha, chai and their types with command:
* npm install --save-dev @types/mocha @types/chai mocha chai
*/
import "mocha";
describe("test iwfp api", () => {
it("hello world no crash", () => {
// run some tests here
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment