Skip to content

Commit 0c08f26

Browse files
committed
Fix error log test
1 parent 55ead33 commit 0c08f26

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

plugins/errorlogs/tests.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -219,11 +219,7 @@ describe('Testing Error Logs Plugin', function() {
219219
if (err2) {
220220
return done(err2);
221221
}
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);
222+
res2.text.should.eql("{}");
227223
done();
228224
});
229225
});

0 commit comments

Comments
 (0)