chore: fixes test suites that use clearAndSeedEverything (#4080)

This commit is contained in:
Jarrod Flesch
2023-11-09 12:30:19 -05:00
committed by GitHub
parent cef4cbb0ee
commit dbc4ce71e6
40 changed files with 897 additions and 623 deletions

View File

@@ -0,0 +1,37 @@
import type { ArrayField } from '../../payload-types'
export const arrayDoc: Partial<ArrayField> = {
items: [
{
text: 'first row',
},
{
text: 'second row',
},
{
text: 'third row',
},
{
text: 'fourth row',
},
{
text: 'fifth row',
},
{
text: 'sixth row',
},
],
collapsedArray: [
{
text: 'initialize collapsed',
},
],
arrayWithMinRows: [
{
text: 'first row',
},
{
text: 'second row',
},
],
}