@naturalcycles/db-lib
Advanced tools
Comparing version 9.24.0 to 9.24.1
@@ -61,2 +61,10 @@ "use strict"; | ||
}); | ||
// TimeMachine | ||
if (support.timeMachine) { | ||
test('getByIds(...) 10 minutes ago should return []', async () => { | ||
expect(await dao.getByIds([item1.id, 'abc'], { | ||
readAt: js_lib_1.localTime.now().minus(10, 'minute').unix, | ||
})).toEqual([]); | ||
}); | ||
} | ||
// SAVE | ||
@@ -63,0 +71,0 @@ if (support.nullValues) { |
@@ -48,3 +48,3 @@ { | ||
}, | ||
"version": "9.24.0", | ||
"version": "9.24.1", | ||
"description": "Lowest Common Denominator API to supported Databases", | ||
@@ -51,0 +51,0 @@ "keywords": [ |
@@ -83,2 +83,13 @@ import { Readable } from 'node:stream' | ||
// TimeMachine | ||
if (support.timeMachine) { | ||
test('getByIds(...) 10 minutes ago should return []', async () => { | ||
expect( | ||
await dao.getByIds([item1.id, 'abc'], { | ||
readAt: localTime.now().minus(10, 'minute').unix, | ||
}), | ||
).toEqual([]) | ||
}) | ||
} | ||
// SAVE | ||
@@ -85,0 +96,0 @@ if (support.nullValues) { |
434721
11408