chore: fixed timezone for test

This commit is contained in:
Gareth Jones 2019-08-07 08:25:44 +10:00
parent ab32e753b2
commit 335cbeedd7

View File

@ -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() {