Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
Run RunKit in Mocha
node v10.24.1
version:
master
endpoint
share
tweet
require("@fatso83/run-in-mocha@1.0.2")(__filename); describe("a suite", function() { it("is a passing test", function() { // OK }); it("is a failing test", function() { throw new Error("OMG, I failed!"); }); });
Loading…
no comments
sign in
to comment