We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d79ce51 commit b3494b1Copy full SHA for b3494b1
package.json
@@ -27,6 +27,7 @@
27
"README.md",
28
"index.js",
29
"shallow.js",
30
+ "stack.js",
31
"cjs/"
32
]
33
}
stack.js
@@ -0,0 +1,7 @@
1
+'use strict';
2
+
3
+if (process.env.NODE_ENV === 'production') {
4
+ throw Error('test renderer is not available in production mode.');
5
+} else {
6
+ module.exports = require('./cjs/react-test-renderer-stack.development');
7
+}
0 commit comments