MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / onFileRemoved

Function onFileRemoved

src/test/tester.js:614–630  ·  view source on GitHub ↗
(removedFile)

Source from the content-addressed store, hash-verified

612 });
613
614 const onFileRemoved = (removedFile) => {
615 if (removedFile.id === "test-runner") {
616 $pageBody = null;
617 $statsTotal = null;
618 $statsPassed = null;
619 $statsFailed = null;
620 $statsSkipped = null;
621 $statsSuccessRate = null;
622 $progressBar = null;
623 $runBtn = null;
624 $suiteList = null;
625 suiteElementsMap.clear();
626 activeRunners = [];
627
628 editorManager.off("remove-file", onFileRemoved);
629 }
630 };
631 editorManager.on("remove-file", onFileRemoved);
632
633 testRunnerFile.setCustomTitle(() => "Verification");

Callers

nothing calls this directly

Calls 2

offMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected