mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
fix(qa): use valid Convex module filename
This commit is contained in:
@@ -3,7 +3,7 @@ import { httpRouter } from "convex/server";
|
||||
import { internal } from "./_generated/api";
|
||||
import type { Id } from "./_generated/dataModel";
|
||||
import { httpAction } from "./_generated/server";
|
||||
import { normalizeCredentialPayloadForKind } from "./payload-validation";
|
||||
import { normalizeCredentialPayloadForKind } from "./payload_validation";
|
||||
|
||||
type ActorRole = "ci" | "maintainer";
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ import { describe, expect, it } from "vitest";
|
||||
import {
|
||||
CredentialPayloadValidationError,
|
||||
normalizeCredentialPayloadForKind,
|
||||
} from "../qa/convex-credential-broker/convex/payload-validation.js";
|
||||
} from "../qa/convex-credential-broker/convex/payload_validation.js";
|
||||
|
||||
describe("QA Convex credential payload validation", () => {
|
||||
it("normalizes Discord credential payloads", () => {
|
||||
|
||||
@@ -260,7 +260,7 @@ describe("Mantis Telegram Desktop proof workflow", () => {
|
||||
'const TELEGRAM_USER_QA_CREDENTIAL_KIND = "telegram-user";',
|
||||
);
|
||||
expect(readFileSync(CREDENTIAL_SCRIPT, "utf8")).not.toMatch(
|
||||
/from "\.\.\/qa\/convex-credential-broker\/convex\/payload-validation\.js"/u,
|
||||
/from "\.\.\/qa\/convex-credential-broker\/convex\/payload_validation\.js"/u,
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user