Skip to content

Commit

Permalink
Fix pyodide path
Browse files Browse the repository at this point in the history
  • Loading branch information
whitphx committed Oct 24, 2023
1 parent b02eb49 commit ac73dad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyodide-e2e/src/tests/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const IS_NODE = typeof window === 'undefined';

export async function setupPyodideForTest(): Promise<PyodideInterface> {
const pyodide = await loadPyodide({
indexURL: path.resolve("node_modules/pyodide"), // pnpm puts pyodide at this path
indexURL: "https://cdn.jsdelivr.net/pyodide/v0.23.4/full/"
});
await pyodide.loadPackage("micropip");
const micropip = pyodide.pyimport("micropip");
Expand Down

0 comments on commit ac73dad

Please sign in to comment.