Skip to content

Conversation

pichfl
Copy link
Collaborator

@pichfl pichfl commented Mar 23, 2022

The previous behavior lead to a bug uncovered in #5: The SDK was only attached to window.td if the latter was already defined, which is not the case if window.td is defined in a deferred script.

We have no automatic tests for this behavior at the moment as Jest wouldn't allow us to do so. We should probably introduce some e2e testing solution like Playwright or Cypress in the future.

@pichfl pichfl added the bug Something isn't working label Mar 23, 2022
@winsmith winsmith merged commit 2b8771d into main Mar 23, 2022
@winsmith winsmith deleted the sdk-loading branch March 23, 2022 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants