Skip to content

Commit 07a24fb

Browse files
fix: correct ManagedTimer require destructuring in logo.js (#7737)
1 parent 5ac59cd commit 07a24fb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

js/logo.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,8 +316,8 @@ class Logo {
316316
} else {
317317
// Node.js / Jest environment — require the module
318318
try {
319-
const { ManagedTimer: MT } = require("./utils/ManagedTimer");
320-
this._timerManager = new MT();
319+
const ManagedTimerCtor = require("./utils/ManagedTimer");
320+
this._timerManager = new ManagedTimerCtor();
321321
} catch (e) {
322322
// Fallback: create a minimal shim so the engine still works
323323
this._timerManager = {

0 commit comments

Comments
 (0)