Is there a way to unit test a simple directive declaration in AngularJS? (no link function)

So I have a simple directive definition like this

function computeTotals() {
  return {
    restrict: 'A',
    templateUrl: 'compute-totals.html',
    controller: 'ct as ctrl',
    scope: {},
    bindToController: {
      property: '=',
      numbersArray: '='
    }
  };
}

How would I go about unit testing to make sure this directive is set-up correctly? I just want to verify these properties

Source: New feed
Source Url Is there a way to unit test a simple directive declaration in AngularJS? (no link function)