-
Notifications
You must be signed in to change notification settings - Fork 222
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
TypeError When Running AlgoliaSearch inside Jest #1303
Comments
Can you reproduce this in a standalone project? I think
So my guess is that you call my guess of the stack trace:
algoliasearch-client-javascript/packages/client-search/src/createSearchClient.ts Lines 26 to 35 in 3aec216
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When running jest tests on components which are using the default export of
algoliasearch
, algolia appears to try and make requests out to the web to pull down its scripts. This causes a TypeError as the test environment is not supporting this:This is currently blocking us from accurately testing algoliasearch components.
The text was updated successfully, but these errors were encountered: