Exposing config type once resolved and running (#2175)

This commit is contained in:
Andrea Giammarchi
2024-09-17 17:04:32 +02:00
committed by GitHub
parent 84c7d69db9
commit dd86169f2a
4 changed files with 34 additions and 1 deletions

View File

@@ -114,3 +114,8 @@ test('Pyodide loader', async ({ page }) => {
const body = await page.evaluate(() => document.body.textContent);
await expect(body.includes('Loaded Pyodide')).toBe(true);
});
test('Py and Mpy config["type"]', async ({ page }) => {
await page.goto('http://localhost:8080/tests/js-integration/config_type.html');
await page.waitForSelector('html.mpy.py');
});