MCPcopy Create free account
hub / github.com/angular-app/angular-app / LocationMock

Function LocationMock

client/test/unit/common/services/crud.spec.js:177–182  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

175 describe('crud list methods', function () {
176
177 var LocationMock = function() {
178 this.pathStr = '';
179 this.path = function(path){
180 return path ? this.pathStr = path : this.pathStr;
181 };
182 };
183
184 var $location, crudListMethods;
185

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected