[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-meteor-meteor-testing":3,"mdc-tjvlgb-key":36,"related-org-meteor-meteor-testing":3577,"related-repo-meteor-meteor-testing":3740},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":20,"repoUrl":21,"updatedAt":22,"license":23,"forks":24,"topics":25,"repo":31,"sourceUrl":34,"mdContent":35},"meteor-testing","write and repair Meteor test harnesses","Use when setting up, designing, writing, or repairing tests and test harnesses in a Meteor 3 app. Triggers on meteortesting:mocha, --driver-package, TEST_WATCH, TEST_BROWSER_DRIVER, MOCHA_GREP, meteor.testModule, focused tests, .only, Meteor.server.method_handlers, Meteor.server.publish_handlers, DDP.connect, --full-app integration mode, sinon, async test signatures, Playwright\u002FCypress E2E. Use this skill when the user asks about test runners, asks about testing publications, or asks about Jest vs Mocha in Meteor. For a failing, hanging, or flaky test whose failing layer or root cause is unknown, use meteor-debugging before changing the test or app.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"meteor","Meteor","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fmeteor.png",[12,14,17],{"name":9,"slug":8,"type":13},"tag",{"name":15,"slug":16,"type":13},"QA","qa",{"name":18,"slug":19,"type":13},"Testing","testing",4,"https:\u002F\u002Fgithub.com\u002Fmeteor\u002Fagent-skills","2026-08-28T15:09:38.330724","MIT",0,[26,27,28,29,8,30],"agent-skills","ai-agents","claude-code","codex","meteorjs",{"repoUrl":21,"stars":20,"forks":24,"topics":32,"description":33},[26,27,28,29,8,30],"Meteor-maintained Agent Skills for building, migrating, testing, securing, and deploying Meteor 3 applications.","https:\u002F\u002Fgithub.com\u002Fmeteor\u002Fagent-skills\u002Ftree\u002FHEAD\u002Fskills\u002Fmeteor-testing","---\nname: meteor-testing\ndescription: >\n  Use when setting up, designing, writing, or repairing tests and test\n  harnesses in a Meteor 3 app. Triggers on\n  meteortesting:mocha, --driver-package, TEST_WATCH, TEST_BROWSER_DRIVER,\n  MOCHA_GREP, meteor.testModule, focused tests, .only,\n  Meteor.server.method_handlers, Meteor.server.publish_handlers,\n  DDP.connect, --full-app integration mode, sinon, async test signatures,\n  Playwright\u002FCypress E2E. Use this skill when the user asks about test\n  runners, asks about testing publications, or asks about Jest vs Mocha\n  in Meteor. For a failing, hanging, or flaky test whose failing layer or root\n  cause is unknown, use meteor-debugging before changing the test or app.\nmetadata:\n  author: meteor\n  kind: knowledge\n  meteor: \">=3.0\"\n  area: testing\n  tagline: \"Set up and write Meteor 3 tests (`meteortesting:mocha`, async signatures, methods\u002Fpublications, Playwright\u002FCypress E2E).\"\n  bundle: [\"fullstack\"]\n  docs_synced_at: \"2026-08-27\"\nlicense: MIT\n---\n\n# Testing Meteor 3 apps\n\n`meteortesting:mocha` is the canonical Meteor test driver. It boots the\napp in test mode (no app code runs except the test files) and reports\nresults in the server console.\n\nIf an existing test fails, hangs, or flakes and the failing layer is unknown,\nuse `meteor-debugging` to isolate the cause. Return here when evidence points to\ntest setup, design, driver behavior, fixtures, or regression coverage.\n\n## Decision flow\n\n1. Unknown failure in an existing test? Use `meteor-debugging` to classify\n   application, data, harness, browser, environment, or shared-state causes.\n2. Pure logic, no Meteor APIs? Plain Mocha or any test runner; nothing\n   Meteor-specific.\n3. Method or publication? Integration test it with `meteortesting:mocha`\n   using `Meteor.server.method_handlers[name].apply(ctx, args)` or\n   `publish_handlers`.\n4. Need to drive a real DDP client (cross-process or end-to-end DDP\n   semantics)? Use `--full-app` mode and `DDP.connect`.\n5. UI flow \u002F browser interaction? Start the normal app with deterministic\n   test settings and run Playwright or Cypress against it. Use\n   `meteor test --full-app` only when the browser flow must load app-test\n   modules.\n\n## Setup\n\n```bash\nmeteor add meteortesting:mocha\nmeteor npm install --save-dev @types\u002Fmocha\n```\n\n```json\n\u002F\u002F package.json\n{\n  \"scripts\": {\n    \"test\": \"TEST_WATCH=1 meteor test --driver-package meteortesting:mocha\",\n    \"test:ci\": \"meteor test --once --driver-package meteortesting:mocha\",\n    \"test:full\": \"meteor test --full-app --driver-package meteortesting:mocha\"\n  }\n}\n```\n\nTest-mode conventions:\n\n- Normal test mode eagerly loads `*.test[s].*` and `*.spec[s].*` files, while\n  ordinary application code loads only when imported by a test.\n- Filename discovery ignores `tests\u002F` directories. A configured\n  `meteor.testModule` instead loads its explicit entry module and imports.\n- `--full-app` eagerly loads the normal app plus `*.app-test[s].*` and\n  `*.app-spec[s].*` files, and sets `Meteor.isAppTest`.\n\nTo focus an existing test, prefer a supported driver filter such as\n`MOCHA_GREP` after checking the installed driver in `.meteor\u002Fversions`; use\n`.only` only temporarily. These select registered tests but do not prevent\nother test modules from evaluating. If loading itself causes interference,\ninspect `meteor.testModule` and read `references\u002Ffocused-runs.md` before\nnarrowing entrypoint imports. Restore every temporary focus or import change,\nthen run the normal affected suite. Read the configured entrypoint paths from\nthe project; do not invent paths, scripts, ports, or helpers.\n\n## Method test (server-side)\n\n```javascript\nimport assert from \"node:assert\u002Fstrict\";\nimport { Meteor } from \"meteor\u002Fmeteor\";\nimport { Items } from \"\u002Fimports\u002Fapi\u002Fitems\";\n\nif (Meteor.isServer) {\n  describe(\"items.add\", function () {\n    beforeEach(async function () {\n      await Items.removeAsync({});\n    });\n\n    it(\"inserts when authed\", async function () {\n      const _id = await Meteor.server.method_handlers[\"items.add\"].apply(\n        { userId: \"u1\" },\n        [{ title: \"x\", qty: 1 }],\n      );\n      const doc = await Items.findOneAsync(_id);\n      assert.equal(doc.title, \"x\");\n    });\n\n    it(\"rejects when unauthed\", async function () {\n      await assert.rejects(() =>\n        Meteor.server.method_handlers[\"items.add\"].apply({ userId: null }, [{}]),\n      );\n    });\n  });\n}\n```\n\n`.apply(context, argsArray)` is the documented form;\n`Meteor.server.method_handlers[name]` is the registered method\nimplementation. Pass a stub `this` with `userId` (and `unblock`,\n`connection`, etc. when needed).\n\n## Publication test (server-side)\n\n```javascript\nif (Meteor.isServer) {\n  describe(\"items.mine publication\", function () {\n    it(\"only ships the subscribing user's items\", async function () {\n      await Items.removeAsync({});\n      await Items.insertAsync({ _id: \"a\", ownerId: \"u1\" });\n      await Items.insertAsync({ _id: \"b\", ownerId: \"u2\" });\n\n      const cursor = await Meteor.server.publish_handlers[\"items.mine\"]\n        .apply({ userId: \"u1\" }, []);\n      const docs = await cursor.fetchAsync();\n      assert.deepEqual(docs.map((d) => d._id), [\"a\"]);\n    });\n  });\n}\n```\n\nFor publications using the low-level `this.added` \u002F `this.changed` API,\ntest with a real DDP client via `--full-app` mode (next section).\n\nAlways await the direct publish handler. Conventional handlers return the\ncursor immediately; async handlers return a Promise of the cursor.\n\n## End-to-end DDP test (`--full-app` mode)\n\n```javascript\nimport { DDP } from \"meteor\u002Fddp-client\";\nimport { Mongo } from \"meteor\u002Fmongo\";\nimport { Tracker } from \"meteor\u002Ftracker\";\n\nconst conn = DDP.connect(Meteor.absoluteUrl());\nconst RemoteItems = new Mongo.Collection(\"items\", { connection: conn });\n\nfunction ready(sub) {\n  return new Promise((resolve) => {\n    const computation = Tracker.autorun((c) => {\n      if (sub.ready()) {\n        c.stop();\n        resolve();\n      }\n    });\n  });\n}\n\nconst sub = conn.subscribe(\"items.mine\");\nawait ready(sub);\nconst docs = RemoteItems.find().fetch();\n```\n\nRun with `meteor test --full-app --driver-package meteortesting:mocha`.\n\n## Client unit test (Minimongo)\n\n```javascript\nif (Meteor.isClient) {\n  describe(\"Items minimongo\", function () {\n    beforeEach(function () { Items.remove({}); });\n\n    it(\"filters by ownerId\", function () {\n      Items.insert({ _id: \"a\", ownerId: \"u1\" });\n      Items.insert({ _id: \"b\", ownerId: \"u2\" });\n      assert.equal(Items.find({ ownerId: \"u1\" }).count(), 1);\n    });\n  });\n}\n```\n\nClient tests run in the browser the driver spawns. With\n`TEST_BROWSER_DRIVER=puppeteer`, the browser is headless Chromium and\nresults flow back to the server console.\n\nDo not treat a server-only green run as complete client coverage. The driver\nprints a message when no browser is connected; configure\n`TEST_BROWSER_DRIVER` in CI and confirm client test counts are present.\n\n## Browser E2E\n\nRun Playwright or Cypress against the normal application unless the test\nneeds Meteor's app-test modules. The server command must work from a clean\nclone with a tracked, nonsecret settings fixture or fully documented test\nenvironment variables. Do not point it at an ignored developer settings file.\n\nCover at least one complete mutation flow and one rejected server action.\nBasic page-title checks do not exercise async method stubs, authorization, or\npublication readiness.\n\n## Anti-patterns\n\n- Reach for Jest. Jest does not understand Meteor's build system. Use\n  `meteortesting:mocha`.\n- Mock Mongo. Run the real driver against a clean DB.\n- Forget `if (Meteor.isServer) { ... }` guards. Server tests crash if\n  they run in the browser harness.\n- Skip `beforeEach` cleanup. Tests leak state across runs.\n- Catch and log a `beforeEach` failure without rethrowing. The test then runs\n  against unknown state and can report a misleading assertion.\n- Assert only the database postcondition for a rejected method. Also require\n  the Promise to reject with the expected `Meteor.Error`.\n- Replace `Meteor.userId` or another global without restoring it in\n  `afterEach`.\n- Use `Meteor.call` with callbacks in async test code. Use\n  `Meteor.callAsync` or unwrap `method_handlers` directly.\n\n## See also\n\n- `references\u002Fmocha-setup.md`\n- `references\u002Ffocused-runs.md`\n- `references\u002Fddp-test-helpers.md`\n- `references\u002Feval-cases.md`\n",{"data":37,"body":45},{"name":4,"description":6,"metadata":38,"license":23},{"author":8,"kind":39,"meteor":40,"area":19,"tagline":41,"bundle":42,"docs_synced_at":44},"knowledge",">=3.0","Set up and write Meteor 3 tests (`meteortesting:mocha`, async signatures, methods\u002Fpublications, Playwright\u002FCypress E2E).",[43],"fullstack","2026-08-27",{"type":46,"children":47},"root",[48,57,70,83,90,173,179,240,428,433,512,556,562,1480,1530,1536,2158,2186,2191,2204,2868,2879,2885,3362,3375,3388,3394,3399,3404,3410,3527,3533,3571],{"type":49,"tag":50,"props":51,"children":53},"element","h1",{"id":52},"testing-meteor-3-apps",[54],{"type":55,"value":56},"text","Testing Meteor 3 apps",{"type":49,"tag":58,"props":59,"children":60},"p",{},[61,68],{"type":49,"tag":62,"props":63,"children":65},"code",{"className":64},[],[66],{"type":55,"value":67},"meteortesting:mocha",{"type":55,"value":69}," is the canonical Meteor test driver. It boots the\napp in test mode (no app code runs except the test files) and reports\nresults in the server console.",{"type":49,"tag":58,"props":71,"children":72},{},[73,75,81],{"type":55,"value":74},"If an existing test fails, hangs, or flakes and the failing layer is unknown,\nuse ",{"type":49,"tag":62,"props":76,"children":78},{"className":77},[],[79],{"type":55,"value":80},"meteor-debugging",{"type":55,"value":82}," to isolate the cause. Return here when evidence points to\ntest setup, design, driver behavior, fixtures, or regression coverage.",{"type":49,"tag":84,"props":85,"children":87},"h2",{"id":86},"decision-flow",[88],{"type":55,"value":89},"Decision flow",{"type":49,"tag":91,"props":92,"children":93},"ol",{},[94,107,112,140,160],{"type":49,"tag":95,"props":96,"children":97},"li",{},[98,100,105],{"type":55,"value":99},"Unknown failure in an existing test? Use ",{"type":49,"tag":62,"props":101,"children":103},{"className":102},[],[104],{"type":55,"value":80},{"type":55,"value":106}," to classify\napplication, data, harness, browser, environment, or shared-state causes.",{"type":49,"tag":95,"props":108,"children":109},{},[110],{"type":55,"value":111},"Pure logic, no Meteor APIs? Plain Mocha or any test runner; nothing\nMeteor-specific.",{"type":49,"tag":95,"props":113,"children":114},{},[115,117,122,124,130,132,138],{"type":55,"value":116},"Method or publication? Integration test it with ",{"type":49,"tag":62,"props":118,"children":120},{"className":119},[],[121],{"type":55,"value":67},{"type":55,"value":123},"\nusing ",{"type":49,"tag":62,"props":125,"children":127},{"className":126},[],[128],{"type":55,"value":129},"Meteor.server.method_handlers[name].apply(ctx, args)",{"type":55,"value":131}," or\n",{"type":49,"tag":62,"props":133,"children":135},{"className":134},[],[136],{"type":55,"value":137},"publish_handlers",{"type":55,"value":139},".",{"type":49,"tag":95,"props":141,"children":142},{},[143,145,151,153,159],{"type":55,"value":144},"Need to drive a real DDP client (cross-process or end-to-end DDP\nsemantics)? Use ",{"type":49,"tag":62,"props":146,"children":148},{"className":147},[],[149],{"type":55,"value":150},"--full-app",{"type":55,"value":152}," mode and ",{"type":49,"tag":62,"props":154,"children":156},{"className":155},[],[157],{"type":55,"value":158},"DDP.connect",{"type":55,"value":139},{"type":49,"tag":95,"props":161,"children":162},{},[163,165,171],{"type":55,"value":164},"UI flow \u002F browser interaction? Start the normal app with deterministic\ntest settings and run Playwright or Cypress against it. Use\n",{"type":49,"tag":62,"props":166,"children":168},{"className":167},[],[169],{"type":55,"value":170},"meteor test --full-app",{"type":55,"value":172}," only when the browser flow must load app-test\nmodules.",{"type":49,"tag":84,"props":174,"children":176},{"id":175},"setup",[177],{"type":55,"value":178},"Setup",{"type":49,"tag":180,"props":181,"children":186},"pre",{"className":182,"code":183,"language":184,"meta":185,"style":185},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","meteor add meteortesting:mocha\nmeteor npm install --save-dev @types\u002Fmocha\n","bash","",[187],{"type":49,"tag":62,"props":188,"children":189},{"__ignoreMap":185},[190,212],{"type":49,"tag":191,"props":192,"children":195},"span",{"class":193,"line":194},"line",1,[196,201,207],{"type":49,"tag":191,"props":197,"children":199},{"style":198},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[200],{"type":55,"value":8},{"type":49,"tag":191,"props":202,"children":204},{"style":203},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[205],{"type":55,"value":206}," add",{"type":49,"tag":191,"props":208,"children":209},{"style":203},[210],{"type":55,"value":211}," meteortesting:mocha\n",{"type":49,"tag":191,"props":213,"children":215},{"class":193,"line":214},2,[216,220,225,230,235],{"type":49,"tag":191,"props":217,"children":218},{"style":198},[219],{"type":55,"value":8},{"type":49,"tag":191,"props":221,"children":222},{"style":203},[223],{"type":55,"value":224}," npm",{"type":49,"tag":191,"props":226,"children":227},{"style":203},[228],{"type":55,"value":229}," install",{"type":49,"tag":191,"props":231,"children":232},{"style":203},[233],{"type":55,"value":234}," --save-dev",{"type":49,"tag":191,"props":236,"children":237},{"style":203},[238],{"type":55,"value":239}," @types\u002Fmocha\n",{"type":49,"tag":180,"props":241,"children":245},{"className":242,"code":243,"language":244,"meta":185,"style":185},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F package.json\n{\n  \"scripts\": {\n    \"test\": \"TEST_WATCH=1 meteor test --driver-package meteortesting:mocha\",\n    \"test:ci\": \"meteor test --once --driver-package meteortesting:mocha\",\n    \"test:full\": \"meteor test --full-app --driver-package meteortesting:mocha\"\n  }\n}\n","json",[246],{"type":49,"tag":62,"props":247,"children":248},{"__ignoreMap":185},[249,258,267,297,337,375,410,419],{"type":49,"tag":191,"props":250,"children":251},{"class":193,"line":194},[252],{"type":49,"tag":191,"props":253,"children":255},{"style":254},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[256],{"type":55,"value":257},"\u002F\u002F package.json\n",{"type":49,"tag":191,"props":259,"children":260},{"class":193,"line":214},[261],{"type":49,"tag":191,"props":262,"children":264},{"style":263},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[265],{"type":55,"value":266},"{\n",{"type":49,"tag":191,"props":268,"children":270},{"class":193,"line":269},3,[271,276,282,287,292],{"type":49,"tag":191,"props":272,"children":273},{"style":263},[274],{"type":55,"value":275},"  \"",{"type":49,"tag":191,"props":277,"children":279},{"style":278},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[280],{"type":55,"value":281},"scripts",{"type":49,"tag":191,"props":283,"children":284},{"style":263},[285],{"type":55,"value":286},"\"",{"type":49,"tag":191,"props":288,"children":289},{"style":263},[290],{"type":55,"value":291},":",{"type":49,"tag":191,"props":293,"children":294},{"style":263},[295],{"type":55,"value":296}," {\n",{"type":49,"tag":191,"props":298,"children":299},{"class":193,"line":20},[300,305,310,314,318,323,328,332],{"type":49,"tag":191,"props":301,"children":302},{"style":263},[303],{"type":55,"value":304},"    \"",{"type":49,"tag":191,"props":306,"children":307},{"style":198},[308],{"type":55,"value":309},"test",{"type":49,"tag":191,"props":311,"children":312},{"style":263},[313],{"type":55,"value":286},{"type":49,"tag":191,"props":315,"children":316},{"style":263},[317],{"type":55,"value":291},{"type":49,"tag":191,"props":319,"children":320},{"style":263},[321],{"type":55,"value":322}," \"",{"type":49,"tag":191,"props":324,"children":325},{"style":203},[326],{"type":55,"value":327},"TEST_WATCH=1 meteor test --driver-package meteortesting:mocha",{"type":49,"tag":191,"props":329,"children":330},{"style":263},[331],{"type":55,"value":286},{"type":49,"tag":191,"props":333,"children":334},{"style":263},[335],{"type":55,"value":336},",\n",{"type":49,"tag":191,"props":338,"children":340},{"class":193,"line":339},5,[341,345,350,354,358,362,367,371],{"type":49,"tag":191,"props":342,"children":343},{"style":263},[344],{"type":55,"value":304},{"type":49,"tag":191,"props":346,"children":347},{"style":198},[348],{"type":55,"value":349},"test:ci",{"type":49,"tag":191,"props":351,"children":352},{"style":263},[353],{"type":55,"value":286},{"type":49,"tag":191,"props":355,"children":356},{"style":263},[357],{"type":55,"value":291},{"type":49,"tag":191,"props":359,"children":360},{"style":263},[361],{"type":55,"value":322},{"type":49,"tag":191,"props":363,"children":364},{"style":203},[365],{"type":55,"value":366},"meteor test --once --driver-package meteortesting:mocha",{"type":49,"tag":191,"props":368,"children":369},{"style":263},[370],{"type":55,"value":286},{"type":49,"tag":191,"props":372,"children":373},{"style":263},[374],{"type":55,"value":336},{"type":49,"tag":191,"props":376,"children":378},{"class":193,"line":377},6,[379,383,388,392,396,400,405],{"type":49,"tag":191,"props":380,"children":381},{"style":263},[382],{"type":55,"value":304},{"type":49,"tag":191,"props":384,"children":385},{"style":198},[386],{"type":55,"value":387},"test:full",{"type":49,"tag":191,"props":389,"children":390},{"style":263},[391],{"type":55,"value":286},{"type":49,"tag":191,"props":393,"children":394},{"style":263},[395],{"type":55,"value":291},{"type":49,"tag":191,"props":397,"children":398},{"style":263},[399],{"type":55,"value":322},{"type":49,"tag":191,"props":401,"children":402},{"style":203},[403],{"type":55,"value":404},"meteor test --full-app --driver-package meteortesting:mocha",{"type":49,"tag":191,"props":406,"children":407},{"style":263},[408],{"type":55,"value":409},"\"\n",{"type":49,"tag":191,"props":411,"children":413},{"class":193,"line":412},7,[414],{"type":49,"tag":191,"props":415,"children":416},{"style":263},[417],{"type":55,"value":418},"  }\n",{"type":49,"tag":191,"props":420,"children":422},{"class":193,"line":421},8,[423],{"type":49,"tag":191,"props":424,"children":425},{"style":263},[426],{"type":55,"value":427},"}\n",{"type":49,"tag":58,"props":429,"children":430},{},[431],{"type":55,"value":432},"Test-mode conventions:",{"type":49,"tag":434,"props":435,"children":436},"ul",{},[437,458,479],{"type":49,"tag":95,"props":438,"children":439},{},[440,442,448,450,456],{"type":55,"value":441},"Normal test mode eagerly loads ",{"type":49,"tag":62,"props":443,"children":445},{"className":444},[],[446],{"type":55,"value":447},"*.test[s].*",{"type":55,"value":449}," and ",{"type":49,"tag":62,"props":451,"children":453},{"className":452},[],[454],{"type":55,"value":455},"*.spec[s].*",{"type":55,"value":457}," files, while\nordinary application code loads only when imported by a test.",{"type":49,"tag":95,"props":459,"children":460},{},[461,463,469,471,477],{"type":55,"value":462},"Filename discovery ignores ",{"type":49,"tag":62,"props":464,"children":466},{"className":465},[],[467],{"type":55,"value":468},"tests\u002F",{"type":55,"value":470}," directories. A configured\n",{"type":49,"tag":62,"props":472,"children":474},{"className":473},[],[475],{"type":55,"value":476},"meteor.testModule",{"type":55,"value":478}," instead loads its explicit entry module and imports.",{"type":49,"tag":95,"props":480,"children":481},{},[482,487,489,495,497,503,505,511],{"type":49,"tag":62,"props":483,"children":485},{"className":484},[],[486],{"type":55,"value":150},{"type":55,"value":488}," eagerly loads the normal app plus ",{"type":49,"tag":62,"props":490,"children":492},{"className":491},[],[493],{"type":55,"value":494},"*.app-test[s].*",{"type":55,"value":496}," and\n",{"type":49,"tag":62,"props":498,"children":500},{"className":499},[],[501],{"type":55,"value":502},"*.app-spec[s].*",{"type":55,"value":504}," files, and sets ",{"type":49,"tag":62,"props":506,"children":508},{"className":507},[],[509],{"type":55,"value":510},"Meteor.isAppTest",{"type":55,"value":139},{"type":49,"tag":58,"props":513,"children":514},{},[515,517,523,525,531,533,539,541,546,548,554],{"type":55,"value":516},"To focus an existing test, prefer a supported driver filter such as\n",{"type":49,"tag":62,"props":518,"children":520},{"className":519},[],[521],{"type":55,"value":522},"MOCHA_GREP",{"type":55,"value":524}," after checking the installed driver in ",{"type":49,"tag":62,"props":526,"children":528},{"className":527},[],[529],{"type":55,"value":530},".meteor\u002Fversions",{"type":55,"value":532},"; use\n",{"type":49,"tag":62,"props":534,"children":536},{"className":535},[],[537],{"type":55,"value":538},".only",{"type":55,"value":540}," only temporarily. These select registered tests but do not prevent\nother test modules from evaluating. If loading itself causes interference,\ninspect ",{"type":49,"tag":62,"props":542,"children":544},{"className":543},[],[545],{"type":55,"value":476},{"type":55,"value":547}," and read ",{"type":49,"tag":62,"props":549,"children":551},{"className":550},[],[552],{"type":55,"value":553},"references\u002Ffocused-runs.md",{"type":55,"value":555}," before\nnarrowing entrypoint imports. Restore every temporary focus or import change,\nthen run the normal affected suite. Read the configured entrypoint paths from\nthe project; do not invent paths, scripts, ports, or helpers.",{"type":49,"tag":84,"props":557,"children":559},{"id":558},"method-test-server-side",[560],{"type":55,"value":561},"Method test (server-side)",{"type":49,"tag":180,"props":563,"children":567},{"className":564,"code":565,"language":566,"meta":185,"style":185},"language-javascript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import assert from \"node:assert\u002Fstrict\";\nimport { Meteor } from \"meteor\u002Fmeteor\";\nimport { Items } from \"\u002Fimports\u002Fapi\u002Fitems\";\n\nif (Meteor.isServer) {\n  describe(\"items.add\", function () {\n    beforeEach(async function () {\n      await Items.removeAsync({});\n    });\n\n    it(\"inserts when authed\", async function () {\n      const _id = await Meteor.server.method_handlers[\"items.add\"].apply(\n        { userId: \"u1\" },\n        [{ title: \"x\", qty: 1 }],\n      );\n      const doc = await Items.findOneAsync(_id);\n      assert.equal(doc.title, \"x\");\n    });\n\n    it(\"rejects when unauthed\", async function () {\n      await assert.rejects(() =>\n        Meteor.server.method_handlers[\"items.add\"].apply({ userId: null }, [{}]),\n      );\n    });\n  });\n}\n","javascript",[568],{"type":49,"tag":62,"props":569,"children":570},{"__ignoreMap":185},[571,609,653,694,703,729,776,805,844,861,869,916,998,1034,1101,1114,1165,1225,1241,1249,1294,1330,1427,1439,1455,1472],{"type":49,"tag":191,"props":572,"children":573},{"class":193,"line":194},[574,580,586,591,595,600,604],{"type":49,"tag":191,"props":575,"children":577},{"style":576},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[578],{"type":55,"value":579},"import",{"type":49,"tag":191,"props":581,"children":583},{"style":582},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[584],{"type":55,"value":585}," assert ",{"type":49,"tag":191,"props":587,"children":588},{"style":576},[589],{"type":55,"value":590},"from",{"type":49,"tag":191,"props":592,"children":593},{"style":263},[594],{"type":55,"value":322},{"type":49,"tag":191,"props":596,"children":597},{"style":203},[598],{"type":55,"value":599},"node:assert\u002Fstrict",{"type":49,"tag":191,"props":601,"children":602},{"style":263},[603],{"type":55,"value":286},{"type":49,"tag":191,"props":605,"children":606},{"style":263},[607],{"type":55,"value":608},";\n",{"type":49,"tag":191,"props":610,"children":611},{"class":193,"line":214},[612,616,621,626,631,636,640,645,649],{"type":49,"tag":191,"props":613,"children":614},{"style":576},[615],{"type":55,"value":579},{"type":49,"tag":191,"props":617,"children":618},{"style":263},[619],{"type":55,"value":620}," {",{"type":49,"tag":191,"props":622,"children":623},{"style":582},[624],{"type":55,"value":625}," Meteor",{"type":49,"tag":191,"props":627,"children":628},{"style":263},[629],{"type":55,"value":630}," }",{"type":49,"tag":191,"props":632,"children":633},{"style":576},[634],{"type":55,"value":635}," from",{"type":49,"tag":191,"props":637,"children":638},{"style":263},[639],{"type":55,"value":322},{"type":49,"tag":191,"props":641,"children":642},{"style":203},[643],{"type":55,"value":644},"meteor\u002Fmeteor",{"type":49,"tag":191,"props":646,"children":647},{"style":263},[648],{"type":55,"value":286},{"type":49,"tag":191,"props":650,"children":651},{"style":263},[652],{"type":55,"value":608},{"type":49,"tag":191,"props":654,"children":655},{"class":193,"line":269},[656,660,664,669,673,677,681,686,690],{"type":49,"tag":191,"props":657,"children":658},{"style":576},[659],{"type":55,"value":579},{"type":49,"tag":191,"props":661,"children":662},{"style":263},[663],{"type":55,"value":620},{"type":49,"tag":191,"props":665,"children":666},{"style":582},[667],{"type":55,"value":668}," Items",{"type":49,"tag":191,"props":670,"children":671},{"style":263},[672],{"type":55,"value":630},{"type":49,"tag":191,"props":674,"children":675},{"style":576},[676],{"type":55,"value":635},{"type":49,"tag":191,"props":678,"children":679},{"style":263},[680],{"type":55,"value":322},{"type":49,"tag":191,"props":682,"children":683},{"style":203},[684],{"type":55,"value":685},"\u002Fimports\u002Fapi\u002Fitems",{"type":49,"tag":191,"props":687,"children":688},{"style":263},[689],{"type":55,"value":286},{"type":49,"tag":191,"props":691,"children":692},{"style":263},[693],{"type":55,"value":608},{"type":49,"tag":191,"props":695,"children":696},{"class":193,"line":20},[697],{"type":49,"tag":191,"props":698,"children":700},{"emptyLinePlaceholder":699},true,[701],{"type":55,"value":702},"\n",{"type":49,"tag":191,"props":704,"children":705},{"class":193,"line":339},[706,711,716,720,725],{"type":49,"tag":191,"props":707,"children":708},{"style":576},[709],{"type":55,"value":710},"if",{"type":49,"tag":191,"props":712,"children":713},{"style":582},[714],{"type":55,"value":715}," (Meteor",{"type":49,"tag":191,"props":717,"children":718},{"style":263},[719],{"type":55,"value":139},{"type":49,"tag":191,"props":721,"children":722},{"style":582},[723],{"type":55,"value":724},"isServer) ",{"type":49,"tag":191,"props":726,"children":727},{"style":263},[728],{"type":55,"value":266},{"type":49,"tag":191,"props":730,"children":731},{"class":193,"line":377},[732,738,744,748,753,757,762,767,772],{"type":49,"tag":191,"props":733,"children":735},{"style":734},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[736],{"type":55,"value":737},"  describe",{"type":49,"tag":191,"props":739,"children":741},{"style":740},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[742],{"type":55,"value":743},"(",{"type":49,"tag":191,"props":745,"children":746},{"style":263},[747],{"type":55,"value":286},{"type":49,"tag":191,"props":749,"children":750},{"style":203},[751],{"type":55,"value":752},"items.add",{"type":49,"tag":191,"props":754,"children":755},{"style":263},[756],{"type":55,"value":286},{"type":49,"tag":191,"props":758,"children":759},{"style":263},[760],{"type":55,"value":761},",",{"type":49,"tag":191,"props":763,"children":764},{"style":278},[765],{"type":55,"value":766}," function",{"type":49,"tag":191,"props":768,"children":769},{"style":263},[770],{"type":55,"value":771}," ()",{"type":49,"tag":191,"props":773,"children":774},{"style":263},[775],{"type":55,"value":296},{"type":49,"tag":191,"props":777,"children":778},{"class":193,"line":412},[779,784,788,793,797,801],{"type":49,"tag":191,"props":780,"children":781},{"style":734},[782],{"type":55,"value":783},"    beforeEach",{"type":49,"tag":191,"props":785,"children":786},{"style":740},[787],{"type":55,"value":743},{"type":49,"tag":191,"props":789,"children":790},{"style":278},[791],{"type":55,"value":792},"async",{"type":49,"tag":191,"props":794,"children":795},{"style":278},[796],{"type":55,"value":766},{"type":49,"tag":191,"props":798,"children":799},{"style":263},[800],{"type":55,"value":771},{"type":49,"tag":191,"props":802,"children":803},{"style":263},[804],{"type":55,"value":296},{"type":49,"tag":191,"props":806,"children":807},{"class":193,"line":421},[808,813,817,821,826,830,835,840],{"type":49,"tag":191,"props":809,"children":810},{"style":576},[811],{"type":55,"value":812},"      await",{"type":49,"tag":191,"props":814,"children":815},{"style":582},[816],{"type":55,"value":668},{"type":49,"tag":191,"props":818,"children":819},{"style":263},[820],{"type":55,"value":139},{"type":49,"tag":191,"props":822,"children":823},{"style":734},[824],{"type":55,"value":825},"removeAsync",{"type":49,"tag":191,"props":827,"children":828},{"style":740},[829],{"type":55,"value":743},{"type":49,"tag":191,"props":831,"children":832},{"style":263},[833],{"type":55,"value":834},"{}",{"type":49,"tag":191,"props":836,"children":837},{"style":740},[838],{"type":55,"value":839},")",{"type":49,"tag":191,"props":841,"children":842},{"style":263},[843],{"type":55,"value":608},{"type":49,"tag":191,"props":845,"children":847},{"class":193,"line":846},9,[848,853,857],{"type":49,"tag":191,"props":849,"children":850},{"style":263},[851],{"type":55,"value":852},"    }",{"type":49,"tag":191,"props":854,"children":855},{"style":740},[856],{"type":55,"value":839},{"type":49,"tag":191,"props":858,"children":859},{"style":263},[860],{"type":55,"value":608},{"type":49,"tag":191,"props":862,"children":864},{"class":193,"line":863},10,[865],{"type":49,"tag":191,"props":866,"children":867},{"emptyLinePlaceholder":699},[868],{"type":55,"value":702},{"type":49,"tag":191,"props":870,"children":872},{"class":193,"line":871},11,[873,878,882,886,891,895,899,904,908,912],{"type":49,"tag":191,"props":874,"children":875},{"style":734},[876],{"type":55,"value":877},"    it",{"type":49,"tag":191,"props":879,"children":880},{"style":740},[881],{"type":55,"value":743},{"type":49,"tag":191,"props":883,"children":884},{"style":263},[885],{"type":55,"value":286},{"type":49,"tag":191,"props":887,"children":888},{"style":203},[889],{"type":55,"value":890},"inserts when authed",{"type":49,"tag":191,"props":892,"children":893},{"style":263},[894],{"type":55,"value":286},{"type":49,"tag":191,"props":896,"children":897},{"style":263},[898],{"type":55,"value":761},{"type":49,"tag":191,"props":900,"children":901},{"style":278},[902],{"type":55,"value":903}," async",{"type":49,"tag":191,"props":905,"children":906},{"style":278},[907],{"type":55,"value":766},{"type":49,"tag":191,"props":909,"children":910},{"style":263},[911],{"type":55,"value":771},{"type":49,"tag":191,"props":913,"children":914},{"style":263},[915],{"type":55,"value":296},{"type":49,"tag":191,"props":917,"children":919},{"class":193,"line":918},12,[920,925,930,935,940,944,948,953,957,962,967,971,975,979,984,988,993],{"type":49,"tag":191,"props":921,"children":922},{"style":278},[923],{"type":55,"value":924},"      const",{"type":49,"tag":191,"props":926,"children":927},{"style":582},[928],{"type":55,"value":929}," _id",{"type":49,"tag":191,"props":931,"children":932},{"style":263},[933],{"type":55,"value":934}," =",{"type":49,"tag":191,"props":936,"children":937},{"style":576},[938],{"type":55,"value":939}," await",{"type":49,"tag":191,"props":941,"children":942},{"style":582},[943],{"type":55,"value":625},{"type":49,"tag":191,"props":945,"children":946},{"style":263},[947],{"type":55,"value":139},{"type":49,"tag":191,"props":949,"children":950},{"style":582},[951],{"type":55,"value":952},"server",{"type":49,"tag":191,"props":954,"children":955},{"style":263},[956],{"type":55,"value":139},{"type":49,"tag":191,"props":958,"children":959},{"style":582},[960],{"type":55,"value":961},"method_handlers",{"type":49,"tag":191,"props":963,"children":964},{"style":740},[965],{"type":55,"value":966},"[",{"type":49,"tag":191,"props":968,"children":969},{"style":263},[970],{"type":55,"value":286},{"type":49,"tag":191,"props":972,"children":973},{"style":203},[974],{"type":55,"value":752},{"type":49,"tag":191,"props":976,"children":977},{"style":263},[978],{"type":55,"value":286},{"type":49,"tag":191,"props":980,"children":981},{"style":740},[982],{"type":55,"value":983},"]",{"type":49,"tag":191,"props":985,"children":986},{"style":263},[987],{"type":55,"value":139},{"type":49,"tag":191,"props":989,"children":990},{"style":734},[991],{"type":55,"value":992},"apply",{"type":49,"tag":191,"props":994,"children":995},{"style":740},[996],{"type":55,"value":997},"(\n",{"type":49,"tag":191,"props":999,"children":1001},{"class":193,"line":1000},13,[1002,1007,1012,1016,1020,1025,1029],{"type":49,"tag":191,"props":1003,"children":1004},{"style":263},[1005],{"type":55,"value":1006},"        {",{"type":49,"tag":191,"props":1008,"children":1009},{"style":740},[1010],{"type":55,"value":1011}," userId",{"type":49,"tag":191,"props":1013,"children":1014},{"style":263},[1015],{"type":55,"value":291},{"type":49,"tag":191,"props":1017,"children":1018},{"style":263},[1019],{"type":55,"value":322},{"type":49,"tag":191,"props":1021,"children":1022},{"style":203},[1023],{"type":55,"value":1024},"u1",{"type":49,"tag":191,"props":1026,"children":1027},{"style":263},[1028],{"type":55,"value":286},{"type":49,"tag":191,"props":1030,"children":1031},{"style":263},[1032],{"type":55,"value":1033}," },\n",{"type":49,"tag":191,"props":1035,"children":1037},{"class":193,"line":1036},14,[1038,1043,1048,1053,1057,1061,1066,1070,1074,1079,1083,1089,1093,1097],{"type":49,"tag":191,"props":1039,"children":1040},{"style":740},[1041],{"type":55,"value":1042},"        [",{"type":49,"tag":191,"props":1044,"children":1045},{"style":263},[1046],{"type":55,"value":1047},"{",{"type":49,"tag":191,"props":1049,"children":1050},{"style":740},[1051],{"type":55,"value":1052}," title",{"type":49,"tag":191,"props":1054,"children":1055},{"style":263},[1056],{"type":55,"value":291},{"type":49,"tag":191,"props":1058,"children":1059},{"style":263},[1060],{"type":55,"value":322},{"type":49,"tag":191,"props":1062,"children":1063},{"style":203},[1064],{"type":55,"value":1065},"x",{"type":49,"tag":191,"props":1067,"children":1068},{"style":263},[1069],{"type":55,"value":286},{"type":49,"tag":191,"props":1071,"children":1072},{"style":263},[1073],{"type":55,"value":761},{"type":49,"tag":191,"props":1075,"children":1076},{"style":740},[1077],{"type":55,"value":1078}," qty",{"type":49,"tag":191,"props":1080,"children":1081},{"style":263},[1082],{"type":55,"value":291},{"type":49,"tag":191,"props":1084,"children":1086},{"style":1085},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[1087],{"type":55,"value":1088}," 1",{"type":49,"tag":191,"props":1090,"children":1091},{"style":263},[1092],{"type":55,"value":630},{"type":49,"tag":191,"props":1094,"children":1095},{"style":740},[1096],{"type":55,"value":983},{"type":49,"tag":191,"props":1098,"children":1099},{"style":263},[1100],{"type":55,"value":336},{"type":49,"tag":191,"props":1102,"children":1104},{"class":193,"line":1103},15,[1105,1110],{"type":49,"tag":191,"props":1106,"children":1107},{"style":740},[1108],{"type":55,"value":1109},"      )",{"type":49,"tag":191,"props":1111,"children":1112},{"style":263},[1113],{"type":55,"value":608},{"type":49,"tag":191,"props":1115,"children":1117},{"class":193,"line":1116},16,[1118,1122,1127,1131,1135,1139,1143,1148,1152,1157,1161],{"type":49,"tag":191,"props":1119,"children":1120},{"style":278},[1121],{"type":55,"value":924},{"type":49,"tag":191,"props":1123,"children":1124},{"style":582},[1125],{"type":55,"value":1126}," doc",{"type":49,"tag":191,"props":1128,"children":1129},{"style":263},[1130],{"type":55,"value":934},{"type":49,"tag":191,"props":1132,"children":1133},{"style":576},[1134],{"type":55,"value":939},{"type":49,"tag":191,"props":1136,"children":1137},{"style":582},[1138],{"type":55,"value":668},{"type":49,"tag":191,"props":1140,"children":1141},{"style":263},[1142],{"type":55,"value":139},{"type":49,"tag":191,"props":1144,"children":1145},{"style":734},[1146],{"type":55,"value":1147},"findOneAsync",{"type":49,"tag":191,"props":1149,"children":1150},{"style":740},[1151],{"type":55,"value":743},{"type":49,"tag":191,"props":1153,"children":1154},{"style":582},[1155],{"type":55,"value":1156},"_id",{"type":49,"tag":191,"props":1158,"children":1159},{"style":740},[1160],{"type":55,"value":839},{"type":49,"tag":191,"props":1162,"children":1163},{"style":263},[1164],{"type":55,"value":608},{"type":49,"tag":191,"props":1166,"children":1168},{"class":193,"line":1167},17,[1169,1174,1178,1183,1187,1192,1196,1201,1205,1209,1213,1217,1221],{"type":49,"tag":191,"props":1170,"children":1171},{"style":582},[1172],{"type":55,"value":1173},"      assert",{"type":49,"tag":191,"props":1175,"children":1176},{"style":263},[1177],{"type":55,"value":139},{"type":49,"tag":191,"props":1179,"children":1180},{"style":734},[1181],{"type":55,"value":1182},"equal",{"type":49,"tag":191,"props":1184,"children":1185},{"style":740},[1186],{"type":55,"value":743},{"type":49,"tag":191,"props":1188,"children":1189},{"style":582},[1190],{"type":55,"value":1191},"doc",{"type":49,"tag":191,"props":1193,"children":1194},{"style":263},[1195],{"type":55,"value":139},{"type":49,"tag":191,"props":1197,"children":1198},{"style":582},[1199],{"type":55,"value":1200},"title",{"type":49,"tag":191,"props":1202,"children":1203},{"style":263},[1204],{"type":55,"value":761},{"type":49,"tag":191,"props":1206,"children":1207},{"style":263},[1208],{"type":55,"value":322},{"type":49,"tag":191,"props":1210,"children":1211},{"style":203},[1212],{"type":55,"value":1065},{"type":49,"tag":191,"props":1214,"children":1215},{"style":263},[1216],{"type":55,"value":286},{"type":49,"tag":191,"props":1218,"children":1219},{"style":740},[1220],{"type":55,"value":839},{"type":49,"tag":191,"props":1222,"children":1223},{"style":263},[1224],{"type":55,"value":608},{"type":49,"tag":191,"props":1226,"children":1228},{"class":193,"line":1227},18,[1229,1233,1237],{"type":49,"tag":191,"props":1230,"children":1231},{"style":263},[1232],{"type":55,"value":852},{"type":49,"tag":191,"props":1234,"children":1235},{"style":740},[1236],{"type":55,"value":839},{"type":49,"tag":191,"props":1238,"children":1239},{"style":263},[1240],{"type":55,"value":608},{"type":49,"tag":191,"props":1242,"children":1244},{"class":193,"line":1243},19,[1245],{"type":49,"tag":191,"props":1246,"children":1247},{"emptyLinePlaceholder":699},[1248],{"type":55,"value":702},{"type":49,"tag":191,"props":1250,"children":1252},{"class":193,"line":1251},20,[1253,1257,1261,1265,1270,1274,1278,1282,1286,1290],{"type":49,"tag":191,"props":1254,"children":1255},{"style":734},[1256],{"type":55,"value":877},{"type":49,"tag":191,"props":1258,"children":1259},{"style":740},[1260],{"type":55,"value":743},{"type":49,"tag":191,"props":1262,"children":1263},{"style":263},[1264],{"type":55,"value":286},{"type":49,"tag":191,"props":1266,"children":1267},{"style":203},[1268],{"type":55,"value":1269},"rejects when unauthed",{"type":49,"tag":191,"props":1271,"children":1272},{"style":263},[1273],{"type":55,"value":286},{"type":49,"tag":191,"props":1275,"children":1276},{"style":263},[1277],{"type":55,"value":761},{"type":49,"tag":191,"props":1279,"children":1280},{"style":278},[1281],{"type":55,"value":903},{"type":49,"tag":191,"props":1283,"children":1284},{"style":278},[1285],{"type":55,"value":766},{"type":49,"tag":191,"props":1287,"children":1288},{"style":263},[1289],{"type":55,"value":771},{"type":49,"tag":191,"props":1291,"children":1292},{"style":263},[1293],{"type":55,"value":296},{"type":49,"tag":191,"props":1295,"children":1297},{"class":193,"line":1296},21,[1298,1302,1307,1311,1316,1320,1325],{"type":49,"tag":191,"props":1299,"children":1300},{"style":576},[1301],{"type":55,"value":812},{"type":49,"tag":191,"props":1303,"children":1304},{"style":582},[1305],{"type":55,"value":1306}," assert",{"type":49,"tag":191,"props":1308,"children":1309},{"style":263},[1310],{"type":55,"value":139},{"type":49,"tag":191,"props":1312,"children":1313},{"style":734},[1314],{"type":55,"value":1315},"rejects",{"type":49,"tag":191,"props":1317,"children":1318},{"style":740},[1319],{"type":55,"value":743},{"type":49,"tag":191,"props":1321,"children":1322},{"style":263},[1323],{"type":55,"value":1324},"()",{"type":49,"tag":191,"props":1326,"children":1327},{"style":278},[1328],{"type":55,"value":1329}," =>\n",{"type":49,"tag":191,"props":1331,"children":1333},{"class":193,"line":1332},22,[1334,1339,1343,1347,1351,1355,1359,1363,1367,1371,1375,1379,1383,1387,1391,1395,1399,1404,1409,1414,1418,1423],{"type":49,"tag":191,"props":1335,"children":1336},{"style":582},[1337],{"type":55,"value":1338},"        Meteor",{"type":49,"tag":191,"props":1340,"children":1341},{"style":263},[1342],{"type":55,"value":139},{"type":49,"tag":191,"props":1344,"children":1345},{"style":582},[1346],{"type":55,"value":952},{"type":49,"tag":191,"props":1348,"children":1349},{"style":263},[1350],{"type":55,"value":139},{"type":49,"tag":191,"props":1352,"children":1353},{"style":582},[1354],{"type":55,"value":961},{"type":49,"tag":191,"props":1356,"children":1357},{"style":740},[1358],{"type":55,"value":966},{"type":49,"tag":191,"props":1360,"children":1361},{"style":263},[1362],{"type":55,"value":286},{"type":49,"tag":191,"props":1364,"children":1365},{"style":203},[1366],{"type":55,"value":752},{"type":49,"tag":191,"props":1368,"children":1369},{"style":263},[1370],{"type":55,"value":286},{"type":49,"tag":191,"props":1372,"children":1373},{"style":740},[1374],{"type":55,"value":983},{"type":49,"tag":191,"props":1376,"children":1377},{"style":263},[1378],{"type":55,"value":139},{"type":49,"tag":191,"props":1380,"children":1381},{"style":734},[1382],{"type":55,"value":992},{"type":49,"tag":191,"props":1384,"children":1385},{"style":740},[1386],{"type":55,"value":743},{"type":49,"tag":191,"props":1388,"children":1389},{"style":263},[1390],{"type":55,"value":1047},{"type":49,"tag":191,"props":1392,"children":1393},{"style":740},[1394],{"type":55,"value":1011},{"type":49,"tag":191,"props":1396,"children":1397},{"style":263},[1398],{"type":55,"value":291},{"type":49,"tag":191,"props":1400,"children":1401},{"style":263},[1402],{"type":55,"value":1403}," null",{"type":49,"tag":191,"props":1405,"children":1406},{"style":263},[1407],{"type":55,"value":1408}," },",{"type":49,"tag":191,"props":1410,"children":1411},{"style":740},[1412],{"type":55,"value":1413}," [",{"type":49,"tag":191,"props":1415,"children":1416},{"style":263},[1417],{"type":55,"value":834},{"type":49,"tag":191,"props":1419,"children":1420},{"style":740},[1421],{"type":55,"value":1422},"])",{"type":49,"tag":191,"props":1424,"children":1425},{"style":263},[1426],{"type":55,"value":336},{"type":49,"tag":191,"props":1428,"children":1430},{"class":193,"line":1429},23,[1431,1435],{"type":49,"tag":191,"props":1432,"children":1433},{"style":740},[1434],{"type":55,"value":1109},{"type":49,"tag":191,"props":1436,"children":1437},{"style":263},[1438],{"type":55,"value":608},{"type":49,"tag":191,"props":1440,"children":1442},{"class":193,"line":1441},24,[1443,1447,1451],{"type":49,"tag":191,"props":1444,"children":1445},{"style":263},[1446],{"type":55,"value":852},{"type":49,"tag":191,"props":1448,"children":1449},{"style":740},[1450],{"type":55,"value":839},{"type":49,"tag":191,"props":1452,"children":1453},{"style":263},[1454],{"type":55,"value":608},{"type":49,"tag":191,"props":1456,"children":1458},{"class":193,"line":1457},25,[1459,1464,1468],{"type":49,"tag":191,"props":1460,"children":1461},{"style":263},[1462],{"type":55,"value":1463},"  }",{"type":49,"tag":191,"props":1465,"children":1466},{"style":740},[1467],{"type":55,"value":839},{"type":49,"tag":191,"props":1469,"children":1470},{"style":263},[1471],{"type":55,"value":608},{"type":49,"tag":191,"props":1473,"children":1475},{"class":193,"line":1474},26,[1476],{"type":49,"tag":191,"props":1477,"children":1478},{"style":263},[1479],{"type":55,"value":427},{"type":49,"tag":58,"props":1481,"children":1482},{},[1483,1489,1491,1497,1499,1505,1507,1513,1515,1521,1522,1528],{"type":49,"tag":62,"props":1484,"children":1486},{"className":1485},[],[1487],{"type":55,"value":1488},".apply(context, argsArray)",{"type":55,"value":1490}," is the documented form;\n",{"type":49,"tag":62,"props":1492,"children":1494},{"className":1493},[],[1495],{"type":55,"value":1496},"Meteor.server.method_handlers[name]",{"type":55,"value":1498}," is the registered method\nimplementation. Pass a stub ",{"type":49,"tag":62,"props":1500,"children":1502},{"className":1501},[],[1503],{"type":55,"value":1504},"this",{"type":55,"value":1506}," with ",{"type":49,"tag":62,"props":1508,"children":1510},{"className":1509},[],[1511],{"type":55,"value":1512},"userId",{"type":55,"value":1514}," (and ",{"type":49,"tag":62,"props":1516,"children":1518},{"className":1517},[],[1519],{"type":55,"value":1520},"unblock",{"type":55,"value":336},{"type":49,"tag":62,"props":1523,"children":1525},{"className":1524},[],[1526],{"type":55,"value":1527},"connection",{"type":55,"value":1529},", etc. when needed).",{"type":49,"tag":84,"props":1531,"children":1533},{"id":1532},"publication-test-server-side",[1534],{"type":55,"value":1535},"Publication test (server-side)",{"type":49,"tag":180,"props":1537,"children":1539},{"className":564,"code":1538,"language":566,"meta":185,"style":185},"if (Meteor.isServer) {\n  describe(\"items.mine publication\", function () {\n    it(\"only ships the subscribing user's items\", async function () {\n      await Items.removeAsync({});\n      await Items.insertAsync({ _id: \"a\", ownerId: \"u1\" });\n      await Items.insertAsync({ _id: \"b\", ownerId: \"u2\" });\n\n      const cursor = await Meteor.server.publish_handlers[\"items.mine\"]\n        .apply({ userId: \"u1\" }, []);\n      const docs = await cursor.fetchAsync();\n      assert.deepEqual(docs.map((d) => d._id), [\"a\"]);\n    });\n  });\n}\n",[1540],{"type":49,"tag":62,"props":1541,"children":1542},{"__ignoreMap":185},[1543,1566,1606,1650,1685,1771,1856,1863,1925,1978,2019,2121,2136,2151],{"type":49,"tag":191,"props":1544,"children":1545},{"class":193,"line":194},[1546,1550,1554,1558,1562],{"type":49,"tag":191,"props":1547,"children":1548},{"style":576},[1549],{"type":55,"value":710},{"type":49,"tag":191,"props":1551,"children":1552},{"style":582},[1553],{"type":55,"value":715},{"type":49,"tag":191,"props":1555,"children":1556},{"style":263},[1557],{"type":55,"value":139},{"type":49,"tag":191,"props":1559,"children":1560},{"style":582},[1561],{"type":55,"value":724},{"type":49,"tag":191,"props":1563,"children":1564},{"style":263},[1565],{"type":55,"value":266},{"type":49,"tag":191,"props":1567,"children":1568},{"class":193,"line":214},[1569,1573,1577,1581,1586,1590,1594,1598,1602],{"type":49,"tag":191,"props":1570,"children":1571},{"style":734},[1572],{"type":55,"value":737},{"type":49,"tag":191,"props":1574,"children":1575},{"style":740},[1576],{"type":55,"value":743},{"type":49,"tag":191,"props":1578,"children":1579},{"style":263},[1580],{"type":55,"value":286},{"type":49,"tag":191,"props":1582,"children":1583},{"style":203},[1584],{"type":55,"value":1585},"items.mine publication",{"type":49,"tag":191,"props":1587,"children":1588},{"style":263},[1589],{"type":55,"value":286},{"type":49,"tag":191,"props":1591,"children":1592},{"style":263},[1593],{"type":55,"value":761},{"type":49,"tag":191,"props":1595,"children":1596},{"style":278},[1597],{"type":55,"value":766},{"type":49,"tag":191,"props":1599,"children":1600},{"style":263},[1601],{"type":55,"value":771},{"type":49,"tag":191,"props":1603,"children":1604},{"style":263},[1605],{"type":55,"value":296},{"type":49,"tag":191,"props":1607,"children":1608},{"class":193,"line":269},[1609,1613,1617,1621,1626,1630,1634,1638,1642,1646],{"type":49,"tag":191,"props":1610,"children":1611},{"style":734},[1612],{"type":55,"value":877},{"type":49,"tag":191,"props":1614,"children":1615},{"style":740},[1616],{"type":55,"value":743},{"type":49,"tag":191,"props":1618,"children":1619},{"style":263},[1620],{"type":55,"value":286},{"type":49,"tag":191,"props":1622,"children":1623},{"style":203},[1624],{"type":55,"value":1625},"only ships the subscribing user's items",{"type":49,"tag":191,"props":1627,"children":1628},{"style":263},[1629],{"type":55,"value":286},{"type":49,"tag":191,"props":1631,"children":1632},{"style":263},[1633],{"type":55,"value":761},{"type":49,"tag":191,"props":1635,"children":1636},{"style":278},[1637],{"type":55,"value":903},{"type":49,"tag":191,"props":1639,"children":1640},{"style":278},[1641],{"type":55,"value":766},{"type":49,"tag":191,"props":1643,"children":1644},{"style":263},[1645],{"type":55,"value":771},{"type":49,"tag":191,"props":1647,"children":1648},{"style":263},[1649],{"type":55,"value":296},{"type":49,"tag":191,"props":1651,"children":1652},{"class":193,"line":20},[1653,1657,1661,1665,1669,1673,1677,1681],{"type":49,"tag":191,"props":1654,"children":1655},{"style":576},[1656],{"type":55,"value":812},{"type":49,"tag":191,"props":1658,"children":1659},{"style":582},[1660],{"type":55,"value":668},{"type":49,"tag":191,"props":1662,"children":1663},{"style":263},[1664],{"type":55,"value":139},{"type":49,"tag":191,"props":1666,"children":1667},{"style":734},[1668],{"type":55,"value":825},{"type":49,"tag":191,"props":1670,"children":1671},{"style":740},[1672],{"type":55,"value":743},{"type":49,"tag":191,"props":1674,"children":1675},{"style":263},[1676],{"type":55,"value":834},{"type":49,"tag":191,"props":1678,"children":1679},{"style":740},[1680],{"type":55,"value":839},{"type":49,"tag":191,"props":1682,"children":1683},{"style":263},[1684],{"type":55,"value":608},{"type":49,"tag":191,"props":1686,"children":1687},{"class":193,"line":339},[1688,1692,1696,1700,1705,1709,1713,1717,1721,1725,1730,1734,1738,1743,1747,1751,1755,1759,1763,1767],{"type":49,"tag":191,"props":1689,"children":1690},{"style":576},[1691],{"type":55,"value":812},{"type":49,"tag":191,"props":1693,"children":1694},{"style":582},[1695],{"type":55,"value":668},{"type":49,"tag":191,"props":1697,"children":1698},{"style":263},[1699],{"type":55,"value":139},{"type":49,"tag":191,"props":1701,"children":1702},{"style":734},[1703],{"type":55,"value":1704},"insertAsync",{"type":49,"tag":191,"props":1706,"children":1707},{"style":740},[1708],{"type":55,"value":743},{"type":49,"tag":191,"props":1710,"children":1711},{"style":263},[1712],{"type":55,"value":1047},{"type":49,"tag":191,"props":1714,"children":1715},{"style":740},[1716],{"type":55,"value":929},{"type":49,"tag":191,"props":1718,"children":1719},{"style":263},[1720],{"type":55,"value":291},{"type":49,"tag":191,"props":1722,"children":1723},{"style":263},[1724],{"type":55,"value":322},{"type":49,"tag":191,"props":1726,"children":1727},{"style":203},[1728],{"type":55,"value":1729},"a",{"type":49,"tag":191,"props":1731,"children":1732},{"style":263},[1733],{"type":55,"value":286},{"type":49,"tag":191,"props":1735,"children":1736},{"style":263},[1737],{"type":55,"value":761},{"type":49,"tag":191,"props":1739,"children":1740},{"style":740},[1741],{"type":55,"value":1742}," ownerId",{"type":49,"tag":191,"props":1744,"children":1745},{"style":263},[1746],{"type":55,"value":291},{"type":49,"tag":191,"props":1748,"children":1749},{"style":263},[1750],{"type":55,"value":322},{"type":49,"tag":191,"props":1752,"children":1753},{"style":203},[1754],{"type":55,"value":1024},{"type":49,"tag":191,"props":1756,"children":1757},{"style":263},[1758],{"type":55,"value":286},{"type":49,"tag":191,"props":1760,"children":1761},{"style":263},[1762],{"type":55,"value":630},{"type":49,"tag":191,"props":1764,"children":1765},{"style":740},[1766],{"type":55,"value":839},{"type":49,"tag":191,"props":1768,"children":1769},{"style":263},[1770],{"type":55,"value":608},{"type":49,"tag":191,"props":1772,"children":1773},{"class":193,"line":377},[1774,1778,1782,1786,1790,1794,1798,1802,1806,1810,1815,1819,1823,1827,1831,1835,1840,1844,1848,1852],{"type":49,"tag":191,"props":1775,"children":1776},{"style":576},[1777],{"type":55,"value":812},{"type":49,"tag":191,"props":1779,"children":1780},{"style":582},[1781],{"type":55,"value":668},{"type":49,"tag":191,"props":1783,"children":1784},{"style":263},[1785],{"type":55,"value":139},{"type":49,"tag":191,"props":1787,"children":1788},{"style":734},[1789],{"type":55,"value":1704},{"type":49,"tag":191,"props":1791,"children":1792},{"style":740},[1793],{"type":55,"value":743},{"type":49,"tag":191,"props":1795,"children":1796},{"style":263},[1797],{"type":55,"value":1047},{"type":49,"tag":191,"props":1799,"children":1800},{"style":740},[1801],{"type":55,"value":929},{"type":49,"tag":191,"props":1803,"children":1804},{"style":263},[1805],{"type":55,"value":291},{"type":49,"tag":191,"props":1807,"children":1808},{"style":263},[1809],{"type":55,"value":322},{"type":49,"tag":191,"props":1811,"children":1812},{"style":203},[1813],{"type":55,"value":1814},"b",{"type":49,"tag":191,"props":1816,"children":1817},{"style":263},[1818],{"type":55,"value":286},{"type":49,"tag":191,"props":1820,"children":1821},{"style":263},[1822],{"type":55,"value":761},{"type":49,"tag":191,"props":1824,"children":1825},{"style":740},[1826],{"type":55,"value":1742},{"type":49,"tag":191,"props":1828,"children":1829},{"style":263},[1830],{"type":55,"value":291},{"type":49,"tag":191,"props":1832,"children":1833},{"style":263},[1834],{"type":55,"value":322},{"type":49,"tag":191,"props":1836,"children":1837},{"style":203},[1838],{"type":55,"value":1839},"u2",{"type":49,"tag":191,"props":1841,"children":1842},{"style":263},[1843],{"type":55,"value":286},{"type":49,"tag":191,"props":1845,"children":1846},{"style":263},[1847],{"type":55,"value":630},{"type":49,"tag":191,"props":1849,"children":1850},{"style":740},[1851],{"type":55,"value":839},{"type":49,"tag":191,"props":1853,"children":1854},{"style":263},[1855],{"type":55,"value":608},{"type":49,"tag":191,"props":1857,"children":1858},{"class":193,"line":412},[1859],{"type":49,"tag":191,"props":1860,"children":1861},{"emptyLinePlaceholder":699},[1862],{"type":55,"value":702},{"type":49,"tag":191,"props":1864,"children":1865},{"class":193,"line":421},[1866,1870,1875,1879,1883,1887,1891,1895,1899,1903,1907,1911,1916,1920],{"type":49,"tag":191,"props":1867,"children":1868},{"style":278},[1869],{"type":55,"value":924},{"type":49,"tag":191,"props":1871,"children":1872},{"style":582},[1873],{"type":55,"value":1874}," cursor",{"type":49,"tag":191,"props":1876,"children":1877},{"style":263},[1878],{"type":55,"value":934},{"type":49,"tag":191,"props":1880,"children":1881},{"style":576},[1882],{"type":55,"value":939},{"type":49,"tag":191,"props":1884,"children":1885},{"style":582},[1886],{"type":55,"value":625},{"type":49,"tag":191,"props":1888,"children":1889},{"style":263},[1890],{"type":55,"value":139},{"type":49,"tag":191,"props":1892,"children":1893},{"style":582},[1894],{"type":55,"value":952},{"type":49,"tag":191,"props":1896,"children":1897},{"style":263},[1898],{"type":55,"value":139},{"type":49,"tag":191,"props":1900,"children":1901},{"style":582},[1902],{"type":55,"value":137},{"type":49,"tag":191,"props":1904,"children":1905},{"style":740},[1906],{"type":55,"value":966},{"type":49,"tag":191,"props":1908,"children":1909},{"style":263},[1910],{"type":55,"value":286},{"type":49,"tag":191,"props":1912,"children":1913},{"style":203},[1914],{"type":55,"value":1915},"items.mine",{"type":49,"tag":191,"props":1917,"children":1918},{"style":263},[1919],{"type":55,"value":286},{"type":49,"tag":191,"props":1921,"children":1922},{"style":740},[1923],{"type":55,"value":1924},"]\n",{"type":49,"tag":191,"props":1926,"children":1927},{"class":193,"line":846},[1928,1933,1937,1941,1945,1949,1953,1957,1961,1965,1969,1974],{"type":49,"tag":191,"props":1929,"children":1930},{"style":263},[1931],{"type":55,"value":1932},"        .",{"type":49,"tag":191,"props":1934,"children":1935},{"style":734},[1936],{"type":55,"value":992},{"type":49,"tag":191,"props":1938,"children":1939},{"style":740},[1940],{"type":55,"value":743},{"type":49,"tag":191,"props":1942,"children":1943},{"style":263},[1944],{"type":55,"value":1047},{"type":49,"tag":191,"props":1946,"children":1947},{"style":740},[1948],{"type":55,"value":1011},{"type":49,"tag":191,"props":1950,"children":1951},{"style":263},[1952],{"type":55,"value":291},{"type":49,"tag":191,"props":1954,"children":1955},{"style":263},[1956],{"type":55,"value":322},{"type":49,"tag":191,"props":1958,"children":1959},{"style":203},[1960],{"type":55,"value":1024},{"type":49,"tag":191,"props":1962,"children":1963},{"style":263},[1964],{"type":55,"value":286},{"type":49,"tag":191,"props":1966,"children":1967},{"style":263},[1968],{"type":55,"value":1408},{"type":49,"tag":191,"props":1970,"children":1971},{"style":740},[1972],{"type":55,"value":1973}," [])",{"type":49,"tag":191,"props":1975,"children":1976},{"style":263},[1977],{"type":55,"value":608},{"type":49,"tag":191,"props":1979,"children":1980},{"class":193,"line":863},[1981,1985,1990,1994,1998,2002,2006,2011,2015],{"type":49,"tag":191,"props":1982,"children":1983},{"style":278},[1984],{"type":55,"value":924},{"type":49,"tag":191,"props":1986,"children":1987},{"style":582},[1988],{"type":55,"value":1989}," docs",{"type":49,"tag":191,"props":1991,"children":1992},{"style":263},[1993],{"type":55,"value":934},{"type":49,"tag":191,"props":1995,"children":1996},{"style":576},[1997],{"type":55,"value":939},{"type":49,"tag":191,"props":1999,"children":2000},{"style":582},[2001],{"type":55,"value":1874},{"type":49,"tag":191,"props":2003,"children":2004},{"style":263},[2005],{"type":55,"value":139},{"type":49,"tag":191,"props":2007,"children":2008},{"style":734},[2009],{"type":55,"value":2010},"fetchAsync",{"type":49,"tag":191,"props":2012,"children":2013},{"style":740},[2014],{"type":55,"value":1324},{"type":49,"tag":191,"props":2016,"children":2017},{"style":263},[2018],{"type":55,"value":608},{"type":49,"tag":191,"props":2020,"children":2021},{"class":193,"line":871},[2022,2026,2030,2035,2039,2044,2048,2053,2057,2061,2067,2071,2076,2081,2085,2089,2093,2097,2101,2105,2109,2113,2117],{"type":49,"tag":191,"props":2023,"children":2024},{"style":582},[2025],{"type":55,"value":1173},{"type":49,"tag":191,"props":2027,"children":2028},{"style":263},[2029],{"type":55,"value":139},{"type":49,"tag":191,"props":2031,"children":2032},{"style":734},[2033],{"type":55,"value":2034},"deepEqual",{"type":49,"tag":191,"props":2036,"children":2037},{"style":740},[2038],{"type":55,"value":743},{"type":49,"tag":191,"props":2040,"children":2041},{"style":582},[2042],{"type":55,"value":2043},"docs",{"type":49,"tag":191,"props":2045,"children":2046},{"style":263},[2047],{"type":55,"value":139},{"type":49,"tag":191,"props":2049,"children":2050},{"style":734},[2051],{"type":55,"value":2052},"map",{"type":49,"tag":191,"props":2054,"children":2055},{"style":740},[2056],{"type":55,"value":743},{"type":49,"tag":191,"props":2058,"children":2059},{"style":263},[2060],{"type":55,"value":743},{"type":49,"tag":191,"props":2062,"children":2064},{"style":2063},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[2065],{"type":55,"value":2066},"d",{"type":49,"tag":191,"props":2068,"children":2069},{"style":263},[2070],{"type":55,"value":839},{"type":49,"tag":191,"props":2072,"children":2073},{"style":278},[2074],{"type":55,"value":2075}," =>",{"type":49,"tag":191,"props":2077,"children":2078},{"style":582},[2079],{"type":55,"value":2080}," d",{"type":49,"tag":191,"props":2082,"children":2083},{"style":263},[2084],{"type":55,"value":139},{"type":49,"tag":191,"props":2086,"children":2087},{"style":582},[2088],{"type":55,"value":1156},{"type":49,"tag":191,"props":2090,"children":2091},{"style":740},[2092],{"type":55,"value":839},{"type":49,"tag":191,"props":2094,"children":2095},{"style":263},[2096],{"type":55,"value":761},{"type":49,"tag":191,"props":2098,"children":2099},{"style":740},[2100],{"type":55,"value":1413},{"type":49,"tag":191,"props":2102,"children":2103},{"style":263},[2104],{"type":55,"value":286},{"type":49,"tag":191,"props":2106,"children":2107},{"style":203},[2108],{"type":55,"value":1729},{"type":49,"tag":191,"props":2110,"children":2111},{"style":263},[2112],{"type":55,"value":286},{"type":49,"tag":191,"props":2114,"children":2115},{"style":740},[2116],{"type":55,"value":1422},{"type":49,"tag":191,"props":2118,"children":2119},{"style":263},[2120],{"type":55,"value":608},{"type":49,"tag":191,"props":2122,"children":2123},{"class":193,"line":918},[2124,2128,2132],{"type":49,"tag":191,"props":2125,"children":2126},{"style":263},[2127],{"type":55,"value":852},{"type":49,"tag":191,"props":2129,"children":2130},{"style":740},[2131],{"type":55,"value":839},{"type":49,"tag":191,"props":2133,"children":2134},{"style":263},[2135],{"type":55,"value":608},{"type":49,"tag":191,"props":2137,"children":2138},{"class":193,"line":1000},[2139,2143,2147],{"type":49,"tag":191,"props":2140,"children":2141},{"style":263},[2142],{"type":55,"value":1463},{"type":49,"tag":191,"props":2144,"children":2145},{"style":740},[2146],{"type":55,"value":839},{"type":49,"tag":191,"props":2148,"children":2149},{"style":263},[2150],{"type":55,"value":608},{"type":49,"tag":191,"props":2152,"children":2153},{"class":193,"line":1036},[2154],{"type":49,"tag":191,"props":2155,"children":2156},{"style":263},[2157],{"type":55,"value":427},{"type":49,"tag":58,"props":2159,"children":2160},{},[2161,2163,2169,2171,2177,2179,2184],{"type":55,"value":2162},"For publications using the low-level ",{"type":49,"tag":62,"props":2164,"children":2166},{"className":2165},[],[2167],{"type":55,"value":2168},"this.added",{"type":55,"value":2170}," \u002F ",{"type":49,"tag":62,"props":2172,"children":2174},{"className":2173},[],[2175],{"type":55,"value":2176},"this.changed",{"type":55,"value":2178}," API,\ntest with a real DDP client via ",{"type":49,"tag":62,"props":2180,"children":2182},{"className":2181},[],[2183],{"type":55,"value":150},{"type":55,"value":2185}," mode (next section).",{"type":49,"tag":58,"props":2187,"children":2188},{},[2189],{"type":55,"value":2190},"Always await the direct publish handler. Conventional handlers return the\ncursor immediately; async handlers return a Promise of the cursor.",{"type":49,"tag":84,"props":2192,"children":2194},{"id":2193},"end-to-end-ddp-test-full-app-mode",[2195,2197,2202],{"type":55,"value":2196},"End-to-end DDP test (",{"type":49,"tag":62,"props":2198,"children":2200},{"className":2199},[],[2201],{"type":55,"value":150},{"type":55,"value":2203}," mode)",{"type":49,"tag":180,"props":2205,"children":2207},{"className":564,"code":2206,"language":566,"meta":185,"style":185},"import { DDP } from \"meteor\u002Fddp-client\";\nimport { Mongo } from \"meteor\u002Fmongo\";\nimport { Tracker } from \"meteor\u002Ftracker\";\n\nconst conn = DDP.connect(Meteor.absoluteUrl());\nconst RemoteItems = new Mongo.Collection(\"items\", { connection: conn });\n\nfunction ready(sub) {\n  return new Promise((resolve) => {\n    const computation = Tracker.autorun((c) => {\n      if (sub.ready()) {\n        c.stop();\n        resolve();\n      }\n    });\n  });\n}\n\nconst sub = conn.subscribe(\"items.mine\");\nawait ready(sub);\nconst docs = RemoteItems.find().fetch();\n",[2208],{"type":49,"tag":62,"props":2209,"children":2210},{"__ignoreMap":185},[2211,2252,2293,2334,2341,2395,2480,2487,2517,2559,2614,2649,2674,2690,2698,2713,2728,2735,2742,2796,2817],{"type":49,"tag":191,"props":2212,"children":2213},{"class":193,"line":194},[2214,2218,2222,2227,2231,2235,2239,2244,2248],{"type":49,"tag":191,"props":2215,"children":2216},{"style":576},[2217],{"type":55,"value":579},{"type":49,"tag":191,"props":2219,"children":2220},{"style":263},[2221],{"type":55,"value":620},{"type":49,"tag":191,"props":2223,"children":2224},{"style":582},[2225],{"type":55,"value":2226}," DDP",{"type":49,"tag":191,"props":2228,"children":2229},{"style":263},[2230],{"type":55,"value":630},{"type":49,"tag":191,"props":2232,"children":2233},{"style":576},[2234],{"type":55,"value":635},{"type":49,"tag":191,"props":2236,"children":2237},{"style":263},[2238],{"type":55,"value":322},{"type":49,"tag":191,"props":2240,"children":2241},{"style":203},[2242],{"type":55,"value":2243},"meteor\u002Fddp-client",{"type":49,"tag":191,"props":2245,"children":2246},{"style":263},[2247],{"type":55,"value":286},{"type":49,"tag":191,"props":2249,"children":2250},{"style":263},[2251],{"type":55,"value":608},{"type":49,"tag":191,"props":2253,"children":2254},{"class":193,"line":214},[2255,2259,2263,2268,2272,2276,2280,2285,2289],{"type":49,"tag":191,"props":2256,"children":2257},{"style":576},[2258],{"type":55,"value":579},{"type":49,"tag":191,"props":2260,"children":2261},{"style":263},[2262],{"type":55,"value":620},{"type":49,"tag":191,"props":2264,"children":2265},{"style":582},[2266],{"type":55,"value":2267}," Mongo",{"type":49,"tag":191,"props":2269,"children":2270},{"style":263},[2271],{"type":55,"value":630},{"type":49,"tag":191,"props":2273,"children":2274},{"style":576},[2275],{"type":55,"value":635},{"type":49,"tag":191,"props":2277,"children":2278},{"style":263},[2279],{"type":55,"value":322},{"type":49,"tag":191,"props":2281,"children":2282},{"style":203},[2283],{"type":55,"value":2284},"meteor\u002Fmongo",{"type":49,"tag":191,"props":2286,"children":2287},{"style":263},[2288],{"type":55,"value":286},{"type":49,"tag":191,"props":2290,"children":2291},{"style":263},[2292],{"type":55,"value":608},{"type":49,"tag":191,"props":2294,"children":2295},{"class":193,"line":269},[2296,2300,2304,2309,2313,2317,2321,2326,2330],{"type":49,"tag":191,"props":2297,"children":2298},{"style":576},[2299],{"type":55,"value":579},{"type":49,"tag":191,"props":2301,"children":2302},{"style":263},[2303],{"type":55,"value":620},{"type":49,"tag":191,"props":2305,"children":2306},{"style":582},[2307],{"type":55,"value":2308}," Tracker",{"type":49,"tag":191,"props":2310,"children":2311},{"style":263},[2312],{"type":55,"value":630},{"type":49,"tag":191,"props":2314,"children":2315},{"style":576},[2316],{"type":55,"value":635},{"type":49,"tag":191,"props":2318,"children":2319},{"style":263},[2320],{"type":55,"value":322},{"type":49,"tag":191,"props":2322,"children":2323},{"style":203},[2324],{"type":55,"value":2325},"meteor\u002Ftracker",{"type":49,"tag":191,"props":2327,"children":2328},{"style":263},[2329],{"type":55,"value":286},{"type":49,"tag":191,"props":2331,"children":2332},{"style":263},[2333],{"type":55,"value":608},{"type":49,"tag":191,"props":2335,"children":2336},{"class":193,"line":20},[2337],{"type":49,"tag":191,"props":2338,"children":2339},{"emptyLinePlaceholder":699},[2340],{"type":55,"value":702},{"type":49,"tag":191,"props":2342,"children":2343},{"class":193,"line":339},[2344,2349,2354,2359,2363,2367,2372,2377,2381,2386,2391],{"type":49,"tag":191,"props":2345,"children":2346},{"style":278},[2347],{"type":55,"value":2348},"const",{"type":49,"tag":191,"props":2350,"children":2351},{"style":582},[2352],{"type":55,"value":2353}," conn ",{"type":49,"tag":191,"props":2355,"children":2356},{"style":263},[2357],{"type":55,"value":2358},"=",{"type":49,"tag":191,"props":2360,"children":2361},{"style":582},[2362],{"type":55,"value":2226},{"type":49,"tag":191,"props":2364,"children":2365},{"style":263},[2366],{"type":55,"value":139},{"type":49,"tag":191,"props":2368,"children":2369},{"style":734},[2370],{"type":55,"value":2371},"connect",{"type":49,"tag":191,"props":2373,"children":2374},{"style":582},[2375],{"type":55,"value":2376},"(Meteor",{"type":49,"tag":191,"props":2378,"children":2379},{"style":263},[2380],{"type":55,"value":139},{"type":49,"tag":191,"props":2382,"children":2383},{"style":734},[2384],{"type":55,"value":2385},"absoluteUrl",{"type":49,"tag":191,"props":2387,"children":2388},{"style":582},[2389],{"type":55,"value":2390},"())",{"type":49,"tag":191,"props":2392,"children":2393},{"style":263},[2394],{"type":55,"value":608},{"type":49,"tag":191,"props":2396,"children":2397},{"class":193,"line":377},[2398,2402,2407,2411,2416,2420,2424,2429,2433,2437,2442,2446,2450,2454,2459,2463,2467,2472,2476],{"type":49,"tag":191,"props":2399,"children":2400},{"style":278},[2401],{"type":55,"value":2348},{"type":49,"tag":191,"props":2403,"children":2404},{"style":582},[2405],{"type":55,"value":2406}," RemoteItems ",{"type":49,"tag":191,"props":2408,"children":2409},{"style":263},[2410],{"type":55,"value":2358},{"type":49,"tag":191,"props":2412,"children":2413},{"style":263},[2414],{"type":55,"value":2415}," new",{"type":49,"tag":191,"props":2417,"children":2418},{"style":582},[2419],{"type":55,"value":2267},{"type":49,"tag":191,"props":2421,"children":2422},{"style":263},[2423],{"type":55,"value":139},{"type":49,"tag":191,"props":2425,"children":2426},{"style":734},[2427],{"type":55,"value":2428},"Collection",{"type":49,"tag":191,"props":2430,"children":2431},{"style":582},[2432],{"type":55,"value":743},{"type":49,"tag":191,"props":2434,"children":2435},{"style":263},[2436],{"type":55,"value":286},{"type":49,"tag":191,"props":2438,"children":2439},{"style":203},[2440],{"type":55,"value":2441},"items",{"type":49,"tag":191,"props":2443,"children":2444},{"style":263},[2445],{"type":55,"value":286},{"type":49,"tag":191,"props":2447,"children":2448},{"style":263},[2449],{"type":55,"value":761},{"type":49,"tag":191,"props":2451,"children":2452},{"style":263},[2453],{"type":55,"value":620},{"type":49,"tag":191,"props":2455,"children":2456},{"style":740},[2457],{"type":55,"value":2458}," connection",{"type":49,"tag":191,"props":2460,"children":2461},{"style":263},[2462],{"type":55,"value":291},{"type":49,"tag":191,"props":2464,"children":2465},{"style":582},[2466],{"type":55,"value":2353},{"type":49,"tag":191,"props":2468,"children":2469},{"style":263},[2470],{"type":55,"value":2471},"}",{"type":49,"tag":191,"props":2473,"children":2474},{"style":582},[2475],{"type":55,"value":839},{"type":49,"tag":191,"props":2477,"children":2478},{"style":263},[2479],{"type":55,"value":608},{"type":49,"tag":191,"props":2481,"children":2482},{"class":193,"line":412},[2483],{"type":49,"tag":191,"props":2484,"children":2485},{"emptyLinePlaceholder":699},[2486],{"type":55,"value":702},{"type":49,"tag":191,"props":2488,"children":2489},{"class":193,"line":421},[2490,2495,2500,2504,2509,2513],{"type":49,"tag":191,"props":2491,"children":2492},{"style":278},[2493],{"type":55,"value":2494},"function",{"type":49,"tag":191,"props":2496,"children":2497},{"style":734},[2498],{"type":55,"value":2499}," ready",{"type":49,"tag":191,"props":2501,"children":2502},{"style":263},[2503],{"type":55,"value":743},{"type":49,"tag":191,"props":2505,"children":2506},{"style":2063},[2507],{"type":55,"value":2508},"sub",{"type":49,"tag":191,"props":2510,"children":2511},{"style":263},[2512],{"type":55,"value":839},{"type":49,"tag":191,"props":2514,"children":2515},{"style":263},[2516],{"type":55,"value":296},{"type":49,"tag":191,"props":2518,"children":2519},{"class":193,"line":846},[2520,2525,2529,2534,2538,2542,2547,2551,2555],{"type":49,"tag":191,"props":2521,"children":2522},{"style":576},[2523],{"type":55,"value":2524},"  return",{"type":49,"tag":191,"props":2526,"children":2527},{"style":263},[2528],{"type":55,"value":2415},{"type":49,"tag":191,"props":2530,"children":2531},{"style":198},[2532],{"type":55,"value":2533}," Promise",{"type":49,"tag":191,"props":2535,"children":2536},{"style":740},[2537],{"type":55,"value":743},{"type":49,"tag":191,"props":2539,"children":2540},{"style":263},[2541],{"type":55,"value":743},{"type":49,"tag":191,"props":2543,"children":2544},{"style":2063},[2545],{"type":55,"value":2546},"resolve",{"type":49,"tag":191,"props":2548,"children":2549},{"style":263},[2550],{"type":55,"value":839},{"type":49,"tag":191,"props":2552,"children":2553},{"style":278},[2554],{"type":55,"value":2075},{"type":49,"tag":191,"props":2556,"children":2557},{"style":263},[2558],{"type":55,"value":296},{"type":49,"tag":191,"props":2560,"children":2561},{"class":193,"line":863},[2562,2567,2572,2576,2580,2584,2589,2593,2597,2602,2606,2610],{"type":49,"tag":191,"props":2563,"children":2564},{"style":278},[2565],{"type":55,"value":2566},"    const",{"type":49,"tag":191,"props":2568,"children":2569},{"style":582},[2570],{"type":55,"value":2571}," computation",{"type":49,"tag":191,"props":2573,"children":2574},{"style":263},[2575],{"type":55,"value":934},{"type":49,"tag":191,"props":2577,"children":2578},{"style":582},[2579],{"type":55,"value":2308},{"type":49,"tag":191,"props":2581,"children":2582},{"style":263},[2583],{"type":55,"value":139},{"type":49,"tag":191,"props":2585,"children":2586},{"style":734},[2587],{"type":55,"value":2588},"autorun",{"type":49,"tag":191,"props":2590,"children":2591},{"style":740},[2592],{"type":55,"value":743},{"type":49,"tag":191,"props":2594,"children":2595},{"style":263},[2596],{"type":55,"value":743},{"type":49,"tag":191,"props":2598,"children":2599},{"style":2063},[2600],{"type":55,"value":2601},"c",{"type":49,"tag":191,"props":2603,"children":2604},{"style":263},[2605],{"type":55,"value":839},{"type":49,"tag":191,"props":2607,"children":2608},{"style":278},[2609],{"type":55,"value":2075},{"type":49,"tag":191,"props":2611,"children":2612},{"style":263},[2613],{"type":55,"value":296},{"type":49,"tag":191,"props":2615,"children":2616},{"class":193,"line":871},[2617,2622,2627,2631,2635,2640,2645],{"type":49,"tag":191,"props":2618,"children":2619},{"style":576},[2620],{"type":55,"value":2621},"      if",{"type":49,"tag":191,"props":2623,"children":2624},{"style":740},[2625],{"type":55,"value":2626}," (",{"type":49,"tag":191,"props":2628,"children":2629},{"style":582},[2630],{"type":55,"value":2508},{"type":49,"tag":191,"props":2632,"children":2633},{"style":263},[2634],{"type":55,"value":139},{"type":49,"tag":191,"props":2636,"children":2637},{"style":734},[2638],{"type":55,"value":2639},"ready",{"type":49,"tag":191,"props":2641,"children":2642},{"style":740},[2643],{"type":55,"value":2644},"()) ",{"type":49,"tag":191,"props":2646,"children":2647},{"style":263},[2648],{"type":55,"value":266},{"type":49,"tag":191,"props":2650,"children":2651},{"class":193,"line":918},[2652,2657,2661,2666,2670],{"type":49,"tag":191,"props":2653,"children":2654},{"style":582},[2655],{"type":55,"value":2656},"        c",{"type":49,"tag":191,"props":2658,"children":2659},{"style":263},[2660],{"type":55,"value":139},{"type":49,"tag":191,"props":2662,"children":2663},{"style":734},[2664],{"type":55,"value":2665},"stop",{"type":49,"tag":191,"props":2667,"children":2668},{"style":740},[2669],{"type":55,"value":1324},{"type":49,"tag":191,"props":2671,"children":2672},{"style":263},[2673],{"type":55,"value":608},{"type":49,"tag":191,"props":2675,"children":2676},{"class":193,"line":1000},[2677,2682,2686],{"type":49,"tag":191,"props":2678,"children":2679},{"style":734},[2680],{"type":55,"value":2681},"        resolve",{"type":49,"tag":191,"props":2683,"children":2684},{"style":740},[2685],{"type":55,"value":1324},{"type":49,"tag":191,"props":2687,"children":2688},{"style":263},[2689],{"type":55,"value":608},{"type":49,"tag":191,"props":2691,"children":2692},{"class":193,"line":1036},[2693],{"type":49,"tag":191,"props":2694,"children":2695},{"style":263},[2696],{"type":55,"value":2697},"      }\n",{"type":49,"tag":191,"props":2699,"children":2700},{"class":193,"line":1103},[2701,2705,2709],{"type":49,"tag":191,"props":2702,"children":2703},{"style":263},[2704],{"type":55,"value":852},{"type":49,"tag":191,"props":2706,"children":2707},{"style":740},[2708],{"type":55,"value":839},{"type":49,"tag":191,"props":2710,"children":2711},{"style":263},[2712],{"type":55,"value":608},{"type":49,"tag":191,"props":2714,"children":2715},{"class":193,"line":1116},[2716,2720,2724],{"type":49,"tag":191,"props":2717,"children":2718},{"style":263},[2719],{"type":55,"value":1463},{"type":49,"tag":191,"props":2721,"children":2722},{"style":740},[2723],{"type":55,"value":839},{"type":49,"tag":191,"props":2725,"children":2726},{"style":263},[2727],{"type":55,"value":608},{"type":49,"tag":191,"props":2729,"children":2730},{"class":193,"line":1167},[2731],{"type":49,"tag":191,"props":2732,"children":2733},{"style":263},[2734],{"type":55,"value":427},{"type":49,"tag":191,"props":2736,"children":2737},{"class":193,"line":1227},[2738],{"type":49,"tag":191,"props":2739,"children":2740},{"emptyLinePlaceholder":699},[2741],{"type":55,"value":702},{"type":49,"tag":191,"props":2743,"children":2744},{"class":193,"line":1243},[2745,2749,2754,2758,2763,2767,2772,2776,2780,2784,2788,2792],{"type":49,"tag":191,"props":2746,"children":2747},{"style":278},[2748],{"type":55,"value":2348},{"type":49,"tag":191,"props":2750,"children":2751},{"style":582},[2752],{"type":55,"value":2753}," sub ",{"type":49,"tag":191,"props":2755,"children":2756},{"style":263},[2757],{"type":55,"value":2358},{"type":49,"tag":191,"props":2759,"children":2760},{"style":582},[2761],{"type":55,"value":2762}," conn",{"type":49,"tag":191,"props":2764,"children":2765},{"style":263},[2766],{"type":55,"value":139},{"type":49,"tag":191,"props":2768,"children":2769},{"style":734},[2770],{"type":55,"value":2771},"subscribe",{"type":49,"tag":191,"props":2773,"children":2774},{"style":582},[2775],{"type":55,"value":743},{"type":49,"tag":191,"props":2777,"children":2778},{"style":263},[2779],{"type":55,"value":286},{"type":49,"tag":191,"props":2781,"children":2782},{"style":203},[2783],{"type":55,"value":1915},{"type":49,"tag":191,"props":2785,"children":2786},{"style":263},[2787],{"type":55,"value":286},{"type":49,"tag":191,"props":2789,"children":2790},{"style":582},[2791],{"type":55,"value":839},{"type":49,"tag":191,"props":2793,"children":2794},{"style":263},[2795],{"type":55,"value":608},{"type":49,"tag":191,"props":2797,"children":2798},{"class":193,"line":1251},[2799,2804,2808,2813],{"type":49,"tag":191,"props":2800,"children":2801},{"style":576},[2802],{"type":55,"value":2803},"await",{"type":49,"tag":191,"props":2805,"children":2806},{"style":734},[2807],{"type":55,"value":2499},{"type":49,"tag":191,"props":2809,"children":2810},{"style":582},[2811],{"type":55,"value":2812},"(sub)",{"type":49,"tag":191,"props":2814,"children":2815},{"style":263},[2816],{"type":55,"value":608},{"type":49,"tag":191,"props":2818,"children":2819},{"class":193,"line":1296},[2820,2824,2829,2833,2838,2842,2847,2851,2855,2860,2864],{"type":49,"tag":191,"props":2821,"children":2822},{"style":278},[2823],{"type":55,"value":2348},{"type":49,"tag":191,"props":2825,"children":2826},{"style":582},[2827],{"type":55,"value":2828}," docs ",{"type":49,"tag":191,"props":2830,"children":2831},{"style":263},[2832],{"type":55,"value":2358},{"type":49,"tag":191,"props":2834,"children":2835},{"style":582},[2836],{"type":55,"value":2837}," RemoteItems",{"type":49,"tag":191,"props":2839,"children":2840},{"style":263},[2841],{"type":55,"value":139},{"type":49,"tag":191,"props":2843,"children":2844},{"style":734},[2845],{"type":55,"value":2846},"find",{"type":49,"tag":191,"props":2848,"children":2849},{"style":582},[2850],{"type":55,"value":1324},{"type":49,"tag":191,"props":2852,"children":2853},{"style":263},[2854],{"type":55,"value":139},{"type":49,"tag":191,"props":2856,"children":2857},{"style":734},[2858],{"type":55,"value":2859},"fetch",{"type":49,"tag":191,"props":2861,"children":2862},{"style":582},[2863],{"type":55,"value":1324},{"type":49,"tag":191,"props":2865,"children":2866},{"style":263},[2867],{"type":55,"value":608},{"type":49,"tag":58,"props":2869,"children":2870},{},[2871,2873,2878],{"type":55,"value":2872},"Run with ",{"type":49,"tag":62,"props":2874,"children":2876},{"className":2875},[],[2877],{"type":55,"value":404},{"type":55,"value":139},{"type":49,"tag":84,"props":2880,"children":2882},{"id":2881},"client-unit-test-minimongo",[2883],{"type":55,"value":2884},"Client unit test (Minimongo)",{"type":49,"tag":180,"props":2886,"children":2888},{"className":564,"code":2887,"language":566,"meta":185,"style":185},"if (Meteor.isClient) {\n  describe(\"Items minimongo\", function () {\n    beforeEach(function () { Items.remove({}); });\n\n    it(\"filters by ownerId\", function () {\n      Items.insert({ _id: \"a\", ownerId: \"u1\" });\n      Items.insert({ _id: \"b\", ownerId: \"u2\" });\n      assert.equal(Items.find({ ownerId: \"u1\" }).count(), 1);\n    });\n  });\n}\n",[2889],{"type":49,"tag":62,"props":2890,"children":2891},{"__ignoreMap":185},[2892,2916,2956,3021,3028,3068,3149,3228,3325,3340,3355],{"type":49,"tag":191,"props":2893,"children":2894},{"class":193,"line":194},[2895,2899,2903,2907,2912],{"type":49,"tag":191,"props":2896,"children":2897},{"style":576},[2898],{"type":55,"value":710},{"type":49,"tag":191,"props":2900,"children":2901},{"style":582},[2902],{"type":55,"value":715},{"type":49,"tag":191,"props":2904,"children":2905},{"style":263},[2906],{"type":55,"value":139},{"type":49,"tag":191,"props":2908,"children":2909},{"style":582},[2910],{"type":55,"value":2911},"isClient) ",{"type":49,"tag":191,"props":2913,"children":2914},{"style":263},[2915],{"type":55,"value":266},{"type":49,"tag":191,"props":2917,"children":2918},{"class":193,"line":214},[2919,2923,2927,2931,2936,2940,2944,2948,2952],{"type":49,"tag":191,"props":2920,"children":2921},{"style":734},[2922],{"type":55,"value":737},{"type":49,"tag":191,"props":2924,"children":2925},{"style":740},[2926],{"type":55,"value":743},{"type":49,"tag":191,"props":2928,"children":2929},{"style":263},[2930],{"type":55,"value":286},{"type":49,"tag":191,"props":2932,"children":2933},{"style":203},[2934],{"type":55,"value":2935},"Items minimongo",{"type":49,"tag":191,"props":2937,"children":2938},{"style":263},[2939],{"type":55,"value":286},{"type":49,"tag":191,"props":2941,"children":2942},{"style":263},[2943],{"type":55,"value":761},{"type":49,"tag":191,"props":2945,"children":2946},{"style":278},[2947],{"type":55,"value":766},{"type":49,"tag":191,"props":2949,"children":2950},{"style":263},[2951],{"type":55,"value":771},{"type":49,"tag":191,"props":2953,"children":2954},{"style":263},[2955],{"type":55,"value":296},{"type":49,"tag":191,"props":2957,"children":2958},{"class":193,"line":269},[2959,2963,2967,2971,2975,2979,2983,2987,2992,2996,3000,3004,3009,3013,3017],{"type":49,"tag":191,"props":2960,"children":2961},{"style":734},[2962],{"type":55,"value":783},{"type":49,"tag":191,"props":2964,"children":2965},{"style":740},[2966],{"type":55,"value":743},{"type":49,"tag":191,"props":2968,"children":2969},{"style":278},[2970],{"type":55,"value":2494},{"type":49,"tag":191,"props":2972,"children":2973},{"style":263},[2974],{"type":55,"value":771},{"type":49,"tag":191,"props":2976,"children":2977},{"style":263},[2978],{"type":55,"value":620},{"type":49,"tag":191,"props":2980,"children":2981},{"style":582},[2982],{"type":55,"value":668},{"type":49,"tag":191,"props":2984,"children":2985},{"style":263},[2986],{"type":55,"value":139},{"type":49,"tag":191,"props":2988,"children":2989},{"style":734},[2990],{"type":55,"value":2991},"remove",{"type":49,"tag":191,"props":2993,"children":2994},{"style":740},[2995],{"type":55,"value":743},{"type":49,"tag":191,"props":2997,"children":2998},{"style":263},[2999],{"type":55,"value":834},{"type":49,"tag":191,"props":3001,"children":3002},{"style":740},[3003],{"type":55,"value":839},{"type":49,"tag":191,"props":3005,"children":3006},{"style":263},[3007],{"type":55,"value":3008},";",{"type":49,"tag":191,"props":3010,"children":3011},{"style":263},[3012],{"type":55,"value":630},{"type":49,"tag":191,"props":3014,"children":3015},{"style":740},[3016],{"type":55,"value":839},{"type":49,"tag":191,"props":3018,"children":3019},{"style":263},[3020],{"type":55,"value":608},{"type":49,"tag":191,"props":3022,"children":3023},{"class":193,"line":20},[3024],{"type":49,"tag":191,"props":3025,"children":3026},{"emptyLinePlaceholder":699},[3027],{"type":55,"value":702},{"type":49,"tag":191,"props":3029,"children":3030},{"class":193,"line":339},[3031,3035,3039,3043,3048,3052,3056,3060,3064],{"type":49,"tag":191,"props":3032,"children":3033},{"style":734},[3034],{"type":55,"value":877},{"type":49,"tag":191,"props":3036,"children":3037},{"style":740},[3038],{"type":55,"value":743},{"type":49,"tag":191,"props":3040,"children":3041},{"style":263},[3042],{"type":55,"value":286},{"type":49,"tag":191,"props":3044,"children":3045},{"style":203},[3046],{"type":55,"value":3047},"filters by ownerId",{"type":49,"tag":191,"props":3049,"children":3050},{"style":263},[3051],{"type":55,"value":286},{"type":49,"tag":191,"props":3053,"children":3054},{"style":263},[3055],{"type":55,"value":761},{"type":49,"tag":191,"props":3057,"children":3058},{"style":278},[3059],{"type":55,"value":766},{"type":49,"tag":191,"props":3061,"children":3062},{"style":263},[3063],{"type":55,"value":771},{"type":49,"tag":191,"props":3065,"children":3066},{"style":263},[3067],{"type":55,"value":296},{"type":49,"tag":191,"props":3069,"children":3070},{"class":193,"line":377},[3071,3076,3080,3085,3089,3093,3097,3101,3105,3109,3113,3117,3121,3125,3129,3133,3137,3141,3145],{"type":49,"tag":191,"props":3072,"children":3073},{"style":582},[3074],{"type":55,"value":3075},"      Items",{"type":49,"tag":191,"props":3077,"children":3078},{"style":263},[3079],{"type":55,"value":139},{"type":49,"tag":191,"props":3081,"children":3082},{"style":734},[3083],{"type":55,"value":3084},"insert",{"type":49,"tag":191,"props":3086,"children":3087},{"style":740},[3088],{"type":55,"value":743},{"type":49,"tag":191,"props":3090,"children":3091},{"style":263},[3092],{"type":55,"value":1047},{"type":49,"tag":191,"props":3094,"children":3095},{"style":740},[3096],{"type":55,"value":929},{"type":49,"tag":191,"props":3098,"children":3099},{"style":263},[3100],{"type":55,"value":291},{"type":49,"tag":191,"props":3102,"children":3103},{"style":263},[3104],{"type":55,"value":322},{"type":49,"tag":191,"props":3106,"children":3107},{"style":203},[3108],{"type":55,"value":1729},{"type":49,"tag":191,"props":3110,"children":3111},{"style":263},[3112],{"type":55,"value":286},{"type":49,"tag":191,"props":3114,"children":3115},{"style":263},[3116],{"type":55,"value":761},{"type":49,"tag":191,"props":3118,"children":3119},{"style":740},[3120],{"type":55,"value":1742},{"type":49,"tag":191,"props":3122,"children":3123},{"style":263},[3124],{"type":55,"value":291},{"type":49,"tag":191,"props":3126,"children":3127},{"style":263},[3128],{"type":55,"value":322},{"type":49,"tag":191,"props":3130,"children":3131},{"style":203},[3132],{"type":55,"value":1024},{"type":49,"tag":191,"props":3134,"children":3135},{"style":263},[3136],{"type":55,"value":286},{"type":49,"tag":191,"props":3138,"children":3139},{"style":263},[3140],{"type":55,"value":630},{"type":49,"tag":191,"props":3142,"children":3143},{"style":740},[3144],{"type":55,"value":839},{"type":49,"tag":191,"props":3146,"children":3147},{"style":263},[3148],{"type":55,"value":608},{"type":49,"tag":191,"props":3150,"children":3151},{"class":193,"line":412},[3152,3156,3160,3164,3168,3172,3176,3180,3184,3188,3192,3196,3200,3204,3208,3212,3216,3220,3224],{"type":49,"tag":191,"props":3153,"children":3154},{"style":582},[3155],{"type":55,"value":3075},{"type":49,"tag":191,"props":3157,"children":3158},{"style":263},[3159],{"type":55,"value":139},{"type":49,"tag":191,"props":3161,"children":3162},{"style":734},[3163],{"type":55,"value":3084},{"type":49,"tag":191,"props":3165,"children":3166},{"style":740},[3167],{"type":55,"value":743},{"type":49,"tag":191,"props":3169,"children":3170},{"style":263},[3171],{"type":55,"value":1047},{"type":49,"tag":191,"props":3173,"children":3174},{"style":740},[3175],{"type":55,"value":929},{"type":49,"tag":191,"props":3177,"children":3178},{"style":263},[3179],{"type":55,"value":291},{"type":49,"tag":191,"props":3181,"children":3182},{"style":263},[3183],{"type":55,"value":322},{"type":49,"tag":191,"props":3185,"children":3186},{"style":203},[3187],{"type":55,"value":1814},{"type":49,"tag":191,"props":3189,"children":3190},{"style":263},[3191],{"type":55,"value":286},{"type":49,"tag":191,"props":3193,"children":3194},{"style":263},[3195],{"type":55,"value":761},{"type":49,"tag":191,"props":3197,"children":3198},{"style":740},[3199],{"type":55,"value":1742},{"type":49,"tag":191,"props":3201,"children":3202},{"style":263},[3203],{"type":55,"value":291},{"type":49,"tag":191,"props":3205,"children":3206},{"style":263},[3207],{"type":55,"value":322},{"type":49,"tag":191,"props":3209,"children":3210},{"style":203},[3211],{"type":55,"value":1839},{"type":49,"tag":191,"props":3213,"children":3214},{"style":263},[3215],{"type":55,"value":286},{"type":49,"tag":191,"props":3217,"children":3218},{"style":263},[3219],{"type":55,"value":630},{"type":49,"tag":191,"props":3221,"children":3222},{"style":740},[3223],{"type":55,"value":839},{"type":49,"tag":191,"props":3225,"children":3226},{"style":263},[3227],{"type":55,"value":608},{"type":49,"tag":191,"props":3229,"children":3230},{"class":193,"line":421},[3231,3235,3239,3243,3247,3252,3256,3260,3264,3268,3272,3276,3280,3284,3288,3292,3296,3300,3305,3309,3313,3317,3321],{"type":49,"tag":191,"props":3232,"children":3233},{"style":582},[3234],{"type":55,"value":1173},{"type":49,"tag":191,"props":3236,"children":3237},{"style":263},[3238],{"type":55,"value":139},{"type":49,"tag":191,"props":3240,"children":3241},{"style":734},[3242],{"type":55,"value":1182},{"type":49,"tag":191,"props":3244,"children":3245},{"style":740},[3246],{"type":55,"value":743},{"type":49,"tag":191,"props":3248,"children":3249},{"style":582},[3250],{"type":55,"value":3251},"Items",{"type":49,"tag":191,"props":3253,"children":3254},{"style":263},[3255],{"type":55,"value":139},{"type":49,"tag":191,"props":3257,"children":3258},{"style":734},[3259],{"type":55,"value":2846},{"type":49,"tag":191,"props":3261,"children":3262},{"style":740},[3263],{"type":55,"value":743},{"type":49,"tag":191,"props":3265,"children":3266},{"style":263},[3267],{"type":55,"value":1047},{"type":49,"tag":191,"props":3269,"children":3270},{"style":740},[3271],{"type":55,"value":1742},{"type":49,"tag":191,"props":3273,"children":3274},{"style":263},[3275],{"type":55,"value":291},{"type":49,"tag":191,"props":3277,"children":3278},{"style":263},[3279],{"type":55,"value":322},{"type":49,"tag":191,"props":3281,"children":3282},{"style":203},[3283],{"type":55,"value":1024},{"type":49,"tag":191,"props":3285,"children":3286},{"style":263},[3287],{"type":55,"value":286},{"type":49,"tag":191,"props":3289,"children":3290},{"style":263},[3291],{"type":55,"value":630},{"type":49,"tag":191,"props":3293,"children":3294},{"style":740},[3295],{"type":55,"value":839},{"type":49,"tag":191,"props":3297,"children":3298},{"style":263},[3299],{"type":55,"value":139},{"type":49,"tag":191,"props":3301,"children":3302},{"style":734},[3303],{"type":55,"value":3304},"count",{"type":49,"tag":191,"props":3306,"children":3307},{"style":740},[3308],{"type":55,"value":1324},{"type":49,"tag":191,"props":3310,"children":3311},{"style":263},[3312],{"type":55,"value":761},{"type":49,"tag":191,"props":3314,"children":3315},{"style":1085},[3316],{"type":55,"value":1088},{"type":49,"tag":191,"props":3318,"children":3319},{"style":740},[3320],{"type":55,"value":839},{"type":49,"tag":191,"props":3322,"children":3323},{"style":263},[3324],{"type":55,"value":608},{"type":49,"tag":191,"props":3326,"children":3327},{"class":193,"line":846},[3328,3332,3336],{"type":49,"tag":191,"props":3329,"children":3330},{"style":263},[3331],{"type":55,"value":852},{"type":49,"tag":191,"props":3333,"children":3334},{"style":740},[3335],{"type":55,"value":839},{"type":49,"tag":191,"props":3337,"children":3338},{"style":263},[3339],{"type":55,"value":608},{"type":49,"tag":191,"props":3341,"children":3342},{"class":193,"line":863},[3343,3347,3351],{"type":49,"tag":191,"props":3344,"children":3345},{"style":263},[3346],{"type":55,"value":1463},{"type":49,"tag":191,"props":3348,"children":3349},{"style":740},[3350],{"type":55,"value":839},{"type":49,"tag":191,"props":3352,"children":3353},{"style":263},[3354],{"type":55,"value":608},{"type":49,"tag":191,"props":3356,"children":3357},{"class":193,"line":871},[3358],{"type":49,"tag":191,"props":3359,"children":3360},{"style":263},[3361],{"type":55,"value":427},{"type":49,"tag":58,"props":3363,"children":3364},{},[3365,3367,3373],{"type":55,"value":3366},"Client tests run in the browser the driver spawns. With\n",{"type":49,"tag":62,"props":3368,"children":3370},{"className":3369},[],[3371],{"type":55,"value":3372},"TEST_BROWSER_DRIVER=puppeteer",{"type":55,"value":3374},", the browser is headless Chromium and\nresults flow back to the server console.",{"type":49,"tag":58,"props":3376,"children":3377},{},[3378,3380,3386],{"type":55,"value":3379},"Do not treat a server-only green run as complete client coverage. The driver\nprints a message when no browser is connected; configure\n",{"type":49,"tag":62,"props":3381,"children":3383},{"className":3382},[],[3384],{"type":55,"value":3385},"TEST_BROWSER_DRIVER",{"type":55,"value":3387}," in CI and confirm client test counts are present.",{"type":49,"tag":84,"props":3389,"children":3391},{"id":3390},"browser-e2e",[3392],{"type":55,"value":3393},"Browser E2E",{"type":49,"tag":58,"props":3395,"children":3396},{},[3397],{"type":55,"value":3398},"Run Playwright or Cypress against the normal application unless the test\nneeds Meteor's app-test modules. The server command must work from a clean\nclone with a tracked, nonsecret settings fixture or fully documented test\nenvironment variables. Do not point it at an ignored developer settings file.",{"type":49,"tag":58,"props":3400,"children":3401},{},[3402],{"type":55,"value":3403},"Cover at least one complete mutation flow and one rejected server action.\nBasic page-title checks do not exercise async method stubs, authorization, or\npublication readiness.",{"type":49,"tag":84,"props":3405,"children":3407},{"id":3406},"anti-patterns",[3408],{"type":55,"value":3409},"Anti-patterns",{"type":49,"tag":434,"props":3411,"children":3412},{},[3413,3424,3429,3442,3455,3467,3479,3499],{"type":49,"tag":95,"props":3414,"children":3415},{},[3416,3418,3423],{"type":55,"value":3417},"Reach for Jest. Jest does not understand Meteor's build system. Use\n",{"type":49,"tag":62,"props":3419,"children":3421},{"className":3420},[],[3422],{"type":55,"value":67},{"type":55,"value":139},{"type":49,"tag":95,"props":3425,"children":3426},{},[3427],{"type":55,"value":3428},"Mock Mongo. Run the real driver against a clean DB.",{"type":49,"tag":95,"props":3430,"children":3431},{},[3432,3434,3440],{"type":55,"value":3433},"Forget ",{"type":49,"tag":62,"props":3435,"children":3437},{"className":3436},[],[3438],{"type":55,"value":3439},"if (Meteor.isServer) { ... }",{"type":55,"value":3441}," guards. Server tests crash if\nthey run in the browser harness.",{"type":49,"tag":95,"props":3443,"children":3444},{},[3445,3447,3453],{"type":55,"value":3446},"Skip ",{"type":49,"tag":62,"props":3448,"children":3450},{"className":3449},[],[3451],{"type":55,"value":3452},"beforeEach",{"type":55,"value":3454}," cleanup. Tests leak state across runs.",{"type":49,"tag":95,"props":3456,"children":3457},{},[3458,3460,3465],{"type":55,"value":3459},"Catch and log a ",{"type":49,"tag":62,"props":3461,"children":3463},{"className":3462},[],[3464],{"type":55,"value":3452},{"type":55,"value":3466}," failure without rethrowing. The test then runs\nagainst unknown state and can report a misleading assertion.",{"type":49,"tag":95,"props":3468,"children":3469},{},[3470,3472,3478],{"type":55,"value":3471},"Assert only the database postcondition for a rejected method. Also require\nthe Promise to reject with the expected ",{"type":49,"tag":62,"props":3473,"children":3475},{"className":3474},[],[3476],{"type":55,"value":3477},"Meteor.Error",{"type":55,"value":139},{"type":49,"tag":95,"props":3480,"children":3481},{},[3482,3484,3490,3492,3498],{"type":55,"value":3483},"Replace ",{"type":49,"tag":62,"props":3485,"children":3487},{"className":3486},[],[3488],{"type":55,"value":3489},"Meteor.userId",{"type":55,"value":3491}," or another global without restoring it in\n",{"type":49,"tag":62,"props":3493,"children":3495},{"className":3494},[],[3496],{"type":55,"value":3497},"afterEach",{"type":55,"value":139},{"type":49,"tag":95,"props":3500,"children":3501},{},[3502,3504,3510,3512,3518,3520,3525],{"type":55,"value":3503},"Use ",{"type":49,"tag":62,"props":3505,"children":3507},{"className":3506},[],[3508],{"type":55,"value":3509},"Meteor.call",{"type":55,"value":3511}," with callbacks in async test code. Use\n",{"type":49,"tag":62,"props":3513,"children":3515},{"className":3514},[],[3516],{"type":55,"value":3517},"Meteor.callAsync",{"type":55,"value":3519}," or unwrap ",{"type":49,"tag":62,"props":3521,"children":3523},{"className":3522},[],[3524],{"type":55,"value":961},{"type":55,"value":3526}," directly.",{"type":49,"tag":84,"props":3528,"children":3530},{"id":3529},"see-also",[3531],{"type":55,"value":3532},"See also",{"type":49,"tag":434,"props":3534,"children":3535},{},[3536,3545,3553,3562],{"type":49,"tag":95,"props":3537,"children":3538},{},[3539],{"type":49,"tag":62,"props":3540,"children":3542},{"className":3541},[],[3543],{"type":55,"value":3544},"references\u002Fmocha-setup.md",{"type":49,"tag":95,"props":3546,"children":3547},{},[3548],{"type":49,"tag":62,"props":3549,"children":3551},{"className":3550},[],[3552],{"type":55,"value":553},{"type":49,"tag":95,"props":3554,"children":3555},{},[3556],{"type":49,"tag":62,"props":3557,"children":3559},{"className":3558},[],[3560],{"type":55,"value":3561},"references\u002Fddp-test-helpers.md",{"type":49,"tag":95,"props":3563,"children":3564},{},[3565],{"type":49,"tag":62,"props":3566,"children":3568},{"className":3567},[],[3569],{"type":55,"value":3570},"references\u002Feval-cases.md",{"type":49,"tag":3572,"props":3573,"children":3574},"style",{},[3575],{"type":55,"value":3576},"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);}",{"items":3578,"total":1036},[3579,3596,3610,3621,3634,3651,3665,3679,3694,3706,3719,3734],{"slug":3580,"name":3580,"fn":3581,"description":3582,"org":3583,"tags":3584,"stars":20,"repoUrl":21,"updatedAt":3595},"meteor-accounts","implement authentication in Meteor apps","Use when wiring up authentication in a Meteor 3 app. Triggers on accounts-password, accounts-base, OAuth (Google, Facebook, GitHub, Apple, Twitter, Meetup, Weibo), accounts-2fa, accounts-passwordless, ServiceConfiguration.configurations.upsertAsync, Accounts.createUserAsync, Accounts.setPasswordAsync, Accounts.forgotPassword, Accounts.resetPassword, Accounts.verifyEmail, useHttpOnlyCookies, clientStorage, Meteor.loginWithPasswordAnd2faCode, email verification. Use this skill when the user asks about signups, signins, or asks about token storage vs HttpOnly cookies.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3585,3588,3591,3592],{"name":3586,"slug":3587,"type":13},"Auth","auth",{"name":3589,"slug":3590,"type":13},"Authentication","authentication",{"name":9,"slug":8,"type":13},{"name":3593,"slug":3594,"type":13},"OAuth","oauth","2026-08-28T15:08:40.058032",{"slug":3597,"name":3597,"fn":3598,"description":3599,"org":3600,"tags":3601,"stars":20,"repoUrl":21,"updatedAt":3609},"meteor-blaze","build and debug Meteor Blaze interfaces","Use when building or debugging Blaze interfaces in Meteor 3: meteor create --blaze, Spacebars templates, Template helpers and events, lifecycle hooks, Tracker, ReactiveVar or ReactiveDict, template subscriptions, Promise helpers, #let async states, Template.dynamic, Blaze.render, and blaze-hot HMR with the Meteor bundler. Triggers on stale async helper results, lost reactivity after await, data-context lookup surprises, duplicate DOM integrations after HMR, Rspack full reloads, or raw HTML in triple braces. Use this skill when the user asks about reusable Blaze components, current Blaze packages, Rspack entry imports, or testing Blaze templates. For Meteor 2 to 3 upgrades, use migrate-to-meteor-3 instead.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3602,3605,3606],{"name":3603,"slug":3604,"type":13},"Frontend","frontend",{"name":9,"slug":8,"type":13},{"name":3607,"slug":3608,"type":13},"Web Development","web-development","2026-08-28T15:09:37.601349",{"slug":3611,"name":3611,"fn":3612,"description":3613,"org":3614,"tags":3615,"stars":20,"repoUrl":21,"updatedAt":3620},"meteor-community-packages","manage Meteor community packages","Use when choosing, evaluating, adopting, configuring, or debugging a package from Meteor's documented community catalog, or moving from a community package to a promoted core package such as roles. Triggers on community package recommendations, Atmosphere vs npm selection, Packosphere maintenance checks, jam:* helpers, Meteor.publish.once, Meteor.publish.stream, meteor-rpc, Wormhole, cluster, and mail-preview. Use this skill when the user asks which maintained package fits or how its documented integration works. Route Meteor 2-to-3 package failures to migrate-to-meteor-3 and underlying core API design to its owning skill.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3616,3619],{"name":3617,"slug":3618,"type":13},"Engineering","engineering",{"name":9,"slug":8,"type":13},"2026-08-28T15:08:45.28079",{"slug":80,"name":80,"fn":3622,"description":3623,"org":3624,"tags":3625,"stars":20,"repoUrl":21,"updatedAt":3633},"diagnose failures in Meteor 3 applications","Use when diagnosing an unexplained failure in a Meteor 3 application before the failing layer or fix is known. Triggers on server crashes, client-only errors, stuck subscriptions, DDP or WebSocket disconnects, Minimongo\u002Fserver data mismatches, hanging or flaky tests, slow builds, --inspect, console.log, .only, Playwright traces, or requests to debug a Meteor app. Use this skill when evidence must distinguish Meteor tool, server, client, data, test, browser, mobile, or production boundaries. For test setup and authoring use meteor-testing; after confirming a domain cause, hand the repair to the owning skill.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3626,3629,3630],{"name":3627,"slug":3628,"type":13},"Debugging","debugging",{"name":9,"slug":8,"type":13},{"name":3631,"slug":3632,"type":13},"WebSockets","websockets","2026-08-28T15:08:40.430401",{"slug":3635,"name":3635,"fn":3636,"description":3637,"org":3638,"tags":3639,"stars":20,"repoUrl":21,"updatedAt":3650},"meteor-deployment","deploy Meteor 3 applications","Use when deploying a Meteor 3 application. Triggers on meteor build, meteor deploy, Galaxy Push to Deploy, Galaxy Mode, Repository Mode, DEPLOY_HOSTNAME, Docker, Kubernetes, settings.json, METEOR_SETTINGS, MONGO_URL, MONGO_OPLOG_URL, ROOT_URL, PORT, HTTP_FORWARDED_COUNT, NODE_OPTIONS, health checks, pre-deploy commands, hot code push, --architecture os.linux.x86_64, --server-only, or a deployed Node.js version mismatch. Use this skill when the user asks about shipping the app, asks about production config, or asks about containerizing.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3640,3643,3646,3649],{"name":3641,"slug":3642,"type":13},"Deployment","deployment",{"name":3644,"slug":3645,"type":13},"Docker","docker",{"name":3647,"slug":3648,"type":13},"Kubernetes","kubernetes",{"name":9,"slug":8,"type":13},"2026-08-28T15:08:44.881769",{"slug":3652,"name":3652,"fn":3653,"description":3654,"org":3655,"tags":3656,"stars":20,"repoUrl":21,"updatedAt":3664},"meteor-methods","author and debug Meteor methods","Use when authoring or debugging Meteor methods (Meteor.methods, Meteor.call, Meteor.callAsync). Triggers on argument validation with check(), optimistic UI stubs, latency compensation, Meteor.Error handling, and DDPRateLimiter. Use this skill when the user asks about server-side mutation, asks about rate limiting RPC, or asks about wrapping a method with auth checks.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3657,3660,3663],{"name":3658,"slug":3659,"type":13},"API Development","api-development",{"name":3661,"slug":3662,"type":13},"Backend","backend",{"name":9,"slug":8,"type":13},"2026-08-28T15:09:38.691128",{"slug":3666,"name":3666,"fn":3667,"description":3668,"org":3669,"tags":3670,"stars":20,"repoUrl":21,"updatedAt":3678},"meteor-modern-build-stack","configure Meteor 3 modern build stacks","Use when configuring or tuning the Meteor 3 modern build stack: SWC transpiler, SWC-based minifier, modern @parcel\u002Fwatcher, web-arch skipping in development, .meteorignore, and the Rspack bundler integration via the rspack Atmosphere package. Triggers on package.json \"meteor\": { \"modern\": true }, .swcrc, swc.config.js, [Transpiler] Used Babel Fallback logs, rspack.config.js, rspack.config.ts, defineConfig from @meteorjs\u002Frspack, Meteor.compileWith* helpers, Meteor.extendConfig, Meteor.extendSwcConfig vs Meteor.replaceSwcConfig, Meteor.splitVendorChunk, Meteor.persistDevFiles, Meteor.disablePlugins, Meteor.enablePortableBuild, HtmlRspackPlugin customization, RSPACK_DEVSERVER_PORT, TOOL_NODE_FLAGS for OOM, modern\u002Flegacy archs. Use this skill when the user asks about enabling the modern build stack, asks about SWC vs Babel in Meteor, asks about Rspack integration setup, or asks about customizing rspack.config.js. For converting an existing app's code to be Rspack-compatible, use migrate-to-rspack instead.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3671,3674,3675],{"name":3672,"slug":3673,"type":13},"Build","build",{"name":9,"slug":8,"type":13},{"name":3676,"slug":3677,"type":13},"Performance","performance","2026-08-28T15:09:42.877439",{"slug":3680,"name":3680,"fn":3681,"description":3682,"org":3683,"tags":3684,"stars":20,"repoUrl":21,"updatedAt":3693},"meteor-mongo-minimongo","author and debug Meteor MongoDB queries","Use when authoring or debugging Mongo queries in Meteor 3. Triggers on Mongo.Collection, find\u002FfindOne, server async vs client Minimongo sync, oplog vs change streams, indexes, selectors, modifiers, projections. Use this skill when the user asks about Mongo on the server or asks about Minimongo on the client.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3685,3688,3689,3690],{"name":3686,"slug":3687,"type":13},"Database","database",{"name":3627,"slug":3628,"type":13},{"name":9,"slug":8,"type":13},{"name":3691,"slug":3692,"type":13},"MongoDB","mongodb","2026-08-28T15:08:44.473981",{"slug":3695,"name":3695,"fn":3696,"description":3697,"org":3698,"tags":3699,"stars":20,"repoUrl":21,"updatedAt":3705},"meteor-pubsub","author and debug Meteor publications","Use when authoring or debugging Meteor publications and subscriptions (Meteor.publish, Meteor.subscribe). Triggers on publication strategies (SERVER_MERGE, NO_MERGE, NO_MERGE_NO_HISTORY), the low-level publish API (added\u002Fchanged\u002Fremoved), cursor authorization, reactive joins, leaked documents. Use this skill when the user asks about pub\u002Fsub or asks about reactive data fetching.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3700,3701,3702],{"name":3661,"slug":3662,"type":13},{"name":9,"slug":8,"type":13},{"name":3703,"slug":3704,"type":13},"Real-time","real-time","2026-08-28T15:09:37.97396",{"slug":3707,"name":3707,"fn":3708,"description":3709,"org":3710,"tags":3711,"stars":20,"repoUrl":21,"updatedAt":3718},"meteor-react","build and debug Meteor React interfaces","Use when building or debugging React interfaces in Meteor 3: meteor create --react, createRoot, JSX or TSX entry points, Rspack React detection, Fast Refresh, react-meteor-data, useTracker, useSubscribe, useFind, withTracker, Suspense, and Tracker.withComputation. Triggers on isLoading being treated as a boolean, useFind receiving fetch(), stale closure inputs, duplicate tracker side effects, unstable Suspense keys, lost reactivity after await, state reset after refresh, or React tests leaking computations. Use this skill when the user asks about a React skeleton, React-specific rspack.config rules, reactive data hooks, or classic versus Suspense integration. Route general bundler configuration to meteor-modern-build-stack and Meteor 2 upgrades to migrate-to-meteor-3.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3712,3713,3714,3717],{"name":3603,"slug":3604,"type":13},{"name":9,"slug":8,"type":13},{"name":3715,"slug":3716,"type":13},"React","react",{"name":3607,"slug":3608,"type":13},"2026-08-28T15:09:37.193947",{"slug":3720,"name":3720,"fn":3721,"description":3722,"org":3723,"tags":3724,"stars":20,"repoUrl":21,"updatedAt":3733},"meteor-security","audit and harden Meteor 3 applications","Use when auditing or hardening a Meteor 3 application. Triggers on missing check() on method arguments, missing this.userId guards on publications, browser-policy CSP, DDPRateLimiter rules, oauth-encryption via Accounts.config oauthSecretKey, audit-argument-checks, allow\u002Fdeny legacy patterns, BrowserPolicy.content.disallowInlineScripts, BrowserPolicy.framing.disallow. Use this skill when the user asks about hardening, asks about a security review, or asks about CSP for a third-party script (Stripe, Google Maps, fonts).\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3725,3726,3729,3730],{"name":3586,"slug":3587,"type":13},{"name":3727,"slug":3728,"type":13},"Code Analysis","code-analysis",{"name":9,"slug":8,"type":13},{"name":3731,"slug":3732,"type":13},"Security","security","2026-08-28T15:09:32.604319",{"slug":4,"name":4,"fn":5,"description":6,"org":3735,"tags":3736,"stars":20,"repoUrl":21,"updatedAt":22},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3737,3738,3739],{"name":9,"slug":8,"type":13},{"name":15,"slug":16,"type":13},{"name":18,"slug":19,"type":13},{"items":3741,"total":1036},[3742,3749,3755,3760,3766,3773,3779],{"slug":3580,"name":3580,"fn":3581,"description":3582,"org":3743,"tags":3744,"stars":20,"repoUrl":21,"updatedAt":3595},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3745,3746,3747,3748],{"name":3586,"slug":3587,"type":13},{"name":3589,"slug":3590,"type":13},{"name":9,"slug":8,"type":13},{"name":3593,"slug":3594,"type":13},{"slug":3597,"name":3597,"fn":3598,"description":3599,"org":3750,"tags":3751,"stars":20,"repoUrl":21,"updatedAt":3609},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3752,3753,3754],{"name":3603,"slug":3604,"type":13},{"name":9,"slug":8,"type":13},{"name":3607,"slug":3608,"type":13},{"slug":3611,"name":3611,"fn":3612,"description":3613,"org":3756,"tags":3757,"stars":20,"repoUrl":21,"updatedAt":3620},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3758,3759],{"name":3617,"slug":3618,"type":13},{"name":9,"slug":8,"type":13},{"slug":80,"name":80,"fn":3622,"description":3623,"org":3761,"tags":3762,"stars":20,"repoUrl":21,"updatedAt":3633},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3763,3764,3765],{"name":3627,"slug":3628,"type":13},{"name":9,"slug":8,"type":13},{"name":3631,"slug":3632,"type":13},{"slug":3635,"name":3635,"fn":3636,"description":3637,"org":3767,"tags":3768,"stars":20,"repoUrl":21,"updatedAt":3650},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3769,3770,3771,3772],{"name":3641,"slug":3642,"type":13},{"name":3644,"slug":3645,"type":13},{"name":3647,"slug":3648,"type":13},{"name":9,"slug":8,"type":13},{"slug":3652,"name":3652,"fn":3653,"description":3654,"org":3774,"tags":3775,"stars":20,"repoUrl":21,"updatedAt":3664},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3776,3777,3778],{"name":3658,"slug":3659,"type":13},{"name":3661,"slug":3662,"type":13},{"name":9,"slug":8,"type":13},{"slug":3666,"name":3666,"fn":3667,"description":3668,"org":3780,"tags":3781,"stars":20,"repoUrl":21,"updatedAt":3678},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3782,3783,3784],{"name":3672,"slug":3673,"type":13},{"name":9,"slug":8,"type":13},{"name":3676,"slug":3677,"type":13}]