mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 00:16:15 -04:00
major restructering of the front end test framework
This commit is contained in:
parent
6587852138
commit
ca6ebd6151
11 changed files with 267 additions and 120 deletions
|
@ -1,12 +1,14 @@
|
|||
$(function(){
|
||||
//allow cross iframe access
|
||||
document.domain = document.domain;
|
||||
if ((!$.browser.msie) && (!($.browser.mozilla && $.browser.version.indexOf("1.8.") == 0))) {
|
||||
document.domain = document.domain; // for comet
|
||||
}
|
||||
|
||||
//initalize the test helper
|
||||
helper.init();
|
||||
|
||||
//configure and start the test framework
|
||||
mocha.timeout(5000);
|
||||
mocha.ignoreLeaks();
|
||||
mocha.run();
|
||||
helper.init(function(){
|
||||
//configure and start the test framework
|
||||
//mocha.suite.timeout(5000);
|
||||
mocha.ignoreLeaks();
|
||||
mocha.run();
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue