mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-19 18:27:29 -05:00
Add Pyodide lockFileURL test (#2209)
This commit is contained in:
committed by
GitHub
parent
f827efe2fc
commit
febbb031ac
@@ -121,3 +121,10 @@ test('Py and Mpy config["type"]', async ({ page }) => {
|
||||
await page.goto('http://localhost:8080/tests/javascript/config_type.html');
|
||||
await page.waitForSelector('html.mpy.py');
|
||||
});
|
||||
|
||||
test('Pyodide lockFileURL vs CDN', async ({ page }) => {
|
||||
await page.goto('http://localhost:8080/tests/javascript/pyodide-cache/');
|
||||
await page.waitForSelector('html.done');
|
||||
const body = await page.evaluate(() => document.body.textContent);
|
||||
await expect(body).toBe('OK');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user