mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-26 05:53:39 -04:00
Fix Travis tests
This commit is contained in:
parent
10402fa945
commit
16969e1d5a
2 changed files with 6 additions and 2 deletions
app/assets
|
@ -2,8 +2,9 @@
|
|||
// Hooks into the test view logic for running tests.
|
||||
|
||||
|
||||
window.userObject = {_id:'1'}
|
||||
window.StripeCheckout = {configure: function (){}}
|
||||
window.userObject = {_id:'1'};
|
||||
window.serverConfig = {picoCTF: false, production: false};
|
||||
window.StripeCheckout = {configure: function (){}};
|
||||
initialize = require('core/initialize');
|
||||
initialize.init();
|
||||
console.debug = function() {}; // Karma conf doesn't seem to work? Debug messages are still emitted when they shouldn't be.
|
||||
|
|
|
@ -75,6 +75,9 @@
|
|||
<![endif]>
|
||||
<script>
|
||||
|
||||
// IMPORTANT: If you edit here, make sure app/assets/javascripts/run-tests.js puts in placeholders for
|
||||
// running client tests on Travis.
|
||||
|
||||
// Placeholder for iPad, which inspects the user object at the bottom of an injected page.
|
||||
window.serverConfig = "serverConfigTag";
|
||||
window.userObject = "userObjectTag";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue