Skip to content

Instantly share code, notes, and snippets.

View jairodemorais's full-sized avatar

Jairo de Morais jairodemorais

View GitHub Profile
@jairodemorais
jairodemorais / JasmineTesting.js
Created March 21, 2012 18:34
Jasmin test running on browser and nodejs.
/* Spec file filename: renderTestSpec.js*/
describe ("Test the basic functionality of dust", function() {
//Execute each test
for (var index = 0; index < dustExamples.length; index++) {
var test = dustExamples[index];
it (test.message, render(test));
};
});
function render(test) {