From 85943090c3e878550a87811f824ca4b668df91ee Mon Sep 17 00:00:00 2001 From: James J Balamuta Date: Fri, 16 Feb 2024 02:06:42 -0800 Subject: [PATCH] Add an await statement in test standalone doc. --- tests/standalone/monaco-pyodide-dependency-bug.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/standalone/monaco-pyodide-dependency-bug.html b/tests/standalone/monaco-pyodide-dependency-bug.html index 674c6ae..4cccc2e 100644 --- a/tests/standalone/monaco-pyodide-dependency-bug.html +++ b/tests/standalone/monaco-pyodide-dependency-bug.html @@ -41,7 +41,7 @@ // init Pyodide async function main() { - const dpyodide = import("https://cdn.jsdelivr.net/npm/pyodide@0.25.0/pyodide.mjs").then( + const dpyodide = await import("https://cdn.jsdelivr.net/npm/pyodide@0.25.0/pyodide.mjs").then( async ({loadPyodide}) => { const pyodideProcess = await loadPyodide( {indexURL: "https://cdn.jsdelivr.net/npm/pyodide@0.25.0/"}