Setting the file. One moment.
Chapter 06 · Clickhouse Js Node Rowbinary
Subchapter 6.79
tests/AggregateFunction.write.test.ts
TypeScript10 lines411 B
import { describe, expect, it } from "vitest";
import { encode } from "./encode.js";
import { writeAggregateFunction } from "../src/writers/aggregateFunction.js";
describe("writeAggregateFunction", () => {
it("throws — opaque, unframed state is not generically encodable", () =>
expect(() => encode(writeAggregateFunction, undefined as never)).toThrow(
/AggregateFunction is opaque/,
));
});