mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 17:06:16 -04:00
made test helpers more cross browser compatible
This commit is contained in:
parent
ba4ebbba3b
commit
7aee98bce8
4 changed files with 79 additions and 56 deletions
|
@ -1,7 +1,11 @@
|
|||
(function(){
|
||||
//allow iframe access
|
||||
document.domain = document.domain;
|
||||
$(function(){
|
||||
//allow cross iframe access
|
||||
document.domain = document.domain;
|
||||
|
||||
//start test framework
|
||||
mocha.run();
|
||||
})()
|
||||
//initalize the test helper
|
||||
testHelper.init();
|
||||
|
||||
//configure and start the test framework
|
||||
mocha.ignoreLeaks();
|
||||
mocha.run();
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue