/* eslint-disable import/prefer-default-export */ import { applyDefaults } from '@staticcms/core/actions/config'; import type { BaseField, Config } from '@staticcms/core'; export const createMockConfig = ( options: Omit>, 'collections'> & Pick, 'collections'>, ): Config => applyDefaults({ backend: { name: 'test-repo', }, ...options, });