mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-20 02:37:41 -05:00
* [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>
18 lines
590 B
JavaScript
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`));
|
|
};
|