There is a strange problem occurring when requiring two or more CanJS Controllers using SquireJS, one controller in each test. If I have more than one test that requires a CanJS controller I get the following error in console: Uncaught TypeError: Cannot read property 'setup' of undefined.
or TypeError: 'undefined' is not an object (evaluating 'processors[methodName]') in Safari.
I have tested the code in QUnit, Mocha and Jasmine. I get the same error from my CanJS Controllers.
Please remember to clear browser data each time you edit a file for testing. Please note that if you have one test that requires a CanJS controller via SquireJS, the error disappears.