Skip to content

Commit

Permalink
remove exports
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpza committed Sep 11, 2024
1 parent cf94548 commit 97a8ea5
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions src/mongodb/mmsTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import { randomUUID } from "node:crypto";
import { type Db, MongoClient } from "mongodb";
import { afterAll, inject, test } from "vitest";

export type { ProvidedContext } from "../globalSetup.js";

let client: MongoClient | undefined;

afterAll(async () => {
Expand Down
2 changes: 0 additions & 2 deletions src/mongodb/setupFile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import { Db, MongoClient } from "mongodb";
import { afterAll, afterEach, beforeAll, beforeEach, inject } from "vitest";
// hack to keep imported vitest types
export type { TestContext } from "vitest";
// hack to fix pnpm build issue
export type {} from "../globalSetup.js";

import { randomUUID } from "node:crypto";

Expand Down
2 changes: 0 additions & 2 deletions src/mongoose/mmsTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import { randomUUID } from "node:crypto";
import { afterAll, inject, test } from "vitest";
import { type Connection, createConnection } from "mongoose";

export type { ProvidedContext } from "../globalSetup.js";

let connection: Connection | undefined;

afterAll(async () => {
Expand Down
4 changes: 0 additions & 4 deletions src/mongoose/setupFile.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
import { type Connection, createConnection } from "mongoose";
import { afterAll, afterEach, beforeAll, beforeEach, inject } from "vitest";
// hack to keep imported vitest types
export type { TestContext } from "vitest";
// hack to fix pnpm build issue
export type {} from "../globalSetup.js";

import { randomUUID } from "node:crypto";

Expand Down

0 comments on commit 97a8ea5

Please sign in to comment.