Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

tests.js 571B

12345678910111213141516171819202122232425262728
  1. /* 'use strict'; */
  2. var MYTIMEOUT = 12000;
  3. // initial test(s):
  4. exports.defineAutoTests = function() {
  5. describe('INITIAL test(s)', function() {
  6. describe('ECHO test(s)', function() {
  7. it('Initial echo test',
  8. function(done) {
  9. window.sqlitePlugin.echoTest(function() {
  10. // ok:
  11. expect(true).toBe(true);
  12. done();
  13. }, function(err) {
  14. // went wrong:
  15. expect(false).toBe(true);
  16. done();
  17. });
  18. }, MYTIMEOUT);
  19. });
  20. });
  21. };
  22. /* vim: set expandtab : */