1
0
mirror of https://github.com/moparisthebest/mail synced 2025-02-19 20:31:48 -05:00

27 lines
616 B
JavaScript
Raw Normal View History

2013-06-11 00:17:08 +02:00
'use strict';
require(['../../src/require-config'], function() {
require.config({
baseUrl: '../../src/lib'
});
// Start the main app logic.
2013-06-11 03:14:57 +02:00
require(['js/app-config', 'cordova'], function(app) {
2013-06-11 00:17:08 +02:00
// clear session storage of failed tests, so async order is correct after fail & refresh
window.sessionStorage.clear();
window.Worker = undefined;
app.config.workerPath = '../../src/js';
app.config.cloudUrl = 'http://localhost:8888';
startTests();
});
});
function startTests() {
2013-06-11 17:12:27 +02:00
require(['test/integration/cloudstorage-dao-test'], function() {
2013-06-11 00:17:08 +02:00
//Tests loaded, run tests
QUnit.start();
});
}