Files
horus-3d/tests/unit/packageManifest.test.ts
T
Luke The Dev 4fa4f13558 First Release of Claw3D (#11)
Co-authored-by: iamlukethedev <iamlukethedev@users.noreply.github.com>
2026-03-19 23:14:04 -05:00

20 lines
583 B
TypeScript

// @vitest-environment node
import fs from "node:fs";
import path from "node:path";
import { describe, expect, it } from "vitest";
describe("package manifest", () => {
it("does not export local claw3d bin", () => {
const packageJsonPath = path.join(process.cwd(), "package.json");
const parsed = JSON.parse(fs.readFileSync(packageJsonPath, "utf8")) as {
bin?: Record<string, unknown>;
};
const hasOpenclawStudioBin = Object.prototype.hasOwnProperty.call(
parsed.bin ?? {},
"claw3d"
);
expect(hasOpenclawStudioBin).toBe(false);
});
});