Skip to content

Commit

Permalink
fix: deps
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillgroshkov committed May 10, 2024
1 parent ca2e24b commit dcd5066
Show file tree
Hide file tree
Showing 3 changed files with 242 additions and 643 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"@naturalcycles/nodejs-lib": "^13.1.1"
},
"devDependencies": {
"@naturalcycles/bench-lib": "^2.0.0",
"@naturalcycles/bench-lib": "^3.0.0",
"@naturalcycles/dev-lib": "^13.0.0",
"@types/node": "^20.2.1",
"jest": "^29.0.0"
Expand Down
4 changes: 2 additions & 2 deletions src/testing/daoTest.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Readable } from 'node:stream'
import { _deepCopy, _pick, _sortBy, _omit, localTimeNow } from '@naturalcycles/js-lib'
import { _deepCopy, _pick, _sortBy, _omit, nowUnix } from '@naturalcycles/js-lib'
import { _pipeline } from '@naturalcycles/nodejs-lib'
import { CommonDaoLogLevel, DBQuery } from '..'
import { CommonDB } from '../common.db'
Expand Down Expand Up @@ -255,7 +255,7 @@ export function runCommonDaoTest(db: CommonDB, quirks: CommonDBImplementationQui
await dao.query().deleteByQuery()

// Test that id, created, updated are created
const now = localTimeNow().unix()
const now = nowUnix()

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

0 comments on commit dcd5066

Please sign in to comment.