Skip to content
This repository was archived by the owner on May 25, 2025. It is now read-only.

Commit dcd5066

Browse files
fix: deps
1 parent ca2e24b commit dcd5066

File tree

3 files changed

+242
-643
lines changed

3 files changed

+242
-643
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"@naturalcycles/nodejs-lib": "^13.1.1"
99
},
1010
"devDependencies": {
11-
"@naturalcycles/bench-lib": "^2.0.0",
11+
"@naturalcycles/bench-lib": "^3.0.0",
1212
"@naturalcycles/dev-lib": "^13.0.0",
1313
"@types/node": "^20.2.1",
1414
"jest": "^29.0.0"

src/testing/daoTest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Readable } from 'node:stream'
2-
import { _deepCopy, _pick, _sortBy, _omit, localTimeNow } from '@naturalcycles/js-lib'
2+
import { _deepCopy, _pick, _sortBy, _omit, nowUnix } from '@naturalcycles/js-lib'
33
import { _pipeline } from '@naturalcycles/nodejs-lib'
44
import { CommonDaoLogLevel, DBQuery } from '..'
55
import { CommonDB } from '../common.db'
@@ -255,7 +255,7 @@ export function runCommonDaoTest(db: CommonDB, quirks: CommonDBImplementationQui
255255
await dao.query().deleteByQuery()
256256

257257
// Test that id, created, updated are created
258-
const now = localTimeNow().unix()
258+
const now = nowUnix()
259259

260260
await dao.runInTransaction(async tx => {
261261
const row = _omit(item1, ['id', 'created', 'updated'])

0 commit comments

Comments
 (0)