UNPKG

siesta-lite

Version:

Stress-free JavaScript unit testing and functional testing tool, works in NodeJS and browsers

13 lines (7 loc) 249 B
describe("myName", function (t) { var theAwesome = new My.awesome.Class(); t.is(theAwesome.getFoo(), 'bar'); var theAwesome2 = new My.awesome.Class2(); t.is(theAwesome2.getFoo(), 'bar'); theAwesome2.setFoo('foo') })