mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Fix tests to check config from base rest.wrap
This commit is contained in:
1 parent
0d595e843d
commit
3ec86215aa
1 file changed
+1
-1
+1
-1
@@ -15,7 +15,7 @@ client({ path: '/data.json' }).then(function(response) {
|
||||
console.log('response: ', response);
|
||||
});
|
||||
|
||||
client = rest.wrap(mime).wrap(errorCode, { code: 500 });
|
||||
client = rest.wrap(mime, { mime: 'application/json' }).wrap(errorCode, { code: 500 });
|
||||
client({ path: '/data.json' }).then(
|
||||
function(response) {
|
||||
console.log('response: ', response);
|
||||
|
||||
Reference in new issue
Block a user