Ilovexm24/plugins/cordova-sqlite-storage/tests/tests.js
2017-03-05 17:31:47 +01:00

28 lines
571 B
JavaScript

/* 'use strict'; */
var MYTIMEOUT = 12000;
// initial test(s):
exports.defineAutoTests = function() {
describe('INITIAL test(s)', function() {
describe('ECHO test(s)', function() {
it('Initial echo test',
function(done) {
window.sqlitePlugin.echoTest(function() {
// ok:
expect(true).toBe(true);
done();
}, function(err) {
// went wrong:
expect(false).toBe(true);
done();
});
}, MYTIMEOUT);
});
});
};
/* vim: set expandtab : */