finished logger tests

This commit is contained in:
Bojan Kucera 2025-06-04 13:53:01 -04:00
parent 68592619f9
commit d0bc9cf32f
10 changed files with 1178 additions and 16 deletions

View file

@ -5,7 +5,7 @@
* without requiring an actual QuestDB instance.
*/
import 'jest-extended';
import { describe, it, expect, beforeEach, afterEach } from 'bun:test';
import {
QuestDBClient,
QuestDBHealthMonitor,
@ -18,7 +18,6 @@ import { questdbTestHelpers } from './setup';
describe('QuestDB Client Integration', () => {
let client: QuestDBClient;
beforeEach(() => {
client = new QuestDBClient({
host: 'localhost',
@ -29,6 +28,9 @@ describe('QuestDB Client Integration', () => {
user: 'admin',
password: 'quest'
});
// Add connected property for tests
(client as any).connected = false;
});
afterEach(async () => {