(mods: any, dir: string)
| 137 | // Explicit languages target the plugin by name (the mocked provider answers |
| 138 | // loadPlugin) and route .py via the default extension map — no real .wasm. |
| 139 | const pythonExplicit = (mods: any, dir: string) => |
| 140 | mods.resolveNativeAst({ enabled: true, languages: ["python"] }, dir); |
| 141 | |
| 142 | it("dispatches by extension and tags confidence 'native' (routes)", async () => { |
| 143 | const dir = await writeFixture("routes", { "main.py": FASTAPI_FIXTURE }); |