import { coercionKnownBad } from "../../../../universal/fixtures/decoder/index.js";
import type { AdapterSurface } from "../../../../universal/src/runner.js";

export const surface: AdapterSurface = {
  id: "decoder-coercion-bad",
  kind: "package",
  load: () => Promise.resolve(coercionKnownBad),
  witnesses: [
    {
      kind: "non-vacuity",
      selection: { matched: 1, expectedEmpty: false },
    },
    {
      kind: "precondition",
      preconditions: [{ name: "fixture-loaded", proven: true }],
    },
  ],
};
