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

Commit eccf3e2

Browse files
fix: deps
1 parent ff526d1 commit eccf3e2

File tree

2 files changed

+510
-359
lines changed

2 files changed

+510
-359
lines changed

src/test/mysql.manual.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
runCommonDBTest,
77
TEST_TABLE,
88
} from '@naturalcycles/db-lib/dist/testing'
9-
import { requireEnvKeys, unzipToString, zipString } from '@naturalcycles/nodejs-lib'
9+
import { deflateString, inflateToString, requireEnvKeys } from '@naturalcycles/nodejs-lib'
1010
import { MysqlDB } from '../mysql.db'
1111

1212
require('dotenv').config()
@@ -75,7 +75,7 @@ test('fieldName with dot', async () => {
7575
test('buffer', async () => {
7676
const table = TEST_TABLE + '2'
7777

78-
const extra = await zipString('hello buffer')
78+
const extra = await deflateString('hello buffer')
7979

8080
const items = createTestItemsDBM(5).map(r => ({ ...r, extra }))
8181

@@ -86,7 +86,7 @@ test('buffer', async () => {
8686
await db.saveBatch(table, items)
8787
const { rows } = await db.runQuery(new DBQuery(table))
8888
// console.log(items2)
89-
console.log(await unzipToString(rows[0]!['extra']))
89+
console.log(await inflateToString(rows[0]!['extra']))
9090
expect(rows).toEqual(items)
9191
})
9292

0 commit comments

Comments
 (0)