We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a73a9e7 commit 32e794dCopy full SHA for 32e794d
test/unit/config.spec.js
@@ -110,7 +110,7 @@ describe("config", function () {
110
const result = await cloudinary.v2.api.resource("?");
111
expect(result).fail();
112
} catch (err) {
113
- console.log(request_options);
+ console.log(err.request_options);
114
expect(err.request_options).not.to.have.property("auth");
115
}
116
});
@@ -122,7 +122,7 @@ describe("config", function () {
122
const result = await cloudinary.v2.api.resource("?", { oauth_token: 'MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI4' });
123
124
125
126
expect(err.request_options.headers).not.to.have.property("Authorization");
127
128
0 commit comments