Skip to content

Commit 8480369

Browse files
author
Assaf Moldavsky
committed
fix for withCredentials
1 parent 3e07107 commit 8480369

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/angular-mocks-async.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
var d = match( method, url, data, headers );
3333
if ( !d || d.passThrough || !d.getPromise ) {
34-
return $delegate.call(this, method, url, data, callback, headers);
34+
return $delegate.call(this, method, url, data, callback, headers, timeout, withCredentials );
3535
}
3636

3737
if( !d.getPromise || ! typeof d.getPromise === 'function' ) {

0 commit comments

Comments
 (0)