Adding tests

This commit is contained in:
Eddy Verbruggen 2014-07-11 23:36:12 +02:00
parent 57f606dacf
commit b7bc165d73

19
test/tests.js Normal file
View File

@ -0,0 +1,19 @@
exports.defineAutoTests = function() {
define('awesome tests', function() {
it('do something sync', function() {
expect(1).toBe(1);
});
it('do something async', function(done) {
setTimeout(function() {
expect(1).toBe(1);
done();
}, 100);
});
});
//define('more awesome tests', function() {
//});
};