Error when testing package using iron:router


#1

I have a package which uses iron:router. When I run

meteor test-packages mypackage 

I get the following error in the browser console

Uncaught TypeError: Template.__create__ is not a function(anonymous function) @ layout.js:286(anonymous function) @ iron_layout.js?d62e492972d7f97328c54d2ba052d5adf0cf0d9a:534(anonymous function) @ iron_layout.js?d62e492972d7f97328c54d2ba052d5adf0cf0d9a:541
router.js:61Uncaught TypeError: undefined is not a function

I have raised an issue at https://github.com/iron-meteor/iron-layout/issues/15. Could anyone tell me if I’m just doing something really silly and obvious that I’ve missed :smile:

Thanks