Closed HerbCaudill closed 4 years ago
It took me a while to figure out how to make sure all test suites had fake-indexeddb loaded -- I spent some time trying to do this in a custom TestEnvironment, which was a dead end, but it turns out it was a lot easier than that.
fake-indexeddb
Funny, I recently used Jest for the first time, and I also used fake-indexeddb in that project, and I didn't know it could be configured so simply!
It took me a while to figure out how to make sure all test suites had
fake-indexeddb
loaded -- I spent some time trying to do this in a custom TestEnvironment, which was a dead end, but it turns out it was a lot easier than that.