Commit c6d62a2
authored
test: use bun for mcp server mock (#95)
* test: launch mock server with shebang
* chore(flake): remove node_modules install
bun install all deps automatically
* test: remove bun install
* fix(test): use -S flag in shebang for Linux compatibility
The shebang `#!/usr/bin/env bun run` works on macOS but fails on Linux
because the `env` command doesn't split space-separated arguments by
default. Using `#!/usr/bin/env -S bun run` makes env parse the string
as multiple arguments, enabling cross-platform compatibility.
Fixes CI failures where the mock server couldn't start due to:
/usr/bin/env: 'bun run': No such file or directory1 parent f5aca1e commit c6d62a2
3 files changed
+5
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | 123 | | |
133 | 124 | | |
134 | 125 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
61 | 60 | | |
62 | 61 | | |
63 | 62 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
| 63 | + | |
69 | 64 | | |
70 | 65 | | |
71 | 66 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | 67 | | |
83 | 68 | | |
84 | 69 | | |
85 | 70 | | |
86 | 71 | | |
87 | | - | |
| 72 | + | |
88 | 73 | | |
89 | 74 | | |
90 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| 7 | + | |
| 8 | + | |
6 | 9 | | |
7 | 10 | | |
8 | 11 | | |
| |||
0 commit comments