chore: adds e2e tests for nested views (#3962)

This commit is contained in:
Jacob Fletcher
2023-11-02 13:13:29 -04:00
committed by GitHub
parent 6b1b4ffd27
commit f7d4c04f65
14 changed files with 337 additions and 102 deletions

View File

@@ -22,7 +22,7 @@ export default buildConfigWithDefaults({
delete: () => true,
update: () => true,
},
endpoints: [...(collectionEndpoints || [])],
endpoints: collectionEndpoints,
fields: [
{
name: 'title',
@@ -45,7 +45,7 @@ export default buildConfigWithDefaults({
globals: [
{
slug: globalSlug,
endpoints: [...(globalEndpoints || [])],
endpoints: globalEndpoints,
fields: [],
},
{
@@ -60,7 +60,7 @@ export default buildConfigWithDefaults({
],
},
],
endpoints: [...(endpoints || [])],
endpoints,
admin: {
webpack: (config) => {
return {