test: passing array fields test suite (#5383)

* test: array tests passing except bulk update

* test: passing array fields test suite
This commit is contained in:
Patrik
2024-03-20 12:00:56 -04:00
committed by GitHub
parent 0dd0f39250
commit cb5d005e68
62 changed files with 227 additions and 122 deletions

View File

@@ -1,4 +1,5 @@
'use client'
import type { ErrorProps } from 'payload/types'
import React from 'react'

View File

@@ -25,7 +25,7 @@ const setSubmitted: SetSubmitted = () => undefined
const reset: Reset = () => undefined
export const initContextState: Context = {
addFieldRow: async () => undefined,
addFieldRow: () => undefined,
buildRowErrors: () => undefined,
createFormData,
disabled: false,
@@ -38,7 +38,7 @@ export const initContextState: Context = {
getFields: (): FormState => ({}),
getSiblingData,
removeFieldRow: () => undefined,
replaceFieldRow: async () => undefined,
replaceFieldRow: () => undefined,
replaceState: () => undefined,
reset,
setModified,