"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[70937],{3905:(e,r,t)=>{t.d(r,{Zo:()=>l,kt:()=>g});varo=t(67294);functionn(e,r,t){returnrine?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}functiona(e,r){vart=Object.keys(e);if(Object.getOwnPropertySymbols){varo=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){returnObject.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}returnt}functionp(e){for(varr=1;r<arguments.length;r++){vart=null!=arguments[r]?arguments[r]:{};r%2?a(Object(t),!0).forEach((function(r){n(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):a(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}returne}functions(e,r){if(null==e)return{};vart,o,n=function(e,r){if(null==e)return{};vart,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)t=a[o],r.indexOf(t)>=0||(n[t]=e[t]);returnn}(e,r);if(Object.getOwnPropertySymbols){vara=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)t=a[o],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(n[t]=e[t])}returnn}vari=o.createContext({}),c=function(e){varr=o.useContext(i),t=r;returne&&(t="function"==typeofe?e(r):p(p({},r),e)),t},l=function(e){varr=c(e.components);returno.createElement(i.Provider,{value:r},e.children)},u={inlineCode:"code",wrapper:function(e){varr=e.children;returno.createElement(o.Fragment,{},r)}},v=o.forwardRef((function(e,r){vart=e.components,n=e.mdxType,a=e.originalType,i=e.parentName,l=s(e,["components","mdxType","originalType","parentName"]),v=c(t),g=n,f=v["".concat(i,".").concat(g)]||v[g]||u[g]||a;returnt?o.createElement(f,p(p({ref:r},l),{},{components:t})):o.createElement(f,p({ref:r},l))}));functiong(e,r){vart=arguments,n=r&&r.mdxType;if("string"==typeofe||n){vara=t.length,p=newArray(a);p[0]=v;vars={};for(variinr)hasOwnProperty.call(r,i)&&(s[i]=r[i]);s.originalType=e,s.mdxType="string"==typeofe?e:n,p[1]=s;for(varc=2;c<a;c++)p[c]=t[c];returno.createElement.apply(null,p)}returno.createElement.apply(null,t)}v.displayName="MDXCreateElement"},32135:(e,r,t)=>{t.r(r),t.d(r,{assets:()=>c,contentTitle:()=>s,default:()=>v,frontMatter:()=>p,metadata:()=>i,toc:()=>l});t(67294);varo=t(3905);functionn(){returnn=Object.assign||function(e){for(varr=1;r<arguments.length;r++){vart=arguments[r];for(varoint)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}returne},n.apply(this,arguments)}functiona(e,r){if(null==e)return{};vart,o,n=function(e,r){if(null==e)return{};vart,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)t=a[o],r.indexOf(t)>=0||(n[t]=e[t]);returnn}(e,r);if(Object.getOwnPropertySymbols){vara=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)t=a[o],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(n[t]=e[t])}returnn}constp={sidebar_label:"Coverage.stopJSCoverage"},s="Coverage.stopJSCoverage() method",i={unversionedId:"api/puppeteer.coverage.stopjscoverage",id:"api/puppeteer.coverage.stopjscoverage",title:"Coverage.stopJSCoverage() method",description:"Promise that resolves to the array of coverage reports for all scripts.",source:"@site/../docs/api/puppeteer.coverage.stopjscoverage.md",sourceDirName:"api",slug:"/api/puppeteer.coverage.stopjscoverage",permalink:"/next/api/puppeteer.coverage.stopjscoverage",draft:!1,tags:[],version:"current",frontMatter:{sidebar_label:"Coverage.stopJSCoverage"},sidebar:"api",previous:{title:"Coverage.stopCSSCoverage",permalink:"/next/api/puppeteer.coverage.stopcsscoverage"},next:{title:"TimeoutError",permalink:"/next/api/puppeteer.timeouterror"}},c={},l=[{value:"Signature:",id:"signature",level:4},{value:"Remarks",id:"remarks",level:2}],u={toc:l};functionv(e){var{components:r}=e,t=a(e,["components"]);return(0,o.kt)("wrapper",n({},u,t,{components:r,mdxType:"MDXLayout"}),(0,o.kt)("h1",n({},{id:"coveragestopjscoverage-method"}),"Coverage.stopJSCoverage() method"),(0,o.kt)("p",null,"Promisethatresolvestothearrayofcoveragereports