generator-yaas-builder-module
Version:
Yeoman generator for creating yaas builder modules
27 lines (19 loc) • 686 B
JavaScript
describe('DemoSvc Test', function () {
var DemoSvc;
beforeEach(module('ds.shared'));
beforeEach(angular.mock.module('ds.demo', function () { }));
beforeEach(inject(function (_DemoSvc_) {
this.addMatchers({
toEqualData: function (expected) {
return angular.equals(this.actual, expected);
}
});
DemoSvc = _DemoSvc_;
}));
describe("DemoSvc API", function () {
it("should expose correct interface", function () {
expect(DemoSvc.getModuleName).toBeDefined();
expect(DemoSvc.getModuleDescription).toBeDefined();
});
});
});