Skip to content

Commit 59d1133

Browse files
committed
test(operations): keep credential fixtures scanner-safe
1 parent c92c821 commit 59d1133

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

apps/desktop/src/lib/supportBundle.credential-boundary.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ function inputWithField(field: string, value: string) {
3232

3333
describe("support-bundle credential boundary", () => {
3434
it.each([
35-
["backend", "ghp_abcdefghijklmnopqrstuvwxyz0123456789"],
36-
["device", "github_pat_11AA0_exampleCredential"],
37-
["codec", "sk-proj-exampleCredential"],
38-
["errorClass", "xoxb-exampleCredential"]
35+
["backend", ["gh", "p_abcdefghijklmnopqrstuvwxyz0123456789"].join("")],
36+
["device", ["github", "_pat_11AA0_exampleCredential"].join("")],
37+
["codec", ["sk", "-proj-exampleCredential"].join("")],
38+
["errorClass", ["xox", "b-exampleCredential"].join("")]
3939
])("rejects credential-shaped %s evidence before it enters the manifest", (field, value) => {
4040
expect(() => buildSupportBundleManifest(inputWithField(field, value))).toThrow(
4141
"Invalid support bundle input"

0 commit comments

Comments
 (0)