mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-27 07:28:38 +00:00
refactor: rename clawdbot to moltbot with legacy compat
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
|
||||
import { ClawdbotSchema } from "./zod-schema.js";
|
||||
import { MoltbotSchema } from "./zod-schema.js";
|
||||
|
||||
describe("skills entries config schema", () => {
|
||||
it("accepts custom fields under config", () => {
|
||||
const res = ClawdbotSchema.safeParse({
|
||||
const res = MoltbotSchema.safeParse({
|
||||
skills: {
|
||||
entries: {
|
||||
"custom-skill": {
|
||||
@@ -22,7 +22,7 @@ describe("skills entries config schema", () => {
|
||||
});
|
||||
|
||||
it("rejects unknown top-level fields", () => {
|
||||
const res = ClawdbotSchema.safeParse({
|
||||
const res = MoltbotSchema.safeParse({
|
||||
skills: {
|
||||
entries: {
|
||||
"custom-skill": {
|
||||
|
||||
Reference in New Issue
Block a user