dify/web/app/components/base/form/hooks/index.spec.ts
akashseth-ifp 4e142f72e8
test(base): add test coverage for more base/form components (#32437)
Co-authored-by: sahil-infocusp <73810410+sahil-infocusp@users.noreply.github.com>
2026-02-25 10:47:25 +08:00

13 lines
503 B
TypeScript

import * as hookExports from './index'
import { useCheckValidated } from './use-check-validated'
import { useGetFormValues } from './use-get-form-values'
import { useGetValidators } from './use-get-validators'
describe('hooks index exports', () => {
it('should re-export all hook modules', () => {
expect(hookExports.useCheckValidated).toBe(useCheckValidated)
expect(hookExports.useGetFormValues).toBe(useGetFormValues)
expect(hookExports.useGetValidators).toBe(useGetValidators)
})
})