Last active
August 29, 2015 14:15
-
-
Save dhrobbins/d84e41effd38e8e7cac1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
curl(["domReady!", "QUnit"], function (dom, QUnit) { | |
// Pause QUnit so you know that Firebase is connected | |
QUnit.config.autostart = false; | |
}) | |
.next(["Firebase"]) | |
.next(["QUnit", | |
"jquery", | |
"utilsHelpers", | |
"FirebaseManager", | |
"scripts/tests/FirebaseManagerEditTopicTests.js"], | |
function (QUnit, jquery, utilsHelper, FirebaseManager, sutScript) { | |
var firebaseManager = new FirebaseManager(); | |
firebaseManager.initFirebase(user_id, auth_key); | |
setTimeout(function () { | |
// Add this as to window for later use. Connect once and re-use in your tests | |
window["sutFirebaseManager"] = firebaseManager; | |
// Now stat the tests | |
QUnit.start(); | |
}, 2000); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment