ToolJet/frontend/assets/libs/pyodide-0.23.2/module_test.html
2024-02-19 18:16:02 +05:30

26 lines
668 B
HTML

<!-- Bootstrap HTML for running the unit tests. -->
<!doctype html>
<html>
<head>
<script type="text/javascript">
window.logs = [];
console.log = function (message) {
window.logs.push(message);
};
console.warn = function (message) {
window.logs.push(message);
};
console.info = function (message) {
window.logs.push(message);
};
console.error = function (message) {
window.logs.push(message);
};
</script>
<script type="module">
import { loadPyodide } from "./pyodide.mjs";
window.loadPyodide = loadPyodide;
</script>
</head>
<body></body>
</html>