Skip to content

TypeScript definitions missing waitFor #486

Closed
@NiGhTTraX

Description

@NiGhTTraX
  • dom-testing-library version: 10
  • node version: 12.16.0
  • yarn version: 1.22

Relevant code or config

import { waitFor } from '@testing-library/dom';

What happened:

TS2305: Module '"../../../node_modules/@types/testing-library__dom"'
has no exported member 'waitFor'.

Problem description: saw the deprecation warnings after upgrading to latest version, tried to take the action suggested in the message, ran into this problem.

Suggested solution: add the type in testing_library__dom?

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