Skip to content

Commit

Permalink
Remove TestUtils export
Browse files Browse the repository at this point in the history
  • Loading branch information
fbeaudoincoveo authored and louis-bompart committed Sep 4, 2024
1 parent edcf47d commit 16cb55d
Showing 1 changed file with 1 addition and 12 deletions.
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 @@ -562,7 +551,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

0 comments on commit 16cb55d

Please sign in to comment.