mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-25 01:13:03 +00:00
17 lines
483 B
TypeScript
17 lines
483 B
TypeScript
import fs from "node:fs";
|
|
import { describe, expect, it } from "vitest";
|
|
|
|
type DiffsPackageManifest = {
|
|
dependencies?: Record<string, string>;
|
|
};
|
|
|
|
describe("diffs package manifest", () => {
|
|
it("keeps runtime dependencies in the package manifest", () => {
|
|
const packageJson = JSON.parse(
|
|
fs.readFileSync(new URL("../package.json", import.meta.url), "utf8"),
|
|
) as DiffsPackageManifest;
|
|
|
|
expect(packageJson.dependencies).toHaveProperty("@pierre/diffs");
|
|
});
|
|
});
|