UNPKG

grunt-jstestdriver-phantomjs

Version:

Grunt task for unit testing with jsTestDriver and PhantomJS.

15 lines (12 loc) 312 B
TestCase("JsTestDriver built in numbers test", { testA: function () { "use strict"; var total = 10 + 10 + 10; assertEquals(30, total); }, testB: function () { "use strict"; var total = 10 * 10 * 10; assertEquals(1000, total); } });