diff --git a/client/router.js b/client/router.js index ae91751..a499303 100644 --- a/client/router.js +++ b/client/router.js @@ -344,7 +344,10 @@ Router.prototype._notfoundRoute = function(context) { // XXX this.notfound kept for backwards compatibility this.notFound = this.notFound || this.notfound; if(!this.notFound) { - console.error("There is no route for the path:", context.path); + if(!Meteor.isTest && !Meteor.isPackageTest) { + console.error("There is no route for the path:", context.path); + } + return; }