mad-eye / meteor-mocha-web

easily and safely run mocha tests within the Meteor framework
MIT License
145 stars 46 forks source link

"isMirror" undefined on each page load #189

Closed laddi closed 8 years ago

laddi commented 9 years ago

Every time my app is restarted I see the following error in my browser console:

Exception in delivering result of invoking 'mirrorInfo': TypeError: Cannot read property 'isMirror' of undefined
    at http://localhost:3000/packages/mike_mocha.js?1d8891ef4bfb0bfe78f5e108ce2a02d9939e112e:6027:19
    at Meteor.bindEnvironment [as _callback] (http://localhost:3000/packages/meteor.js?43b7958c1598803e94014f27f5f622b0bddc0aaf:983:22)
    at _.extend._maybeInvokeCallback (http://localhost:3000/packages/ddp.js?d1840d3ba04c65ffade261f362e26699b7509706:3860:12)
    at _.extend.dataVisible (http://localhost:3000/packages/ddp.js?d1840d3ba04c65ffade261f362e26699b7509706:3889:10)
    at http://localhost:3000/packages/ddp.js?d1840d3ba04c65ffade261f362e26699b7509706:4718:7
    at Array.forEach (native)
    at Function._.each._.forEach (http://localhost:3000/packages/underscore.js?0a80a8623e1b40b5df5a05582f288ddd586eaa18:156:11)
    at _.extend._runAfterUpdateCallbacks (http://localhost:3000/packages/ddp.js?d1840d3ba04c65ffade261f362e26699b7509706:4717:7)
    at _.extend._livedata_data (http://localhost:3000/packages/ddp.js?d1840d3ba04c65ffade261f362e26699b7509706:4707:10)
    at onMessage (http://localhost:3000/packages/ddp.js?d1840d3ba04c65ffade261f362e26699b7509706:3721:12)

Any idea why this is happening, happened after I updated the package to the latest version (as well as velocity packages).

firrae commented 8 years ago

See #193 if you set the environment variable VELOCITY=0.