Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

431 B
Raw Blame
import { SchemaTransformation } from "effect"
import { describe, it } from "vitest"
import { assertFalse, assertTrue } from "../utils/assert.ts"

describe("SchemaTransformation", () => {
  it("isTransformation", () => {
    assertTrue(SchemaTransformation.isTransformation(SchemaTransformation.passthrough()))
    assertFalse(SchemaTransformation.isTransformation({ "~effect/SchemaTransformation/Transformation": false }))
  })
})