{"id":911,"date":"2026-05-20T09:56:30","date_gmt":"2026-05-20T01:56:30","guid":{"rendered":"https:\/\/junai.ai\/blog\/nodejs-testing-jest-22\/"},"modified":"2026-05-20T09:56:30","modified_gmt":"2026-05-20T01:56:30","slug":"nodejs-testing-jest-22","status":"publish","type":"post","link":"https:\/\/junai.ai\/blog\/nodejs-testing-jest-22\/","title":{"rendered":"Node \ud14c\uc2a4\ud2b8 \u2014 Jest\ub85c \uc720\ub2db\u00b7API \ud14c\uc2a4\ud2b8"},"content":{"rendered":"\n<!-- WordPress REST API \ubc1c\ud589\uc6a9 HTML (\uc790\ub3d9 \uc0dd\uc131) -->\n<!-- WP-FEATURED-MEDIA-ID: 858 -->\n<div style=\"max-width:800px;margin:0 auto;\">\n<style>\n:root {--color-primary:#059669;--color-accent:#10b981;--color-bg:#fafbfc;--color-bg-card:#fff;--color-text:#1a202c;--color-text-muted:#64748b;--hero-start:#064e3b;--hero-end:#059669;}\n*{box-sizing:border-box;}\n.container{max-width:760px;margin:0 auto;padding:0 24px 80px;}\n.hero{background:linear-gradient(135deg,var(--hero-start) 0%,var(--hero-end) 100%);color:#fff;padding:80px 24px 60px;text-align:center;}\n.hero .eyebrow{display:inline-block;font-size:14px;color:#6ee7b7;font-weight:700;letter-spacing:0.1em;text-transform:uppercase;margin-bottom:14px;}\n.hero h1{font-size:36px;margin:0 0 16px;line-height:1.3;font-weight:800;}\n.hero p{color:#d1fae5;font-size:18px;max-width:640px;margin:0 auto;line-height:1.6;}\n.hero img{width:100%;max-width:640px;height:auto;margin:32px auto 0;border-radius:10px;display:block;}\narticle{padding-top:48px;}\narticle h2{font-size:26px;margin:56px 0 20px;padding-left:14px;border-left:5px solid var(--color-accent);line-height:1.4;}\narticle h3{font-size:19px;margin:32px 0 12px;color:var(--color-primary);}\narticle p{margin:16px 0;}\narticle strong{color:var(--color-primary);font-weight:700;}\narticle code{background:#d1fae5;padding:2px 8px;border-radius:4px;font-family:'SF Mono',Menlo,Consolas,monospace;font-size:14px;color:#065f46;}\n.databox{background:#d1fae5;border-left:4px solid var(--color-accent);padding:16px 20px;margin:24px 0;border-radius:0 8px 8px 0;font-size:15.5px;}\n.databox strong{color:var(--color-primary);}\n.warnbox{background:linear-gradient(135deg,#fef3c7 0%,#fde68a 100%);padding:16px 20px;margin:24px 0;border-radius:8px;font-size:15.5px;}\n.tablewrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:22px 0;}\ntable{width:100%;border-collapse:collapse;font-size:15px;background:var(--color-bg-card);}\nth,td{padding:11px 12px;text-align:left;border-bottom:1px solid #e2e8f0;vertical-align:top;}\nth{background:#f1f5f9;font-weight:700;color:#0f172a;}\ntd:first-child,th:first-child{font-weight:700;}\n@media (max-width:560px){.tablewrap table,.tablewrap thead,.tablewrap tbody,.tablewrap tr,.tablewrap th,.tablewrap td{display:block;width:auto;}.tablewrap thead{display:none;}.tablewrap tr{margin:0 0 14px;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden;}.tablewrap td{border:none;border-bottom:1px solid #f1f5f9;padding:9px 14px;}.tablewrap td:first-child{background:#f1f5f9;font-weight:800;font-size:15.5px;}.tablewrap td:last-child{border-bottom:none;}.tablewrap td[data-label]::before{content:attr(data-label) \" \u2014 \";font-weight:700;color:var(--color-primary);}}\n.code-block{background:#0f172a;color:#e2e8f0;padding:16px 20px;border-radius:8px;font-family:'SF Mono',Menlo,Consolas,monospace;font-size:14px;line-height:1.6;margin:20px 0;overflow-x:auto;white-space:pre;}\n.cta{background:linear-gradient(135deg,#059669 0%,#10b981 100%);color:#fff;padding:28px 24px;border-radius:12px;margin:48px 0 0;text-align:center;}\n.cta h3{color:#fff;margin:0 0 8px;font-size:20px;}\n.cta p{color:#d1fae5;margin:0;font-size:15.5px;}\n.footer-nav{margin-top:32px;padding-top:20px;border-top:1px solid #e2e8f0;font-size:14px;color:var(--color-text-muted);}\n.footer-nav a{color:var(--color-primary);text-decoration:none;}\n@media (max-width:480px){.hero h1{font-size:26px;}.hero p{font-size:16px;}article h2{font-size:21px;}article h3{font-size:17px;}body{font-size:16px;}}\n<\/style>\n<section class=\"hero\">\n  <span class=\"eyebrow\">Node.js \uad50\uc7ac \u00b7 22\ud3b8 \u00b7 \ud14c\uc2a4\ud2b8<\/span>\n  <h1>Node \ud14c\uc2a4\ud2b8 \u2014 Jest\ub85c \uc720\ub2db\u00b7API \ud14c\uc2a4\ud2b8<\/h1>\n  <p>Express API \uc758 \uacb0\uc81c \ub85c\uc9c1\uc774 \uc5b4\uc81c \uc798 \ub410\ub294\ub370 \uc624\ub298 \uae68\uc84c\ub2e4 \u2014 \uadf8\ub7f0 \uc0ac\uace0 \ub9c9\ub294 \uc548\uc804\ub9dd.<\/p>\n  <img decoding=\"async\" src=\"https:\/\/junai.ai\/blog\/wp-content\/uploads\/2026\/05\/hero-5-89.jpg\" alt=\"\ud14c\uc2a4\ud2b8 \ub7ec\ub108\uc640 supertest API \ud14c\uc2a4\ud2b8 \ucee8\uc149 \uc77c\ub7ec\uc2a4\ud2b8\">\n<\/section>\n\n<div class=\"container\">\n<article>\n\n<p>Next.js 22\ud3b8\uc774 React \ucef4\ud3ec\ub10c\ud2b8\u00b7E2E \ub77c\uba74, Node \ubc31\uc5d4\ub4dc\ub294 \ub2e4\ub978 \uacb0\uc758 \ud14c\uc2a4\ud2b8\uac00 \ud544\uc694\ud558\ub2e4. <strong>\uc720\ub2db<\/strong>(\uc21c\uc218 \ud568\uc218 \uac80\uc99d) + <strong>API \ud1b5\ud569<\/strong>(HTTP \uc5d4\ub4dc\ud3ec\uc778\ud2b8\uc758 \uc751\ub2f5 \ubaa8\uc591) \ub450 \uac00\uc9c0\uac00 \ud575\uc2ec.<\/p>\n\n<p>\uc774\ubc88 \ud3b8\uc740 Node \uc9c4\uc601 \ud45c\uc900 <strong>Jest<\/strong> + <strong>supertest<\/strong> \uc870\ud569. Node 22 \ubd80\ud130 \ub0b4\uc7a5\ub41c <code>node:test<\/code> \ub3c4 \uac19\uc774 \ube44\uad50.<\/p>\n\n<h2>1. Jest \uc124\uce58\uc640 \uccab \ud14c\uc2a4\ud2b8<\/h2>\n\n<div class=\"code-block\">$ npm install -D jest @types\/jest\n$ npm install -D @jest\/globals    # ESM \ud658\uacbd \uad8c\uc7a5<\/div>\n\n<div class=\"code-block\">\/\/ package.json\n{\n  &#8220;scripts&#8221;: {\n    &#8220;test&#8221;: &#8220;node &#8211;experimental-vm-modules node_modules\/jest\/bin\/jest.js&#8221;\n  }\n}<\/div>\n\n<p>ESM \ud504\ub85c\uc81d\ud2b8\ub294 \uc704 \ud50c\ub798\uadf8 \ud544\uc694. CommonJS \uba74 \uadf8\ub0e5 <code>jest<\/code>. \uc774 \uc124\uc815 \ud55c \uc904\uc774 \uac00\uc7a5 \ud5f7\uac08\ub9ac\ub294 \ubd80\ubd84.<\/p>\n\n<div class=\"code-block\">\/\/ utils.test.js\nimport { describe, it, expect } from &#8216;@jest\/globals&#8217;;\nimport { add, parseAmount } from &#8216;.\/utils.js&#8217;;\n\ndescribe(&#8216;add&#8217;, () =&gt; {\n  it(&#8216;\ub450 \uc218\ub97c \ub354\ud55c\ub2e4&#8217;, () =&gt; {\n    expect(add(1, 2)).toBe(3);\n  });\n});\n\ndescribe(&#8216;parseAmount&#8217;, () =&gt; {\n  it(&#8216;\u20a91,234 \u2192 1234&#8217;, () =&gt; {\n    expect(parseAmount(&#8216;\u20a91,234&#8217;)).toBe(1234);\n  });\n  it(&#8216;\uc798\ubabb\ub41c \uc785\ub825\uc740 throw&#8217;, () =&gt; {\n    expect(() =&gt; parseAmount(&#8216;abc&#8217;)).toThrow();\n  });\n});<\/div>\n\n<h2>2. supertest \u2014 Express API \ud14c\uc2a4\ud2b8<\/h2>\n\n<p>\uc2e4\uc81c \uc11c\ubc84\ub97c \ub744\uc6b0\uc9c0 \uc54a\uace0 \uba54\ubaa8\ub9ac \ub0b4\uc5d0\uc11c HTTP \uc694\uccad \uc2dc\ubbac\ub808\uc774\uc158. \ube60\ub974\uace0 \uaca9\ub9ac.<\/p>\n\n<div class=\"code-block\">$ npm install -D supertest<\/div>\n\n<div class=\"code-block\">\/\/ app.js \u2014 \ubd84\ub9ac\ud574\uc11c export\nexport function createApp(deps) {\n  const app = express();\n  app.use(express.json());\n  \/\/ \ub77c\uc6b0\ud2b8 \ub4f1\ub85d&#8230;\n  return app;\n}\n\n\/\/ server.js \u2014 \uc2e4\uc81c \uc11c\ubc84\nimport { createApp } from &#8216;.\/app.js&#8217;;\nconst app = createApp({ db });\napp.listen(3000);<\/div>\n\n<div class=\"code-block\">\/\/ app.test.js\nimport { describe, it, expect, beforeEach } from &#8216;@jest\/globals&#8217;;\nimport request from &#8216;supertest&#8217;;\nimport { createApp } from &#8216;.\/app.js&#8217;;\n\ndescribe(&#8216;POST \/api\/users&#8217;, () =&gt; {\n  let app, db;\n\n  beforeEach(() =&gt; {\n    db = { users: { create: jest.fn() } };  \/\/ mock\n    app = createApp({ db });\n  });\n\n  it(&#8216;\uc0c8 \uc0ac\uc6a9\uc790 \uc0dd\uc131 \ud6c4 201&#8217;, async () =&gt; {\n    db.users.create.mockResolvedValue({ id: &#8216;u1&#8217;, email: &#8216;a@b.c&#8217; });\n    const res = await request(app)\n      .post(&#8216;\/api\/users&#8217;)\n      .send({ email: &#8216;a@b.c&#8217;, password: &#8216;pass1234&#8217; });\n\n    expect(res.status).toBe(201);\n    expect(res.body.id).toBe(&#8216;u1&#8217;);\n    expect(db.users.create).toHaveBeenCalledWith(\n      expect.objectContaining({ email: &#8216;a@b.c&#8217; })\n    );\n  });\n\n  it(&#8216;\uc774\uba54\uc77c \ube60\uc9c0\uba74 400&#8217;, async () =&gt; {\n    const res = await request(app).post(&#8216;\/api\/users&#8217;).send({});\n    expect(res.status).toBe(400);\n  });\n});<\/div>\n\n<div class=\"databox\">\n<strong>\ud575\uc2ec \u2014 createApp \ubd84\ub9ac<\/strong> \u2014 <code>app<\/code> \uac1d\uccb4\ub97c \ub9cc\ub4dc\ub294 \ud568\uc218\uc640 <code>listen()<\/code> \ud638\ucd9c\uc744 \ubd84\ub9ac. \ud14c\uc2a4\ud2b8\ub294 createApp \ub9cc \ud638\ucd9c\ud574\uc11c supertest \uc5d0 \ub118\uae40. \uc2e4\uc81c \ud3ec\ud2b8 \uc548 \uc7a1\uace0 \uba54\ubaa8\ub9ac\uc5d0\uc11c \ub3d9\uc791 \u2192 \ube60\ub974\uace0 \ubcd1\ub82c \uac00\ub2a5.\n<\/div>\n\n<h2>3. Mock \u2014 \uc678\ubd80 \uc758\uc874\uc131 \uaca9\ub9ac<\/h2>\n\n<p>DB\u00b7\uc678\ubd80 API \ub97c \uc9c4\uc9dc\ub85c \ud638\ucd9c\ud558\uba74 \ud14c\uc2a4\ud2b8\uac00 \ub290\ub9ac\uace0 flaky. Mock \uc73c\ub85c \ub300\uccb4.<\/p>\n\n<div class=\"code-block\">\/\/ \ud568\uc218 mock\nconst mockDb = {\n  users: {\n    findById: jest.fn().mockResolvedValue({ id: &#8216;u1&#8217;, name: &#8216;\ubc15\uc900\uc131&#8217; }),\n    create:   jest.fn().mockImplementation(({ data }) =&gt; ({ id: &#8216;new&#8217;, &#8230;data })),\n  },\n};\n\n\/\/ \ubaa8\ub4c8 \uc804\uccb4 mock\njest.mock(&#8216;.\/email-service.js&#8217;, () =&gt; ({\n  sendEmail: jest.fn().mockResolvedValue({ messageId: &#8216;mock-id&#8217; }),\n}));\n\n\/\/ \uc678\ubd80 fetch mock (Node 22+)\nglobal.fetch = jest.fn().mockResolvedValue({\n  ok: true,\n  json: async () =&gt; ({ data: &#8216;mocked&#8217; }),\n});<\/div>\n\n<p>\uac01 \ud14c\uc2a4\ud2b8 \ub05d\ub098\uba74 <code>jest.clearAllMocks()<\/code> \ub610\ub294 <code>beforeEach<\/code> \uc5d0\uc11c \uc0c8 mock \ub9cc\ub4e4\uae30. \uc0c1\ud0dc \ub204\uc218 \ubc29\uc9c0.<\/p>\n\n<h2>4. Coverage \u2014 \uc5b4\ub514\uac00 \uc548 \uac00\ub838\ub294\uc9c0 \ubcf4\uae30<\/h2>\n\n<div class=\"code-block\">$ npm test &#8212; &#8211;coverage\n\n&#8212;&#8212;&#8212;-|&#8212;&#8212;&#8212;|&#8212;&#8212;&#8212;-|&#8212;&#8212;&#8212;|&#8212;&#8212;&#8212;|&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-\nFile      | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s\n&#8212;&#8212;&#8212;-|&#8212;&#8212;&#8212;|&#8212;&#8212;&#8212;-|&#8212;&#8212;&#8212;|&#8212;&#8212;&#8212;|&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-\nAll files |   84.21 |    72.50 |   88.00 |   84.50 |\n utils.js |  100.00 |   100.00 |  100.00 |  100.00 |\n app.js   |   76.92 |    60.00 |   80.00 |   77.50 | 45,52-58<\/div>\n\n<p>4\uac00\uc9c0 \uc9c0\ud45c \u2014 <strong>Stmts<\/strong>(\uc2e4\ud589\ub41c \ubb38\uc7a5)\u00b7<strong>Branch<\/strong>(if\/else \uc591\ucabd)\u00b7<strong>Funcs<\/strong>(\ud638\ucd9c\ub41c \ud568\uc218)\u00b7<strong>Lines<\/strong>. Branch \uac00 \ubcf4\ud1b5 \uac00\uc7a5 \ub0ae\ub2e4 (\uc608\uc678 \ubd84\uae30\uae4c\uc9c0 \ub2e4 \uc548 \ud0c0\ub2c8\uae4c). 70~80% \uac00 \ud604\uc2e4\uc801 \ubaa9\ud45c.<\/p>\n\n<div class=\"warnbox\">\n<strong>\ucee4\ubc84\ub9ac\uc9c0 \ud568\uc815<\/strong> \u2014 \uc22b\uc790\uc5d0 \uc9d1\ucc29\ud558\uc9c0 \ub9d0 \uac83. 100% \ucee4\ubc84\ub9ac\uc9c0 \ucf54\ub4dc\uac00 \uacb0\uad6d \uc0ac\uace0 \uc548 \ub9c9\ub294 \ucf00\uc774\uc2a4 \ub9ce\uc74c. <strong>\ud575\uc2ec \ube44\uc988\ub2c8\uc2a4 \ub85c\uc9c1<\/strong>(\uacb0\uc81c\u00b7\uc778\uc99d\u00b7\uacc4\uc0b0) \uc704\uc8fc\ub85c \ub450\ud23c\ud558\uac8c, \ub2e8\uc21c \ub370\uc774\ud130 \ud45c\uc2dc \ucf54\ub4dc\ub294 \uc595\uac8c. \ud68c\uc0ac \ud68c\uadc0 \uc0ac\uace0 \ubd84\uc11d\uc5d0\uc11c \uc790\uc8fc \uae68\uc9c0\ub294 \ubd80\ubd84 \uc6b0\uc120.\n<\/div>\n\n<h2>5. Node 22 \ub0b4\uc7a5 test \u2014 Jest \ub300\uc548<\/h2>\n\n<p>Node 18+ \ubd80\ud130 \ub0b4\uc7a5 <code>node:test<\/code>. \uac00\ubccd\uace0 \ube60\ub974\uace0 \ud328\ud0a4\uc9c0 0\uac1c.<\/p>\n\n<div class=\"code-block\">\/\/ utils.test.js \u2014 \ub0b4\uc7a5\nimport { describe, it } from &#8216;node:test&#8217;;\nimport assert from &#8216;node:assert&#8217;;\nimport { add } from &#8216;.\/utils.js&#8217;;\n\ndescribe(&#8216;add&#8217;, () =&gt; {\n  it(&#8216;\ub450 \uc218 \ub354\ud558\uae30&#8217;, () =&gt; {\n    assert.strictEqual(add(1, 2), 3);\n  });\n});\n\n\/\/ \uc2e4\ud589\n$ node &#8211;test &#8211;experimental-test-coverage utils.test.js<\/div>\n\n<p>Jest \ubcf4\ub2e4 \uc801\uc740 \uae30\ub2a5(\uc2a4\ub0c5\uc0f7\u00b7jsdom\u00b7mock \ub77c\uc774\ube0c\ub7ec\ub9ac \ub4f1) \u2014 \uadf8\ub7ec\ub098 \uac00\ubcbc\uc6b4 CLI\u00b7\uc11c\ubc84\uc5d0\ub294 \ucda9\ubd84. \uc2e0\uaddc \ud504\ub85c\uc81d\ud2b8\ub294 \ub458 \ub2e4 \uace0\ubbfc\ud560 \uac00\uce58 \uc788\uc74c.<\/p>\n\n<div class=\"tablewrap\">\n<table>\n<thead><tr><th>\uad6c\ubd84<\/th><th>Jest<\/th><th>node:test<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>\uc124\uce58<\/td><td data-label=\"Jest\">npm \uc124\uce58 \ud544\uc694<\/td><td data-label=\"node\">\ub0b4\uc7a5<\/td><\/tr>\n<tr><td>\uc18d\ub3c4<\/td><td data-label=\"Jest\">\uc911\uac04<\/td><td data-label=\"node\">\ube60\ub984<\/td><\/tr>\n<tr><td>Mock<\/td><td data-label=\"Jest\">\ud48d\ubd80<\/td><td data-label=\"node\">\uae30\ubcf8\ub9cc<\/td><\/tr>\n<tr><td>jsdom\u00b7React<\/td><td data-label=\"Jest\">OK<\/td><td data-label=\"node\">\ubd88\ud3b8<\/td><\/tr>\n<tr><td>\uc801\ud569\ud55c \uacf3<\/td><td data-label=\"Jest\">\ud480\uc2a4\ud0dd\u00b7\ubcf5\uc7a1 \ud14c\uc2a4\ud2b8<\/td><td data-label=\"node\">CLI\u00b7\uc791\uc740 \uc11c\ubc84<\/td><\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n\n<h3>\uc694\uc57d \u2014 22\ud3b8 \uc88c\ud45c<\/h3>\n\n<p>\uc5ec\uae30\uae4c\uc9c0 \uc815\ub9ac. <strong>Jest<\/strong> + <strong>supertest<\/strong> \uac00 Node \ubc31\uc5d4\ub4dc \ud45c\uc900. <code>createApp<\/code> \uc744 \ud568\uc218\ub85c \ubd84\ub9ac\ud574 supertest \uc5d0 \uc8fc\uc785. DB\u00b7\uc678\ubd80 API \ub294 <strong>mock<\/strong>(jest.fn \ub610\ub294 jest.mock). Coverage \ub294 70~80% \ubaa9\ud45c\uc9c0\ub9cc \ud575\uc2ec \ub85c\uc9c1 \uc6b0\uc120. Node 22 \ub0b4\uc7a5 <strong>node:test<\/strong> \ub294 CLI\u00b7\uac04\ub2e8 \uc11c\ubc84\uc5d0 \ucda9\ubd84. CI \ud45c\uc900\uc740 <code>npm test -- --ci --coverage<\/code>. \ub2e4\uc74c \ud3b8\uc5d0\uc11c <strong>worker_threads\u00b7cluster<\/strong> \ub85c CPU \ud65c\uc6a9.<\/p>\n\n<div class=\"cta\">\n<h3>\ub2e4\uc74c \ud3b8 \uc608\uace0 \u2014 cluster\u00b7worker_threads<\/h3>\n<p>CPU \ucf54\uc5b4 \ucd5c\ub300 \ud65c\uc6a9. 23\ud3b8.<\/p>\n<\/div>\n\n<div class=\"footer-nav\">\n\uc2dc\ub9ac\uc988 \u00b7 <a href=\"https:\/\/junai.ai\/blog\/category\/nodejs\/\">\uc27d\uac8c \ubc30\uc6b0\ub294 Node.js<\/a> \u00b7 \uc774\uc804: <a href=\"https:\/\/junai.ai\/blog\/nodejs-logging-21\/\">Ch.21 \ub85c\uae45<\/a>\n<\/div>\n\n<\/article>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Node Jest \ub85c \uc720\ub2db \ud14c\uc2a4\ud2b8\u00b7supertest API \ud14c\uc2a4\ud2b8\u00b7mock\u00b7coverage. Node 22 \ub0b4\uc7a5 test \ube44\uad50. \uad50\uc7ac 22\ud3b8.<\/p>\n","protected":false},"author":1,"featured_media":858,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[],"class_list":["post-911","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-nodejs"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/posts\/911","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/comments?post=911"}],"version-history":[{"count":0,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/posts\/911\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/media\/858"}],"wp:attachment":[{"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/media?parent=911"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/categories?post=911"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/tags?post=911"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}