Skip to content

Module '@testing-library/testcafe' has no exported member 'screen' #416

Description

@hjokwon

Describe the bug
I cannot use 'screen' module from testcafe libary

To Reproduce

  1. package file
   "dependencies": {
      "@testing-library/testcafe": "^3.3.1",
      "@testing-library/dom": "^6.16.0"
   }
  1. .testcaferc.json
  "clientScripts": [
    {
      "module": "./node_modules/@testing-library/dom/dist/@testing-library/dom.umd.js"
    }
  1. I tried to use screen in test
import {screen} from '@testing-library/testcafe'

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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