mirror of
https://github.com/log4js-node/log4js-node.git
synced 2025-12-08 19:26:01 +00:00
chore: fixed timezone for test
This commit is contained in:
parent
ab32e753b2
commit
335cbeedd7
@ -116,7 +116,7 @@ test("log4js layouts", batch => {
|
||||
}
|
||||
}
|
||||
}),
|
||||
/at (Test.batch.test|Test.<anonymous>)\s+\((.*)test[\\/]tap[\\/]layouts-test\.js:\d+:\d+\)/,
|
||||
/at (Test\.batch\.test\.t|Test\.<anonymous>)\s+\((.*)test[\\/]tap[\\/]layouts-test\.js:\d+:\d+\)/,
|
||||
"regexp did not return a match - should print the stacks of a passed error objects"
|
||||
);
|
||||
|
||||
@ -262,7 +262,7 @@ test("log4js layouts", batch => {
|
||||
const columnNumber = 14;
|
||||
const event = {
|
||||
data: ["this is a test"],
|
||||
startTime: new Date("2010-12-05 14:18:30.045"),
|
||||
startTime: new Date(Date.UTC(2010, 11, 5, 3, 18, 30, 45)),
|
||||
categoryName: "multiple.levels.of.tests",
|
||||
level: {
|
||||
toString() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user