This commit is contained in:
Joan Xie 2025-08-21 15:28:01 -07:00
commit 0b2658f5b0
No known key found for this signature in database
4 changed files with 14 additions and 8 deletions

View file

@ -41,7 +41,7 @@ describe("DXT CLI", () => {
// Commander outputs help to stderr when no command is provided
const execError = error as ExecSyncError;
expect(execError.stderr.toString()).toContain(
"Usage: dxt [options] [command]",
"Usage: mcpb [options] [command]",
);
}
});

View file

@ -3,7 +3,7 @@ import {
hasRequiredConfigMissing,
replaceVariables,
} from "../src/shared/config";
import type { McpbManifest, Logger } from "../src/types";
import type { Logger, McpbManifest } from "../src/types";
describe("replaceVariables", () => {
it("should replace variables in strings", () => {

View file

@ -27,7 +27,7 @@ describe("McpbManifestSchema", () => {
expect(result.success).toBe(false);
if (!result.success) {
const errors = result.error.issues.map((issue: any) => issue.path.join("."));
const errors = result.error.issues.map((issue) => issue.path.join("."));
expect(errors).toContain("author.name");
expect(errors).toContain("author.email");
expect(errors).toContain("server.type");

View file

@ -13,7 +13,11 @@ import * as fs from "fs";
import forge from "node-forge";
import * as path from "path";
import { signMcpbFile, unsignMcpbFile, verifyMcpbFile } from "../src/node/sign.js";
import {
signMcpbFile,
unsignMcpbFile,
verifyMcpbFile,
} from "../src/node/sign.js";
// Test directory
const TEST_DIR = path.join(__dirname, "test-output");