You need to set the environment variable ROOT_URL . This is also true for launching the application on a mobile device with Cordova. I found that if my main (non-unit testing) Meteor application showed from 192.168.0.222haps000, my ROOT_URL variable should look like this:
ROOT_URL="http://192.168.0.222:3000"
I use sanjo:jasmine with speed, and with this I can say that it uses different ports for client servers and unit test servers and that 3000 in the ROOT_URL variable will be replaced with the corresponding ports, but this will use the IP address 192.168.0.222.
source share