Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(headless)!: Remove TestUtils export #4329

Merged
merged 14 commits into from
Sep 5, 2024
13 changes: 1 addition & 12 deletions packages/headless/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
import {polyfillCryptoNode} from './api/analytics/analytics-crypto-polyfill';
import {buildMockSearchEngine} from './test/mock-engine-v2';
import {buildMockRaw} from './test/mock-raw';
import {buildMockResult} from './test/mock-result';
import {createMockState} from './test/mock-state';
import * as HighlightUtils from './utils/highlight';

const TestUtils = {
buildMockRaw,
buildMockSearchEngine,
buildMockResult,
createMockState,
};

polyfillCryptoNode();

// 3rd Party Libraries
Expand Down Expand Up @@ -563,7 +552,7 @@ export * from './features/actions-history/ipx-actions-history-actions-loader';

// Types & Helpers
export {API_DATE_FORMAT} from './api/search/date/date-format';
export {TestUtils, HighlightUtils};
export {HighlightUtils};
export type {Result} from './api/search/search/result';
export type {FieldDescription} from './api/search/fields/fields-response';
export type {Raw} from './api/search/search/raw';
Expand Down
Loading