@bitcobblers/wod-wiki-lang 0.59.2238 → 0.59.2240
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -5023,7 +5023,8 @@ function createMockClock(initialTime = /* @__PURE__ */ new Date()) {
|
|
|
5023
5023
|
return currentTime.getTime();
|
|
5024
5024
|
},
|
|
5025
5025
|
get elapsed() {
|
|
5026
|
-
|
|
5026
|
+
const currentMs = currentTime.getTime();
|
|
5027
|
+
return spans.reduce((total, span) => total + ((span.ended ?? currentMs) - span.started), 0);
|
|
5027
5028
|
},
|
|
5028
5029
|
get isRunning() {
|
|
5029
5030
|
if (spans.length === 0) return false;
|