We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b201e0 commit a776ef6Copy full SHA for a776ef6
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