Skip to content

Commit 5fe83df

Browse files
committed
test: adjust logging configuration in repository tests
Disable logging in find.test.ts and enable logging in insert.test.ts to improve test output clarity and debugging capabilities.
1 parent b4ebb4b commit 5fe83df

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

__tests__/repository/find.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ describe("Repository findRows", () => {
2828
beforeAll(async () => {
2929
await setupTestTables();
3030
repository = new Repository("users", executor, {
31-
logging: true
31+
// logging: true
3232
});
3333
});
3434

__tests__/repository/insert.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ describe("Repository - insert", () => {
1111

1212
beforeAll(async () => {
1313
await setupTestTables();
14-
repository = new Repository("users", executor);
14+
repository = new Repository("users", executor, {
15+
logging: true
16+
});
1517
});
1618

1719
afterEach(async () => {

0 commit comments

Comments
 (0)