Declare Forgejo token config as secret ref
This commit is contained in:
parent
6d323393a3
commit
fc50e74989
2 changed files with 14 additions and 0 deletions
13
tests/manifest.spec.ts
Normal file
13
tests/manifest.spec.ts
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
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"
|
||||
});
|
||||
});
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue