davidhu2000 / react-spinners

A collection of loading spinner components for react
https://www.davidhu.io/react-spinners
MIT License
3.01k stars 262 forks source link

Tests failing because called `mount()` without a global document #455

Closed Seth10001 closed 2 years ago

Seth10001 commented 2 years ago

Describe the bug The tests are currently failing on master with the following error:

Test suite failed to run

    It looks like you called `mount()` without a global document being loaded.

To Reproduce Steps to reproduce the behavior:

  1. npm run jest
davidhu2000 commented 2 years ago

probably need to get rid of enzyme and replace with RTL

davidhu2000 commented 2 years ago

closing this in favor of #472