We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc6a72b commit 3268f5bCopy full SHA for 3268f5b
src/index.ts
@@ -27,6 +27,7 @@ if (!globalThis.AsyncLocalStorage) {
27
// ? we don't see a .cache() function, we'll polyfill it.
28
// * https://github.com/Xunnamius/next-test-api-route-handler/issues/1167
29
// {@symbiote/notInvalid react} // ? We assume this is coming from Next
30
+// istanbul ignore next
31
if (!require('react').cache) {
32
require('react').cache = function (fn: (args: never[]) => unknown) {
33
return function (...args: never[]) {
0 commit comments