1"use strict";(self.webpackChunkpester_docs=self.webpackChunkpester_docs||[]).push([["7496"],{9768(e,s,t){t.d(s,{A:()=>d});var a=t(9648),l=t(1987),i=t(1763),c=t(3526),n=t(419),r=t(9134),o=t(6415);let d={...a.A,TutorialChecklist:function({items:e,title:s="Before you move on"}){let{metadata:t}=(0,n.u)(),{pages:a,setItemChecked:o}=(0,r.jN)(),d=(0,i.useMemo)(()=>e.map(e=>e.id),[e]),h=a[t.id]?.items??{},u=d.filter(e=>!0===h[e]).length,m=d.length>0&&u===d.length;return(0,l.jsxs)("section",{className:(0,c.A)("checklist_SU3b",m&&"checklistComplete_rLkH"),children:[(0,l.jsxs)("div",{className:"header_MmbU",children:[(0,l.jsx)("h2",{className:"title_KEEw",children:s}),(0,l.jsxs)("span",{className:"count_OqPZ",children:[u,"/",d.length]})]}),(0,l.jsx)("ul",{className:"items_WQ6y",children:e.map(e=>{let s=!0===h[e.id];return(0,l.jsx)("li",{children:(0,l.jsxs)("label",{className:(0,c.A)("item_dehV",s&&"itemChecked_CJNx"),children:[(0,l.jsx)("input",{type:"checkbox",className:"input_QwYo",checked:s,onChange:s=>o(t.id,e.id,s.target.checked,d)}),(0,l.jsx)("span",{children:e.label})]})},e.id)})}),m&&(0,l.jsx)("p",{className:"done_yRbQ",children:"Page complete."})]})},TutorialCallout:function({title:e="Prefer to learn by building?",children:s="This page is the short version. In the tutorial you start with an empty folder and build a real module, writing tests for each part as you add it, up to code coverage and CI."}){return(0,l.jsxs)("aside",{className:"callout_mqxV",children:[(0,l.jsxs)("div",{className:"body_NjmI",children:[(0,l.jsx)("span",{className:"eyebrow_Nlto",children:"Seven parts, at your own pace"}),(0,l.jsx)("h3",{className:"title_vkL_",children:e}),(0,l.jsx)("p",{className:"text_hEUp",children:s})]}),(0,l.jsx)(o.A,{className:(0,c.A)("button button--primary","action_Y82V"),to:"/tutorial/introduction/welcome",children:"Start the tutorial"})]})}}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.