Toast-PhoneGap-Plugin/test/tests.js
Eddy Verbruggen b7bc165d73 Adding tests
2014-07-11 23:36:12 +02:00

20 lines
361 B
JavaScript

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() {
//});
};