title: Karma and RequireJS, why two "main.js" files?
body: <p>I'm learning Karma and RequireJS by building an AngularJS application.
  The examples I've seen uses a different main.js file in the "test" folder when Karma is used.
  Why not just have Karma use the regular main.js file that RequireJS needs, why the need for a separate file for testing?</p>