mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 22:15:06 +00:00
LibJS: Relax line and column number restrictions in Error stack tests
This commit is contained in:
parent
aaed7b11f8
commit
cc77bb5067
1 changed files with 2 additions and 2 deletions
|
@ -7,9 +7,9 @@ describe("getter - normal behavior", () => {
|
||||||
const stackFrames = [
|
const stackFrames = [
|
||||||
/^ at .*Error \(.*\/Error\.prototype\.stack\.js:\d+:\d+\)$/,
|
/^ at .*Error \(.*\/Error\.prototype\.stack\.js:\d+:\d+\)$/,
|
||||||
/^ at .+\/Error\/Error\.prototype\.stack\.js:\d+:\d+$/,
|
/^ at .+\/Error\/Error\.prototype\.stack\.js:\d+:\d+$/,
|
||||||
/^ at test \(.+\/test-common.js:557:21\)$/,
|
/^ at test \(.+\/test-common.js:\d+:\d+\)$/,
|
||||||
/^ at .+\/Error\/Error\.prototype\.stack\.js:6:33$/,
|
/^ at .+\/Error\/Error\.prototype\.stack\.js:6:33$/,
|
||||||
/^ at describe \(.+\/test-common\.js:534:21\)$/,
|
/^ at describe \(.+\/test-common\.js:\d+:\d+\)$/,
|
||||||
/^ at .+\/Error\/Error\.prototype\.stack\.js:5:38$/,
|
/^ at .+\/Error\/Error\.prototype\.stack\.js:5:38$/,
|
||||||
];
|
];
|
||||||
const values = [
|
const values = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue