Skip to content

Commit

Permalink
Small fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
OtterCode committed Jun 28, 2018
1 parent 15b63b1 commit 180e401
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,15 @@ module.exports.testLevels = function (transport, assertMsg, assertFn) {
primmetadatatest[assertMsg] = assertFn;
tests['when passed primitive metadata'] = primmetadatatest;

var nummetadatatest = {
topic: function () {
transport.log('info', 'test message', 123456789, this.callback.bind(this, null));
}
};

nummetadatatest[assertMsg] = assertFn;
tests['when passed numeric metadata'] = nummetadatatest;

// circular references aren't supportded by regular JSON, and it's not supported
// by node-loggly-bulk. I'm omitting it for now. If it wants to be fixed, then
// node-loggly-bulk needs an update.
Expand Down

0 comments on commit 180e401

Please sign in to comment.