Skip to content

Commit fb3ea56

Browse files
committed
fix windows
1 parent 030778c commit fb3ea56

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/web-platform/web-mcp-server/test/test.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@ client.connect(
2121
);
2222
// now create rsbuild dev server
2323
const reactLynxExampleRoot = path.join(__dirname, '../../../../examples/react');
24-
const rspeedy = spawn('npx', ['pnpm', 'dev'], {
24+
const rspeedy = spawn('pnpm', ['dev'], {
2525
cwd: reactLynxExampleRoot,
2626
stdio: 'ignore',
27+
shell: true,
2728
});
2829

2930
// describe('get_element_hierarchy tool', () => {

0 commit comments

Comments
 (0)