From b7bc165d73156ccc57264cd2094b77f650135622 Mon Sep 17 00:00:00 2001 From: Eddy Verbruggen Date: Fri, 11 Jul 2014 23:36:12 +0200 Subject: [PATCH] Adding tests --- test/tests.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 test/tests.js diff --git a/test/tests.js b/test/tests.js new file mode 100644 index 0000000..3e8cf73 --- /dev/null +++ b/test/tests.js @@ -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() { + //}); + +};