import { describe, expect, it } from "@suaveplan/testing/runner"; describe("dep-graph", () => { it("package has correct name", { timeout: 5000 }, async () => { const pkg = await import("../package.json", { with: { type: "json" } }); expect(pkg.default.name).toBe("@suaveplan/storage-s3"); }); it("exports S3 class", { timeout: 30000 }, async () => { const { S3 } = await import("../src/index.js"); expect(typeof S3).toBe("function"); }); it("exports S3StorageError", { timeout: 30000 }, async () => { const { S3StorageError } = await import("../src/index.js"); expect(typeof S3StorageError).toBe("function"); }); });