Files
klz-cables.com/.pnpm-store/v10/files/c8/a49f071813625e2a2c5904e1052cc4b01412c01331269e4a9eeb42e71df0d7b4dee1d2b9b78994ceb0a1d6c04279f1eea8f6f352a47eee334d58b9f9986d48
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

20 lines
742 B
Plaintext

/**
* Globals that are used by our integration tests to modify the behavior of the job system during runtime.
* This is useful to avoid having to wait for the cron jobs to run, or to pause auto-running jobs.
*/ export const _internal_jobSystemGlobals = {
getCurrentDate: ()=>{
return new Date();
},
shouldAutoRun: true,
shouldAutoSchedule: true
};
export function _internal_resetJobSystemGlobals() {
_internal_jobSystemGlobals.getCurrentDate = ()=>new Date();
_internal_jobSystemGlobals.shouldAutoRun = true;
_internal_jobSystemGlobals.shouldAutoSchedule = true;
}
export const getCurrentDate = ()=>{
return _internal_jobSystemGlobals.getCurrentDate();
};
//# sourceMappingURL=getCurrentDate.js.map