Skip to content

Commit ac3f7cb

Browse files
committed
fix: ts erros in test file
1 parent 7b01b26 commit ac3f7cb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/core/src/utils/schemaValidator.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,9 @@ describe('SchemaValidator', () => {
184184
};
185185
const params = { options: { enabled: 'true' } };
186186
expect(SchemaValidator.validate(nestedSchema, params)).toBeNull();
187-
expect((params.options as { enabled: boolean }).enabled).toBe(true);
187+
expect((params.options as unknown as { enabled: boolean }).enabled).toBe(
188+
true,
189+
);
188190
});
189191

190192
it('should not affect non-boolean strings', () => {

0 commit comments

Comments
 (0)