mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-14 07:00:01 -04:00
Make sure server tests don't run when production variables are in the environment
This commit is contained in:
parent
93c51baea0
commit
6a28de7c05
1 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,8 @@
|
|||
# and common libraries are available
|
||||
|
||||
console.log 'IT BEGINS'
|
||||
if process.env.COCO_MONGO_HOST
|
||||
throw Error('Tests may not run with production environment')
|
||||
|
||||
require 'jasmine-spec-reporter'
|
||||
jasmine.getEnv().defaultTimeoutInterval = 300000
|
||||
|
|
Loading…
Reference in a new issue