node-query/node_modules/nodeunit/examples/browser/suite1.js

13 lines
319 B
JavaScript
Executable File

this.suite1 = {
'test one': function (test) {
test.ok(true, 'everythings ok');
setTimeout(function () {
test.done();
}, 10);
},
'apples and oranges': function (test) {
test.equal('apples', 'oranges', 'comparing apples and oranges');
test.done();
}
};