Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrpospiech committed Feb 16, 2024
1 parent 9408463 commit 44833e7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/uniforms/__suites__/QuickForm.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import { render } from '@testing-library/react';
import React from 'react';
import type { QuickForm as QuickFormType } from 'uniforms';
import React, { ComponentType } from 'react';
import { ZodBridge } from 'uniforms-bridge-zod';
import z from 'zod';

export function testQuickForm(QuickForm: QuickFormType) {
export function testQuickForm(QuickForm: ComponentType<any>) {
const bridge = new ZodBridge({ schema: z.object({}) });

test('<QuickForm> - renders', () => {
Expand Down

0 comments on commit 44833e7

Please sign in to comment.