finished logger tests
This commit is contained in:
parent
68592619f9
commit
d0bc9cf32f
10 changed files with 1178 additions and 16 deletions
|
|
@ -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 () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue