PageSourceSearch

https://cdn.webgamedev.com/_next/static/chunks/pages/code-architecture/testing-901ec128df648d05.js

js webgamedev.com collected 2026-09-25 21:02:26 UTC 2,905 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7727],{8205:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/code-architecture/testing",function(){return r(7937)}])},7937:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l,useTOC:()=>o});var s=r(5893),n=r(7812),i=r(1304),c=r(8925),a=r(6973);function o(e){return[]}let l=(0,n.c)(function(e){let t={a:"a",h1:"h1",p:"p",...(0,c.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.h1,{children:"\uD83C\uDCCF Testing"}),"\n",(0,s.jsxs)(a.Z,{children:[(0,s.jsxs)(t.p,{children:[(0,s.jsx)(t.a,{href:"https://jestjs.io/",children:"Jest"})," - ",(0,s.jsx)(t.a,{href:"https://github.com/facebook/jest/issues/11011",children:"doesn’t support Wasm"})," (for Rapier for instance)"]}),(0,s.jsx)(t.p,{children:(0,s.jsx)(t.a,{href:"https://www.cypress.io/",children:"Cypress for HTML UI"})}),(0,s.jsx)(t.p,{children:(0,s.jsx)(t.a,{href:"https://docs.pmnd.rs/react-three-fiber/tutorials/testing",children:"R3F testing"})})]})]})},"/code-architecture/testing",{filePath:"src/pages/code-architecture/testing.mdx",pageMap:i.v,frontMatter:{},title:"\uD83C\uDCCF Testing"},"undefined"==typeof RemoteContent?o:RemoteContent.useTOC)},6973:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var s=r(5893);let n=e=>{let{children:t,...r}=e;return(0,s.jsxs)("aside",{className:"todo",...r,children:["✏️ ",(0,s.jsx)("b",{children:"TODO"}),": ",t]})}},8925:(e,t,r)=>{"use strict";r.d(t,{a:()=>o});var s=r(1151),n=r(5675),i=r.n(n),c=r(7294);let a={img:e=>(0,c.createElement)("object"==typeof e.src?i():"img",e)},o=e=>(0,s.a)({...a,...e})},7812:(e,t,r)=>{"use strict";r.d(t,{c:()=>l});var s=r(5893),n=r(3665),i=r(8644);let c=(0,r(7294).createContext)({}),a=c.Provider;c.displayName="SSG";var o=r(8925);function l(e,t,r,s){let i=globalThis[n.ud];return i.route=t,i.pageMap=r.pageMap,i.context[t]={Content:e,pageOpts:r,useTOC:s},h}function h({__nextra_pageMap:e=[],__nextra_dynamic_opts:t,...r}){let c=globalThis[n.ud],{Layout:o,themeConfig:l}=c,{route:h,locale:d}=(0,i.t)(),p=c.context[h];if(!p)throw Error(`No content found for the "${h}" route. Please report it as a bug.`);let{pageOpts:f,useTOC:g,Content:j}=p;if(h.startsWith("/["))f.pageMap=e;else for(let{route:t,children:r}of e){let e=t.split("/").slice(d?2:1);(function e(t,[r,...s]){for(let n of t)if("children"in n&&r===n.name)return s.length?e(n.children,s):n})(f.pageMap,e).children=r}if(t){let{title:e,frontMatter:r}=t;f={...f,title:e,frontMatter:r}}return(0,s.jsx)(o,{themeConfig:l,pageOpts:f,pageProps:r,children:(0,s.jsx)(a,{value:r,children:(0,s.jsx)(u,{useTOC:g,children:(0,s.jsx)(j,{...r})})})})}function u({children:e,useTOC:t}){let{wrapper:r}=(0,o.a)();return(0,s.jsx)(d,{useTOC:t,wrapper:r,children:e})}function d({children:e,useTOC:t,wrapper:r,...n}){let i=t(n);return r?(0,s.jsx)(r,{toc:i,children:e}):e}}},e=>{var t=t=>e(e.s=t);e.O(0,[1304,2888,9774,179],()=>t(8205)),_N_E=e.O()}]);

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.