Skip to content

Commit

Permalink
chore: deps
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillgroshkov committed Apr 6, 2024
1 parent ec8947c commit fd2b98f
Show file tree
Hide file tree
Showing 6 changed files with 1,042 additions and 1,081 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@naturalcycles/mongo-lib",
"scripts": {
"prepare": "husky install"
"prepare": "husky"
},
"dependencies": {
"@naturalcycles/db-lib": "^9.0.0",
Expand Down
4 changes: 0 additions & 4 deletions src/test/mongo.manual.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import { runCommonDaoTest, runCommonDBTest } from '@naturalcycles/db-lib/dist/te
import {
createTestItemsBM,
testItemBMSchema,
testItemDBMSchema,
testItemTMSchema,
TEST_TABLE,
} from '@naturalcycles/db-lib/dist/testing/test.model'
import { requireEnvKeys } from '@naturalcycles/nodejs-lib'
Expand All @@ -31,9 +29,7 @@ test.skip('some', async () => {
const dao = new CommonDao({
table: TEST_TABLE,
db: mongoDB,
dbmSchema: testItemDBMSchema,
bmSchema: testItemBMSchema,
tmSchema: testItemTMSchema,
logStarted: true,
logLevel: CommonDaoLogLevel.DATA_FULL,
})
Expand Down
5 changes: 5 additions & 0 deletions src/test/setupJest.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { jestLog, jestLogger } from '@naturalcycles/dev-lib/dist/testing'

// Patch console functions so jest doesn't log it so verbose
console.log = console.warn = jestLog
console.error = jestLogger.error.bind(jestLogger)
4 changes: 2 additions & 2 deletions tsconfig.prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"extends": "./tsconfig.json",
"compilerOptions": {
"declaration": true,
"sourceMap": false
"sourceMap": false,
},
"exclude": ["**/__exclude", "src/test", "src/**/*.test.*"]
"exclude": ["**/__exclude", "src/test", "src/**/*.test.*"],
}
Loading

0 comments on commit fd2b98f

Please sign in to comment.