@contentful/integration-test-utils
Version:
Utilities for Contentful integration tests
13 lines (12 loc) • 501 B
TypeScript
import { Space } from 'contentful-management/types';
import { ClientAPI } from 'contentful-management';
declare type Repo = 'CMA' | 'CDA' | 'Export' | 'Import' | 'Migration' | 'CLI';
export declare type CreateSpaceParams = {
client: ClientAPI;
organizationId: string;
repo: Repo;
language: 'JS';
testSuiteName: string;
};
export declare function createTestSpace({ client, organizationId, repo, language, testSuiteName, }: CreateSpaceParams): Promise<Space>;
export {};