We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3aa9ed9 commit 1ca0429Copy full SHA for 1ca0429
src/pure.js
@@ -44,6 +44,7 @@ function createConcurrentRoot(container, options) {
44
45
return {
46
hydrate(element) {
47
+ /* istanbul ignore if */
48
if (!options.hydrate) {
49
throw new Error(
50
'Attempted to hydrate a non-hydrateable root. This is a bug in `@testing-library/react`.',
0 commit comments