For Jest, make sure you set --env=jsdom at CLI, or "testEnvironment": "jsdom" in jest config, then you don't need to import it - WickyNilliams.
確定! 回上一頁