Skip to content

Example in readme doesn't work #43

Closed
@antony

Description

@antony

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions