LibTest/Tests: Build and run test-js on windows

This commit allows test-js to build and run, also in CI.

Co-authored-by: Andrew Kaster <andrew@ladybird.org>
This commit is contained in:
R-Goc 2025-05-30 10:50:55 +02:00 committed by Andrew Kaster
commit 9ec26058d1
Notes: github-actions[bot] 2025-06-06 04:01:57 +00:00
6 changed files with 54 additions and 48 deletions

View file

@ -6,11 +6,11 @@ describe("getter - normal behavior", () => {
test("basic functionality", () => {
const stackFrames = [
/^ at .*Error$/,
/^ at .+\/Error\/Error\.prototype\.stack\.js:\d+:\d+$/,
/^ at test \(.+\/test-common.js:\d+:\d+\)$/,
/^ at .+\/Error\/Error\.prototype\.stack\.js:6:9$/,
/^ at describe \(.+\/test-common\.js:\d+:\d+\)$/,
/^ at .+\/Error\/Error\.prototype\.stack\.js:5:9$/,
/^ at .+[\\/]Error[\\/]Error\.prototype\.stack\.js:\d+:\d+$/,
/^ at test \(.+[\\/]test-common\.js:\d+:\d+\)$/,
/^ at .+[\\/]Error[\\/]Error\.prototype\.stack\.js:6:9$/,
/^ at describe \(.+[\\/]test-common\.js:\d+:\d+\)$/,
/^ at .+[\\/]Error[\\/]Error\.prototype\.stack\.js:5:9$/,
];
const values = [
{