PageSourceSearch

https://pnpm.io/assets/js/06411c3d.5d13c9e3.js

js pnpm.io collected 2026-09-24 07:24:00 UTC 1,965 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([["26834"],{32190(e,t,n){n.r(t),n.d(t,{metadata:()=>s,default:()=>a,frontMatter:()=>c,contentTitle:()=>o,toc:()=>p,assets:()=>l});var s=JSON.parse('{"id":"cli/test","title":"pnpm test","description":"Aliases: run test, t, tst","source":"@site/versioned_docs/version-12.x/cli/test.md","sourceDirName":"cli","slug":"/cli/test","permalink":"/cli/test","draft":false,"unlisted":false,"editUrl":"https://github.com/pnpm/pnpm.io/edit/main/docs/cli/test.md","tags":[],"version":"12.x","lastUpdatedBy":null,"lastUpdatedAt":null,"frontMatter":{"id":"test","title":"pnpm test"},"sidebar":"docs","previous":{"title":"pnpm pipeline","permalink":"/cli/pipeline"},"next":{"title":"pnpm exec","permalink":"/cli/exec"}}'),i=n(91987),r=n(67008);let c={id:"test",title:"pnpm test"},o,l={},p=[];function d(e){let t={code:"code",p:"p",...(0,r.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(t.p,{children:["Aliases: ",(0,i.jsx)(t.code,{children:"run test"}),", ",(0,i.jsx)(t.code,{children:"t"}),", ",(0,i.jsx)(t.code,{children:"tst"})]}),"\n",(0,i.jsxs)(t.p,{children:["Runs an arbitrary command specified in the package's ",(0,i.jsx)(t.code,{children:"test"})," property of its\n",(0,i.jsx)(t.code,{children:"scripts"})," object."]}),"\n",(0,i.jsx)(t.p,{children:"The intended usage of the property is to specify a command that runs unit or\nintegration testing for your program."})]})}function a(e={}){let{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}},67008(e,t,n){n.d(t,{R:()=>c,x:()=>o});var s=n(71763);let i={},r=s.createContext(i);function c(e){let t=s.useContext(r);return s.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:c(e.components),s.createElement(r.Provider,{value:t},e.children)}}}]);

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.