diff --git a/library/src/sinks/MongoDB.test.ts b/library/src/sinks/MongoDB.test.ts index 92ae6f70b..819aaacf4 100644 --- a/library/src/sinks/MongoDB.test.ts +++ b/library/src/sinks/MongoDB.test.ts @@ -23,7 +23,7 @@ const context: Context = { cookies: {}, }; -t.test("we can highjack the MongoDB library", async (t) => { +t.test("it inspects method calls and blocks if needed", async (t) => { const hooks = new Hooks(); new MongoDB().wrap(hooks); applyHooks(hooks); diff --git a/library/src/sinks/Postgres.test.ts b/library/src/sinks/Postgres.test.ts index 88f62a6ca..96b2d576a 100644 --- a/library/src/sinks/Postgres.test.ts +++ b/library/src/sinks/Postgres.test.ts @@ -8,7 +8,6 @@ import { applyHooks } from "../agent/applyHooks"; import { Hooks } from "../agent/hooks/Hooks"; import { LoggerNoop } from "../agent/logger/LoggerNoop"; import { Postgres } from "./Postgres"; -import type { Client } from "pg"; const context: Context = { remoteAddress: "::1", @@ -22,7 +21,7 @@ const context: Context = { cookies: {}, }; -t.test("We can hijack Postgres class", async () => { +t.test("it inspects query method calls and blocks if needed", async () => { const hooks = new Hooks(); new Postgres().wrap(hooks); applyHooks(hooks);