puppeteer/assets/js/68813861.69e3b5ac.js
release-please[bot] af1724b9d9 deploy: 990635abc9
2022-11-02 10:30:03 +00:00

1 line
4.6 KiB
JavaScript

"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[58424],{3905:(e,t,r)=>{r.d(t,{Zo:()=>s,kt:()=>f});var o=r(67294);function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var i=o.createContext({}),p=function(e){var t=o.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},s=function(e){var t=p(e.components);return o.createElement(i.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return o.createElement(o.Fragment,{},t)}},v=o.forwardRef((function(e,t){var r=e.components,n=e.mdxType,a=e.originalType,i=e.parentName,s=c(e,["components","mdxType","originalType","parentName"]),v=p(r),f=n,g=v["".concat(i,".").concat(f)]||v[f]||u[f]||a;return r?o.createElement(g,l(l({ref:t},s),{},{components:r})):o.createElement(g,l({ref:t},s))}));function f(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var a=r.length,l=new Array(a);l[0]=v;var c={};for(var i in t)hasOwnProperty.call(t,i)&&(c[i]=t[i]);c.originalType=e,c.mdxType="string"==typeof e?e:n,l[1]=c;for(var p=2;p<a;p++)l[p]=r[p];return o.createElement.apply(null,l)}return o.createElement.apply(null,r)}v.displayName="MDXCreateElement"},36459:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>c,default:()=>v,frontMatter:()=>l,metadata:()=>i,toc:()=>s});r(67294);var o=r(3905);function n(){return n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},n.apply(this,arguments)}function a(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}const l={sidebar_label:"JSCoverageOptions.useBlockCoverage"},c="JSCoverageOptions.useBlockCoverage property",i={unversionedId:"api/puppeteer.jscoverageoptions.useblockcoverage",id:"version-19.2.1/api/puppeteer.jscoverageoptions.useblockcoverage",title:"JSCoverageOptions.useBlockCoverage property",description:"Whether to collect coverage information at the block level. If true, coverage will be collected at the block level (this is the default). If false, coverage will be collected at the function level.",source:"@site/versioned_docs/version-19.2.1/api/puppeteer.jscoverageoptions.useblockcoverage.md",sourceDirName:"api",slug:"/api/puppeteer.jscoverageoptions.useblockcoverage",permalink:"/api/puppeteer.jscoverageoptions.useblockcoverage",draft:!1,tags:[],version:"19.2.1",frontMatter:{sidebar_label:"JSCoverageOptions.useBlockCoverage"},sidebar:"api",previous:{title:"JSCoverageOptions.resetOnNavigation",permalink:"/api/puppeteer.jscoverageoptions.resetonnavigation"},next:{title:"KeyInput",permalink:"/api/puppeteer.keyinput"}},p={},s=[{value:"Signature:",id:"signature",level:4}],u={toc:s};function v(e){var{components:t}=e,r=a(e,["components"]);return(0,o.kt)("wrapper",n({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("h1",n({},{id:"jscoverageoptionsuseblockcoverage-property"}),"JSCoverageOptions.useBlockCoverage property"),(0,o.kt)("p",null,"Whether to collect coverage information at the block level. If true, coverage will be collected at the block level (this is the default). If false, coverage will be collected at the function level."),(0,o.kt)("h4",n({},{id:"signature"}),"Signature:"),(0,o.kt)("pre",null,(0,o.kt)("code",n({parentName:"pre"},{className:"language-typescript"}),"interface JSCoverageOptions {\n useBlockCoverage?: boolean;\n}\n")))}v.isMDXComponent=!0}}]);