test: fix Windows CI execution and resolve exposed platform failures (#24476)

This commit is contained in:
Emily Hedlund
2026-04-03 08:50:29 -07:00
committed by GitHub
parent 7a70ab9a5d
commit ca0e6f9bd9
21 changed files with 308 additions and 175 deletions
@@ -159,7 +159,9 @@ describe('BrowserManager', () => {
expect.objectContaining({
command: 'node',
args: expect.arrayContaining([
expect.stringMatching(/bundled\/chrome-devtools-mcp\.mjs$/),
expect.stringMatching(
/(dist[\\/])?bundled[\\/]chrome-devtools-mcp\.mjs$/,
),
]),
}),
);
@@ -175,7 +177,7 @@ describe('BrowserManager', () => {
command: 'node',
args: expect.arrayContaining([
expect.stringMatching(
/(dist\/)?bundled\/chrome-devtools-mcp\.mjs$/,
/(dist[\\/])?bundled[\\/]chrome-devtools-mcp\.mjs$/,
),
]),
}),