forked from github/Toast-PhoneGap-Plugin
20 lines
361 B
JavaScript
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() {
|
|
//});
|
|
|
|
};
|