We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a75190d commit 8325547Copy full SHA for 8325547
tests/pkg.test.ts
@@ -0,0 +1,11 @@
1
+import { describe, expect, test } from "bun:test";
2
+
3
+describe("Package metadata", () => {
4
+ test("has required fields", () => {
5
+ const pkg = require("../package.json");
6
+ expect(pkg.name).toBe("zerodrop");
7
+ expect(pkg).toHaveProperty("scripts");
8
+ expect(pkg.scripts).toHaveProperty("dev");
9
+ expect(pkg.scripts).toHaveProperty("build");
10
+ });
11
+});
0 commit comments