Fixed ESLint radix error

This commit is contained in:
Lam Wei Li 2022-02-21 01:39:14 +08:00
parent 1481ec6f62
commit a3f172f1cb
No known key found for this signature in database
GPG Key ID: 90F6ABECF080D7BF

View File

@ -5,7 +5,7 @@ const levels = require("../../lib/levels");
test("LoggingEvent", batch => {
batch.test("should serialise to flatted", t => {
const event = new LoggingEvent("cheese", levels.DEBUG, ["log message", parseInt("abc"), 1/0, -1/0, undefined], {
const event = new LoggingEvent("cheese", levels.DEBUG, ["log message", parseInt("abc", 10), 1/0, -1/0, undefined], {
user: "bob"
});
// set the event date to a known value