my component unit test

JavaScript

'use strict';
describe('Component: my-component', function() {
    
    var $componentController;
    beforeEach(function() {
        module('app');

        inject(function(_$componentController_) {
            $componentController = _$componentController_;
        });
    });


    describe('component my-component', function() {
        it('', function() {
            var bindings = {
                itemType: 'testType',
                onClick: function () {

                }
            };
            var ctrl = $componentController('myComponent', null, bindings);
        });
    });
});