Files
pyscript/pyscript.core/test/integration/micropython.js
Andrea Giammarchi 0c54036466 [next] Add basic integrations tests (#1576)
* [next] WIP: Add basic integrations tests

* fix typos in  README.md

* Update README.md to specify when files are _ files ignored

---------

Co-authored-by: Fabio Pliger <fpliger@users.noreply.github.com>
2023-07-19 10:18:17 +02:00

18 lines
590 B
JavaScript

'use strict';
const { shared, python } = require('./_shared.js');
module.exports = (playwright, baseURL) => {
const { test } = playwright;
test('MicroPython bootstrap', python.bootstrap(playwright, baseURL));
test('MicroPython fetch', python.fetch(playwright, `${baseURL}/fetch.html`));
test('MicroPython to MicroPython Worker', shared.worker(playwright, `${baseURL}/worker.html`));
test('MicroPython Worker window', shared.workerWindow(playwright, baseURL));
test('MicroPython to Wasmoon Worker', shared.worker(playwright, `${baseURL}/worker-lua.html`));
};