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 afa27ef commit 2768f5cCopy full SHA for 2768f5c
test/leak.test.js
@@ -13,7 +13,8 @@ describe('Information Leak', function () {
13
'Content-Type': 'application/json',
14
'cookie': 'ajs_anonymous_id=1234567890',
15
'authorization': 'Bearer eyJhb12345abcdef'
16
- }
+ },
17
+ json:true
18
}, function (err, response, body) {
19
t.strictEqual(Object.keys(body).length, 0);
20
done();
@@ -30,7 +31,7 @@ describe('Information Leak', function () {
30
31
32
}
33
- t.strictEqual(body, undefined);
34
+ t.strictEqual(body, '');
35
36
});
37
0 commit comments