UNPKG

generator-xd-angular

Version:

AngularJS yeoman-generator using Angular-ui-router, sass-bootstrap, compass, mocha, gulp, font-awesome, ngdocs

11 lines (8 loc) 359 B
/*globals inject, beforeEach, describe, it, expect, module*/ /*jshint expr: true*/ describe('<%= moduleName %>', function () { beforeEach( module('<%= moduleName %>')); it('should have a data function that returns an array', inject(function (<%= factoryInstance %>) { expect(angular.isArray(<%= factoryInstance %>.getData())).to.be.true; })); });