[{"data":1,"prerenderedAt":237},["ShallowReactive",2],{"navigation_docs":3,"-fake-browser-installation":127,"-fake-browser-installation-surround":233},[4,22,51,62,73,84,99,115],{"title":5,"path":6,"stem":7,"children":8,"page":21},"Get Started","/get-started","0.get-started",[9,13,17],{"title":10,"path":11,"stem":12},"Introduction","/get-started/introduction","0.get-started/0.introduction",{"title":14,"path":15,"stem":16},"Browser Support","/get-started/browser-support","0.get-started/1.browser-support",{"title":18,"path":19,"stem":20},"Contributing","/get-started/contributing","0.get-started/2.contributing",false,{"title":23,"path":24,"stem":25,"children":26,"page":21},"Fake Browser","/fake-browser","fake-browser",[27,31,35,39,43,47],{"title":28,"path":29,"stem":30},"Installation","/fake-browser/installation","fake-browser/0.installation",{"title":32,"path":33,"stem":34},"Testing Frameworks","/fake-browser/testing-frameworks","fake-browser/1.testing-frameworks",{"title":36,"path":37,"stem":38},"Triggering Events","/fake-browser/triggering-events","fake-browser/2.triggering-events",{"title":40,"path":41,"stem":42},"Resetting State","/fake-browser/reseting-state","fake-browser/3.reseting-state",{"title":44,"path":45,"stem":46},"Implemented Apis","/fake-browser/implemented-apis","fake-browser/4.implemented-apis",{"title":48,"path":49,"stem":50},"API Reference","/fake-browser/api","fake-browser/api",{"title":52,"path":53,"stem":54,"children":55,"page":21},"Isolated Element","/isolated-element","isolated-element",[56,59],{"title":28,"path":57,"stem":58},"/isolated-element/installation","isolated-element/0.installation",{"title":48,"path":60,"stem":61},"/isolated-element/api","isolated-element/api",{"title":63,"path":64,"stem":65,"children":66,"page":21},"Job Scheduler","/job-scheduler","job-scheduler",[67,70],{"title":28,"path":68,"stem":69},"/job-scheduler/installation","job-scheduler/0.installation",{"title":48,"path":71,"stem":72},"/job-scheduler/api","job-scheduler/api",{"title":74,"path":75,"stem":76,"children":77,"page":21},"Match Patterns","/match-patterns","match-patterns",[78,81],{"title":28,"path":79,"stem":80},"/match-patterns/installation","match-patterns/0.installation",{"title":48,"path":82,"stem":83},"/match-patterns/api","match-patterns/api",{"title":85,"path":86,"stem":87,"children":88,"page":21},"Messaging","/messaging","messaging",[89,92,96],{"title":28,"path":90,"stem":91},"/messaging/installation","messaging/0.installation",{"title":93,"path":94,"stem":95},"Protocol Maps","/messaging/protocol-maps","messaging/1.protocol-maps",{"title":48,"path":97,"stem":98},"/messaging/api","messaging/api",{"title":100,"path":101,"stem":102,"children":103,"page":21},"Proxy Service","/proxy-service","proxy-service",[104,107,111],{"title":28,"path":105,"stem":106},"/proxy-service/installation","proxy-service/0.installation",{"title":108,"path":109,"stem":110},"Defining Services","/proxy-service/defining-services","proxy-service/1.defining-services",{"title":112,"path":113,"stem":114},"Service Keys","/proxy-service/service-keys","proxy-service/2.service-keys",{"title":116,"path":117,"stem":118,"children":119,"page":21},"Storage","/storage","storage",[120,123],{"title":28,"path":121,"stem":122},"/storage/installation","storage/0.installation",{"title":124,"path":125,"stem":126},"Typescript","/storage/typescript","storage/1.typescript",{"id":128,"title":28,"body":129,"description":175,"extension":227,"links":228,"meta":229,"navigation":230,"path":29,"seo":231,"stem":30,"__hash__":232},"docs/fake-browser/0.installation.md",{"type":130,"value":131,"toc":222},"minimark",[132,150,155,169,197,202,208,212,218],[133,134,135,140,141,140,144,140,147],"p",{},[136,137,139],"badge",{"type":138},"success","Vitest"," ",[136,142,143],{"type":138},"Jest",[136,145,146],{"type":138},"Bun",[136,148,149],{"type":138},"Mocha",[151,152,154],"h2",{"id":153},"overview","Overview",[133,156,157,158,168],{},"An in-memory implementation of ",[159,160,164],"a",{"href":161,"rel":162},"https://www.npmjs.com/package/webextension-polyfill",[163],"nofollow",[165,166,167],"code",{},"webextension-polyfill"," for testing. Supports all test frameworks (Vitest, Jest, etc).",[170,171,176],"pre",{"className":172,"code":173,"language":174,"meta":175,"style":175},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","pnpm i -D @webext-core/fake-browser\n","bash","",[165,177,178],{"__ignoreMap":175},[179,180,183,187,191,194],"span",{"class":181,"line":182},"line",1,[179,184,186],{"class":185},"sBMFI","pnpm",[179,188,190],{"class":189},"sfazB"," i",[179,192,193],{"class":189}," -D",[179,195,196],{"class":189}," @webext-core/fake-browser\n",[198,199,201],"alrt",{"type":200},"warning","This package only really works with projects using node, so only the NPM install steps are shown.",[133,203,204,205,207],{},"See ",[159,206,32],{"href":33}," to setup mocks for your testing framework of choice.",[151,209,211],{"id":210},"examples","Examples",[133,213,204,214,217],{},[159,215,216],{"href":45},"Implemented APIs"," for example tests and details on how to use each API.",[219,220,221],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":175,"searchDepth":223,"depth":223,"links":224},2,[225,226],{"id":153,"depth":223,"text":154},{"id":210,"depth":223,"text":211},"md",null,{"toc":230},true,{"title":28,"description":175},"4z25AjW29B6Fk3c9O1DZmGsQ5m69I1wTSHto78pohI4",[234,236],{"title":18,"path":19,"stem":20,"description":235,"children":-1},"Special thanks to the contributors. I look forward to seeing you in the list!",{"title":32,"path":33,"stem":34,"description":175,"children":-1},1779312967457]