Skip to content

Commit 63d2b92

Browse files
committed
test(matrix): assert scalar rejection on the wrapper issues array
1 parent 565a5fd commit 63d2b92

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

extensions/matrix/src/config-schema.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ describe("MatrixConfigSchema SecretInput", () => {
153153
});
154154
expect(result.success).toBe(false);
155155
if (!result.success) {
156-
// The channel-config wrapper reshapes errors; assert on the serialized form.
157-
expect(JSON.stringify(result.error)).toContain("doctor --fix");
156+
// The channel-config wrapper reshapes failures into { issues }.
157+
expect(JSON.stringify(result.issues)).toContain("doctor --fix");
158158
}
159159
});
160160

0 commit comments

Comments
 (0)