forked from github/Toast-PhoneGap-Plugin
Adding tests
This commit is contained in:
parent
57f606dacf
commit
b7bc165d73
19
test/tests.js
Normal file
19
test/tests.js
Normal 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() {
|
||||
//});
|
||||
|
||||
};
|
Loading…
Reference in New Issue
Block a user