Closed hmhv1222 closed 7 years ago
Maybe not the correct answer, but leave only one test.js under file in karma.conf.js can solve the problem Do not include more than one test.js
Only has "js/*.js" included but still nothing works
such as "unit_tests/test.js"
Resolved by replacing 'unit_tests/*.js' by 'unit_tests/test_team.js' in karma.conf.js and define controller only once
Case closed.
Error: Firebase App named '[DEFAULT]' already exists.
Need to check whether the firebase database is initialised more than once.