mirror of
https://github.com/log4js-node/log4js-node.git
synced 2025-12-08 19:26:01 +00:00
test: adjusted regexp for stacktrace for Node.js <=10
This commit is contained in:
parent
adcc06fb88
commit
09c4096c49
@ -121,7 +121,7 @@ test('log4js layouts', (batch) => {
|
||||
},
|
||||
},
|
||||
}),
|
||||
/at (Test\.batch\.test\.t|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'
|
||||
);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user