<commit_before>import { algoliasearch } from '../.'; // When using TypeScript
import { SearchClient } from '../../../search-client/src';

describe('algoliasearch', (): void => {
  it('creates an instance of the search client', (): void => {
    const client = algoliasearch('foo', 'bar');
    expect(client).toBeInstanceOf(SearchClient);
    expect(client.appId).toBe('foo');
  });
});<commit_msg>fix: imports search client on relative module<commit_after>import { algoliasearch } from '../.'; // When using TypeScript
import { SearchClient } from '@algolia/search-client';

describe('algoliasearch', () => {
  it('creates an instance of the search client', () => {
    const client = algoliasearch('foo', 'bar');
    expect(client).toBeInstanceOf(SearchClient);
    expect(client.appId).toBe('foo');
  });
});
{'fraction_non_alphanumeric': 0.18641975308641975, 'fraction_numerical': 0.0, 'mean_word_length': 4.406666666666666, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6268171', 'n_tokens_mistral': 240, 'n_tokens_neox': 238, 'n_words': 56}