mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-20 18:55:29 -05:00
[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>
This commit is contained in:
committed by
GitHub
parent
2555833831
commit
0c54036466
17
pyscript.core/test/integration/micropython.js
Normal file
17
pyscript.core/test/integration/micropython.js
Normal file
@@ -0,0 +1,17 @@
|
||||
'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`));
|
||||
};
|
||||
Reference in New Issue
Block a user