Above, I talked about excluding for a given file pattern (in the files section) to force a given order. Something like
pattern: 'app/**/*js; exclude: 'app/**/test/*.js
pattern: 'app/**test/*.js'
This would make sure that test scripts are loaded after application scripts. Without this, the order is likely alphabetical (karma is silent about that).
If we are having a good structure, the exclude as defined above would not be needed.

The exclude section would exclude it completely.