Skip to content

Commit

Permalink
test: remove console.log statement in test
Browse files Browse the repository at this point in the history
  • Loading branch information
EastSun5566 committed Sep 25, 2024
1 parent cf7710f commit d3dcd98
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/flash-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ vows.describe('flash').addBatch({
req.session.flash.error.push('Something went wrong');
assert.equal(req.session.flash.error[0], 'U29tZXRoaW5nIHdlbnQgd3Jvbmc=');
assert.equal(req.session.flash.error[1], 'Something went wrong');
console.log(req.session.flash.error);
const msgs = req.flash('error');
assert.equal(msgs[0], 'Something went wrong');
assert.equal(msgs[1], 'Something went wrong');
Expand Down

0 comments on commit d3dcd98

Please sign in to comment.