Fix failing tests (#978)

This commit is contained in:
Fábio Rosado
2022-11-24 09:46:06 +00:00
committed by GitHub
parent 061d4b3f72
commit cafebd68f2
5 changed files with 12 additions and 12 deletions

View File

@@ -1,4 +1,3 @@
import type { PyScriptApp } from '../main';
import type { AppConfig } from '../pyconfig';
import type { UserError } from '../exceptions';
import type { Runtime } from '../runtime';
@@ -44,7 +43,6 @@ export class SplashscreenPlugin extends Plugin {
customElements.define('py-splashscreen', PySplashscreen);
this.elem = <PySplashscreen>document.createElement('py-splashscreen');
document.body.append(this.elem);
document.addEventListener("py-status-message", (e: CustomEvent) => {
const msg = e.detail;
this.elem.log(msg);