New:Socket for Asana Is Now Available.Learn more
Get Started

@ultimat3/testing

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ultimat3/testing - npm Package Compare versions

Comparing version
17.0.0
to
18.0.0
+13
-13
package.json
{
"name": "@ultimat3/testing",
"version": "17.0.0",
"version": "18.0.0",
"description": "Test harness: cloned template DBs per worker, frozen clock, sealed network, 6 test types",

@@ -29,3 +29,3 @@ "license": "MIT",

"engines": {
"bun": ">=1.3.0"
"bun": ">=1.4.0"
},

@@ -37,14 +37,14 @@ "scripts": {

"dependencies": {
"@ultimat3/cache": "17.0.0",
"@ultimat3/core": "17.0.0",
"@ultimat3/db": "17.0.0",
"@ultimat3/entity": "17.0.0",
"@ultimat3/i18n": "17.0.0",
"@ultimat3/jobs": "17.0.0",
"@ultimat3/mail": "17.0.0",
"@ultimat3/policy": "17.0.0",
"@ultimat3/query": "17.0.0",
"@ultimat3/realtime": "17.0.0",
"@ultimat3/time": "17.0.0"
"@ultimat3/cache": "18.0.0",
"@ultimat3/core": "18.0.0",
"@ultimat3/db": "18.0.0",
"@ultimat3/entity": "18.0.0",
"@ultimat3/i18n": "18.0.0",
"@ultimat3/jobs": "18.0.0",
"@ultimat3/mail": "18.0.0",
"@ultimat3/policy": "18.0.0",
"@ultimat3/query": "18.0.0",
"@ultimat3/realtime": "18.0.0",
"@ultimat3/time": "18.0.0"
}
}

@@ -41,3 +41,6 @@ // The `clock` fixture: the only legal way for time to pass inside a test.

now: frozenNow,
advance: (duration) => advanceClock(toMs(duration)),
// The two names are the CALLER's: an author who wrote `clock.advance('3s')` never typed
// `toMs`, and `pass a finite duration to toMs` sends them looking for a knob their code does
// not contain. `@ultimat3/time`'s `toMs` takes them optionally for exactly this.
advance: (duration) => advanceClock(toMs(duration, 'clock.advance', 'duration')),
set: (instant) => {

@@ -44,0 +47,0 @@ setFrozenClock(instant);