Here is the content of my karma/karma.conf.js
:
// Karma configuration
// Generated on Mon Jan 04 2016 16:17:18 GMT-0500 (EST)
module.exports = function(config) {
// Configuration settings for Karma
}
Below is the code from karma/tests/test_post.js
:
describe('Controller: MainCtrl', function() {
// Test cases for the MainCtrl controller
});
Lastly, this pertains to ../post.js
:
angular.module("PostPageApp", ["BaseApp"])
.controller("MainCtrl", ["$http", "$window", "BaseService", function($http, $window, BaseService) {
// Controller logic for MainCtrl
}]);
Upon running karma start
, I encountered the following message:
04 01 2016 16:48:10.137:INFO [karma]: Karma v0.13.17 server started at http://localhost:9876/
04 01 2016 16:48:10.144:INFO [launcher]: Starting browser Chrome
04 01 2016 16:48:13.138:INFO [Chromium 47.0.2526 (Ubuntu 0.0.0)]: Connected on socket ayhU7qR23sshUzi3AAAA with id 50222765
Chromium 47.0.2526 (Ubuntu 0.0.0): Executed 0 of 0 ERROR (0.013 secs / 0 secs)
I am puzzled as to why it shows that there were 0 tests executed and an error occurred. Any insights on what could be causing this issue?
Please bear in mind that I am relatively new to working with Karma and Jasmine, so any guidance would be greatly appreciated.
Thank you for your assistance.