mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-05-03 01:14:46 -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.
|
// Hooks into the test view logic for running tests.
|
||||||
|
|
||||||
|
|
||||||
window.userObject = {_id:'1'}
|
window.userObject = {_id:'1'};
|
||||||
window.StripeCheckout = {configure: function (){}}
|
window.serverConfig = {picoCTF: false, production: false};
|
||||||
|
window.StripeCheckout = {configure: function (){}};
|
||||||
initialize = require('core/initialize');
|
initialize = require('core/initialize');
|
||||||
initialize.init();
|
initialize.init();
|
||||||
console.debug = function() {}; // Karma conf doesn't seem to work? Debug messages are still emitted when they shouldn't be.
|
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]>
|
<![endif]>
|
||||||
<script>
|
<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.
|
// Placeholder for iPad, which inspects the user object at the bottom of an injected page.
|
||||||
window.serverConfig = "serverConfigTag";
|
window.serverConfig = "serverConfigTag";
|
||||||
window.userObject = "userObjectTag";
|
window.userObject = "userObjectTag";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue