RunJS icon indicating copy to clipboard operation
RunJS copied to clipboard

[Feature Request] - Support for unit tests

Open ondrovic opened this issue 4 years ago • 1 comments

not even sure if it's possible but would love support for unit tests, might be out of the scope though but would be really cool to have

ondrovic avatar Mar 06 '22 01:03 ondrovic

@ondrovic you can currently run tests by doing something like the following:

import { expect } from "chai";

const foo = () => {
  return true;
}

expect(foo()).to.be.true;
expect(foo()).to.be.false;

lukehaas avatar Jul 06 '22 09:07 lukehaas