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 55ead33 commit 0c08f26Copy full SHA for 0c08f26
plugins/errorlogs/tests.js
@@ -219,11 +219,7 @@ describe('Testing Error Logs Plugin', function() {
219
if (err2) {
220
return done(err2);
221
}
222
- console.log(res2.text);
223
- var logContent = JSON.parse(res2.text);
224
- logContent.should.be.an.instanceOf(Object);
225
- // After clearing, log should be empty or contain minimal content
226
- logContent.should.be.belowOrEqual(10);
+ res2.text.should.eql("{}");
227
done();
228
});
229
0 commit comments