Skip to content

Example in readme doesn't work #43

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

Closed
antony opened this issue Aug 2, 2019 · 2 comments
Closed

Example in readme doesn't work #43

antony opened this issue Aug 2, 2019 · 2 comments

Comments

@antony
Copy link

antony commented Aug 2, 2019

I've not yet succeeded in getting any of it to work, but, based on my experiments:

  1. Need to import 'fireEvent' from '@testing-library/svelte'
  2. Need to import 'waitForElement' from '@testing-library/svelte'
  3. Need to install @testing-library/jest-dom in order to get 'toBeInTheDocument' matcher - this is in the docs, but it shouldn't be required for the basic example.
@benmonro
Copy link
Member

benmonro commented Aug 2, 2019

Would love a PR if you can fix it

@oieduardorabelo
Copy link
Contributor

i believe this issue was fixed by #44 @benmonro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants