Damien George c1513a078d tests/ports/webassembly: Add webassembly JS tests.
Signed-off-by: Damien George <damien@micropython.org>
2024-03-22 14:31:25 +11:00

9 lines
307 B
JavaScript

import(process.argv[2]).then((mp) => {
mp.loadMicroPython().then((py) => {
py.runPython("1");
py.runPython("print('hello')");
py.runPython("import sys; print(f'hello from {sys.platform}')");
py.runPython("import collections; print(collections.OrderedDict)");
});
});