MCPcopy
hub / github.com/angular-ui/ui-router / assertArgDefined

Function assertArgDefined

test/angular/1.6/angular-mocks.js:1961–1965  ·  view source on GitHub ↗
(args, index, name)

Source from the content-addressed store, hash-verified

1959}
1960
1961function assertArgDefined(args, index, name) {
1962 if (args.length > index && angular.isUndefined(args[index])) {
1963 throw new Error('Undefined argument `' + name + '`; the argument is provided but not defined');
1964 }
1965}
1966
1967
1968function MockHttpExpectation(method, url, data, headers, keys) {

Callers 2

createHttpBackendMockFunction · 0.70
createShortMethodsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected