All files / src/schemas About.ts

100% Statements 4/4
100% Branches 0/0
100% Functions 1/1
100% Lines 3/3

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 92x   2x 39x          
import Yup from '@/utils/localization';
 
export const createSchema = () =>
  Yup.object().shape({
    name: Yup.string().max(255).required(),
    email: Yup.string().email().max(255).required(),
    inquiry: Yup.string().max(1000).required(),
  });