feat: release 2.0.0

This commit is contained in:
2025-04-17 17:23:05 +00:00
parent afa0e2f5dd
commit e6efedc7fe
14 changed files with 1039 additions and 1631 deletions

17
tests/mongo.test.ts Normal file
View File

@@ -0,0 +1,17 @@
import { assertEquals } from "@std/assert";
import { afterAll, describe, it } from "@std/testing/bdd";
import { MongoTestContainer } from "../containers/mongodb.ts";
const container = await MongoTestContainer.start();
describe("Mongo", () => {
afterAll(async () => {
await container.stop();
});
it("should spin up a mongodb container", async () => {
const res = await container.client.db("admin").command({ ping: 1 });
assertEquals(res.ok, 1);
});
});