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
1 line
1.2 KiB
Plaintext
1 line
1.2 KiB
Plaintext
{"version":3,"sources":["../../../src/queues/utilities/getCurrentDate.ts"],"sourcesContent":["/**\n * Globals that are used by our integration tests to modify the behavior of the job system during runtime.\n * This is useful to avoid having to wait for the cron jobs to run, or to pause auto-running jobs.\n */\nexport const _internal_jobSystemGlobals = {\n getCurrentDate: () => {\n return new Date()\n },\n shouldAutoRun: true,\n shouldAutoSchedule: true,\n}\n\nexport function _internal_resetJobSystemGlobals() {\n _internal_jobSystemGlobals.getCurrentDate = () => new Date()\n _internal_jobSystemGlobals.shouldAutoRun = true\n _internal_jobSystemGlobals.shouldAutoSchedule = true\n}\n\nexport const getCurrentDate: () => Date = () => {\n return _internal_jobSystemGlobals.getCurrentDate()\n}\n"],"names":["_internal_jobSystemGlobals","getCurrentDate","Date","shouldAutoRun","shouldAutoSchedule","_internal_resetJobSystemGlobals"],"mappings":"AAAA;;;CAGC,GACD,OAAO,MAAMA,6BAA6B;IACxCC,gBAAgB;QACd,OAAO,IAAIC;IACb;IACAC,eAAe;IACfC,oBAAoB;AACtB,EAAC;AAED,OAAO,SAASC;IACdL,2BAA2BC,cAAc,GAAG,IAAM,IAAIC;IACtDF,2BAA2BG,aAAa,GAAG;IAC3CH,2BAA2BI,kBAAkB,GAAG;AAClD;AAEA,OAAO,MAAMH,iBAA6B;IACxC,OAAOD,2BAA2BC,cAAc;AAClD,EAAC"} |