Skip to content

Commit 32e794d

Browse files
Travis debugging
1 parent a73a9e7 commit 32e794d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unit/config.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ describe("config", function () {
110110
const result = await cloudinary.v2.api.resource("?");
111111
expect(result).fail();
112112
} catch (err) {
113-
console.log(request_options);
113+
console.log(err.request_options);
114114
expect(err.request_options).not.to.have.property("auth");
115115
}
116116
});
@@ -122,7 +122,7 @@ describe("config", function () {
122122
const result = await cloudinary.v2.api.resource("?", { oauth_token: 'MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI4' });
123123
expect(result).fail();
124124
} catch (err) {
125-
console.log(request_options);
125+
console.log(err.request_options);
126126
expect(err.request_options.headers).not.to.have.property("Authorization");
127127
}
128128
});

0 commit comments

Comments
 (0)