Skip to content

Commit

Permalink
Update test names
Browse files Browse the repository at this point in the history
  • Loading branch information
hansott committed Mar 5, 2024
1 parent 0ce740f commit 67066ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion library/src/sinks/MongoDB.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
3 changes: 1 addition & 2 deletions library/src/sinks/Postgres.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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);
Expand Down

0 comments on commit 67066ae

Please sign in to comment.