{"version":3,"sources":["jsdelivr-header.js","/npm/jest-react-rerendering@0.0.1-alpha.5/src/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNK,OAAO,OAKV,OAAO,OAAO,OAAO,CACnB,gBAAA,CAAiB,EAAW,GAC1B,MACM,GADe,OAAO,mBAAqB,CAAC,GACjB,IAAc,EAG/C,MAAO,CACL,QAAS,IAAM,YAAY,kBAA8B,IACzD,KAJW,IAAgB,EAM/B,IAdF,QAAQ,MACN","file":"/npm/jest-react-rerendering@0.0.1-alpha.5/src/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/jest-react-rerendering@0.0.1-alpha.5/src/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","if (!global.expect) {\n  console.error(\n    \"Coud not use jest-react-rendering, as expect is not part of the global namespace\"\n  );\n} else {\n  global.expect.extend({\n    toBeUpdatedTimes(Component, expectedTimes) {\n      const renderingMap = global.__react_rerenders || {};\n      const actualTimes = renderingMap[Component] || 0;\n      const pass = actualTimes === expectedTimes;\n\n      return {\n        message: () => `expected ${expectedTimes} renders, got ${actualTimes}`,\n        pass\n      };\n    }\n  });\n}\n"]}