13 lines
376 B
TypeScript
13 lines
376 B
TypeScript
import { describe, expect, it } from "vitest";
|
|
import manifest from "../src/manifest.js";
|
|
|
|
describe("manifest", () => {
|
|
it("declares the Forgejo token config as a secret ref", () => {
|
|
const tokenField = manifest.instanceConfigSchema?.properties?.forgejoTokenRef;
|
|
|
|
expect(tokenField).toMatchObject({
|
|
type: "string",
|
|
format: "secret-ref"
|
|
});
|
|
});
|
|
});
|