mirror of
https://github.com/moparisthebest/mail
synced 2024-11-17 14:45:02 -05:00
29 lines
619 B
JavaScript
29 lines
619 B
JavaScript
'use strict';
|
|
|
|
require(['../../src/require-config'], function() {
|
|
|
|
require.config({
|
|
baseUrl: '../../src/lib'
|
|
});
|
|
|
|
// Start the main app logic.
|
|
require(['cordova', 'js/app-config'], function() {
|
|
// 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() {
|
|
require([
|
|
'test/integration/cloudstorage-dao-test'
|
|
], function() {
|
|
//Tests loaded, run tests
|
|
QUnit.start();
|
|
});
|
|
} |