$injector:unpr Unknown provider error when testing with Jasmine
问题 So the first time of tackling with unit tests here, I'm trying to initialize the controller of a component using the $componentController mock in angular.mocks. This is my component file. import angular from 'angular'; import ProgressCountdownModule from './progress-countdown/progress-countdown'; import CoverModule from './cover/cover'; import template from './game.tmpl.html'; import './game.css'; import GameController from './game.controller.js'; const GameModule = angular.module('game',