{"id":127,"date":"2024-02-13T12:24:29","date_gmt":"2024-02-13T12:24:29","guid":{"rendered":"https:\/\/appycrown.com\/blog\/?p=127"},"modified":"2024-08-28T05:57:41","modified_gmt":"2024-08-28T05:57:41","slug":"jest-test-for-lwc","status":"publish","type":"post","link":"https:\/\/appycrown.com\/blog\/jest-test-for-lwc\/","title":{"rendered":"JEST TEST For LWC"},"content":{"rendered":"<h2><strong>Why do we need a Jest Test ?<\/strong><\/h2>\n<p style=\"text-align: left;\">Whatever we are achieving in the technical code we have written to check whether they are working properly fine as per our requirement we need to test it first.<\/p>\n<p style=\"text-align: left;\">For apex we have the test class to write and to check if the code is performing as per our requirement or not, same goes with LWC as well whenever we will write a LWC component to test the functionality we can write a jest test for our LWC component.<\/p>\n<h2><strong>Steps to write a Jest Test for our<\/strong><strong> LW<\/strong><strong>C<\/strong><strong> component:<\/strong><\/h2>\n<ol>\n<li>\n<p><strong>Install Node.js together with npm<\/strong> (Installation of Node.js will automatically install npm) <a href=\"https:\/\/nodejs.org\/en\/download\/\" target=\"_blank\" rel=\"noopener\"><strong>https:\/\/nodejs.org\/en\/download\/<\/strong><\/a> (long-term support version).\u00a0 After downloading you can check in your command prompt or vs code terminal whether it is installed or not by simply using this command :- <strong>npm-v<\/strong> and this will show the version you have downloaded otherwise it will show some error.<\/p>\n<\/li>\n<li>\n<p><strong>Do the setup by using this command:<\/strong>\u00a0 <strong>sfdx force:lightning:lwc:test:setup<\/strong><\/p>\n<\/li>\n<li>\n<p><strong>Check if the jest is installed or not<\/strong> by simply running this command <strong>npx jest &#8211;version <\/strong>if this is showing an error instead of the version name you have to download the jest by running this command<strong> npm install &#8211;save-dev jest.<\/strong><\/p>\n<\/li>\n<li>\n<p><strong>After creating a new LWC component along with html,js and xml files<\/strong> you will get <strong>a __tests__ folder<\/strong> and within that a test.js file having by default test code and later you can add test scenario as per your requirement, If you are unable to find the __tests__ folder inside the LWC component then you need to\u00a0 right click on your LWC component and create a new folder named <strong>__tests__<\/strong> and create a new file in that folder and give the name according to your component name ex :- <strong>componentName.test.js<\/strong> Replace the componentName with your LWC component code name, make sure you are giving the exact name.<\/p>\n<\/li>\n<li>And in the<strong style=\"color: var(--wp--preset--color--contrast); font-family: var(--wp--preset--font-family--heading); font-size: var(--wp--preset--font-size--medium); background-color: var(--wp--preset--color--base);\"> componentName.test.js <\/strong>you can add the test scenario according to your LWC component code.<\/li>\n<li>\n<p>And then to check whether it is working or not you run your jest test using the command <strong>npx jest <\/strong>and it will run all the jest test you are having in LWC folder and if you want to run any specific jest test then you can run a\u00a0 command like this :-\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <strong>npx jest helloWorld.test.js <\/strong>you can replace your jest test component name.<\/p>\n<\/li>\n<\/ol>\n<h2><strong>Demo Jest Test Component<\/strong><\/h2>\n<p>Let\u2019s create a simple &#8220;helloWorld&#8221; component to understand the jest test easily.<\/p>\n<p>After creating a new LWC component you will get the html and js code like this,<\/p>\n<p><strong>helloWorld.html<\/strong><\/p>\n<p><strong>&lt;template&gt;<\/strong><\/p>\n<p><strong>\u00a0\u00a0\u00a0 &lt;lightning-card&gt;<\/strong><\/p>\n<p><strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 {Title}<\/strong><\/p>\n<p><strong>\u00a0\u00a0\u00a0 &lt;\/lightning-card&gt;<\/strong><\/p>\n<p><strong>&lt;\/template&gt;<\/strong><\/p>\n<h4><strong>helloWorld.js<\/strong><\/h4>\n<p><strong>import<\/strong><strong> { <\/strong><strong>LightningElement<\/strong><strong> } <\/strong><strong>from<\/strong> <strong>&#8216;lwc&#8217;<\/strong><strong>;<\/strong><\/p>\n<p><strong>export<\/strong> <strong>default<\/strong> <strong>class<\/strong> <strong>HelloWorld<\/strong> <strong>extends<\/strong> <strong>LightningElement<\/strong><strong> {<\/strong><\/p>\n<p><strong>\u00a0\u00a0\u00a0 <\/strong><strong>Title<\/strong><strong> = <\/strong><strong>&#8216;Hello Jest Test&#8217;<\/strong><\/p>\n<p><strong>}<\/strong><\/p>\n<p>And <strong>after creating a folder in LWC component called __tests__<\/strong> and inside that when you create a file named <strong>helloWorld.test.js<\/strong> this will look like this,<\/p>\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img decoding=\"async\" width=\"296\" height=\"154\" data-src=\"https:\/\/appycrown.com\/blog\/wp-content\/uploads\/2024\/02\/Screenshot_2.png\" alt=\"\" class=\"wp-image-128 lazyload\" style=\"--smush-placeholder-width: 296px; --smush-placeholder-aspect-ratio: 296\/154;width:510px;height:auto\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" \/><\/figure>\n\n\n<p>d the <strong>helloWorld.test,js code<\/strong> will look like this,<\/p>\n<p>import { createElement } from &#8216;lwc&#8217;;<\/p>\n<p>import HelloWorld from &#8216;c\/helloWorld&#8217;;<\/p>\n<p>describe(&#8216;c-hello-world&#8217;, () =&gt; {<\/p>\n<p>afterEach(() =&gt; {<\/p>\n<p>while (document.body.firstChild) {<\/p>\n<p>document.body.removeChild(document.body.firstChild);<\/p>\n<p>}<\/p>\n<p>});<\/p>\n<p>it(&#8216;displays default greeting message&#8217;, () =&gt; {<\/p>\n<p>\/\/ Arrange<\/p>\n<p>const element = createElement(&#8216;c-hello-world&#8217;, {<\/p>\n<p>is: HelloWorld<\/p>\n<p>});<\/p>\n<p>\/\/ Act<\/p>\n<p>document.body.appendChild(element);<\/p>\n<p>\/\/ Assert<\/p>\n<p>const helloWorldText = element.shadowRoot.textContent.trim();<\/p>\n<p>expect(helloWorldText).toBe(&#8216;Hello Jest Test&#8217;);<\/p>\n<p>});<\/p>\n<p>it(&#8216;displays custom title&#8217;, () =&gt; {<\/p>\n<p>\/\/ Arrange<\/p>\n<p>const CUSTOM_TITLE = &#8216;Hello Jest Test&#8217;;<\/p>\n<p>const element = createElement(&#8216;c-hello-world&#8217;, {<\/p>\n<p>is: HelloWorld<\/p>\n<p>});<\/p>\n<p>element.Title = CUSTOM_TITLE;<\/p>\n<p>\/\/ Act<\/p>\n<p>document.body.appendChild(element);<\/p>\n<p>\/\/ Assert<\/p>\n<p>const helloWorldText = element.shadowRoot.textContent.trim();<\/p>\n<p>expect(helloWorldText).toBe(CUSTOM_TITLE);<\/p>\n<p>});<\/p>\n<p>});<\/p>\n<p>After running this with command <strong>npx jest helloWorld.test.js<\/strong> you will see the code status like this if this is running correctly.<\/p>\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img decoding=\"async\" width=\"581\" height=\"153\" data-src=\"https:\/\/appycrown.com\/blog\/wp-content\/uploads\/2024\/02\/Screenshot_1.png\" alt=\"\" class=\"wp-image-129 lazyload\" style=\"--smush-placeholder-width: 581px; --smush-placeholder-aspect-ratio: 581\/153;width:847px;height:auto\" data-srcset=\"https:\/\/appycrown.com\/blog\/wp-content\/uploads\/2024\/02\/Screenshot_1.png 581w, https:\/\/appycrown.com\/blog\/wp-content\/uploads\/2024\/02\/Screenshot_1-300x79.png 300w\" data-sizes=\"(max-width: 581px) 100vw, 581px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" \/><\/figure>\n\n\n<p>That means you have correctly written a jest test for your LWC component !!<\/p>\n<p><strong>THANK YOU !!<\/strong><\/p>","protected":false},"excerpt":{"rendered":"<p>Whatever we are achieving in the technical code we have written to check whether they are working properly fine as per our requirement we need to test it first.<\/p>\n","protected":false},"author":1,"featured_media":497,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[22,23,24],"class_list":["post-127","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-salesforce","tag-jest","tag-jest-test","tag-lwc"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>JEST TEST For LWC - AppyCrown Blog<\/title>\n<meta name=\"description\" content=\"Why do you need to write a JEST test and How? Let&#039;s find your answer here and explore the steps to write error-free JEST code.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/appycrown.com\/blog\/jest-test-for-lwc\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"JEST TEST For LWC - AppyCrown Blog\" \/>\n<meta property=\"og:description\" content=\"Why do you need to write a JEST test and How? Let&#039;s find your answer here and explore the steps to write error-free JEST code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/appycrown.com\/blog\/jest-test-for-lwc\/\" \/>\n<meta property=\"og:site_name\" content=\"AppyCrown Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/AppyCrown\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-02-13T12:24:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-28T05:57:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/appycrown.com\/blog\/wp-content\/uploads\/2024\/02\/Jest-Test-for-LWC.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2240\" \/>\n\t<meta property=\"og:image:height\" content=\"1260\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@AppyCrown\" \/>\n<meta name=\"twitter:site\" content=\"@AppyCrown\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/appycrown.com\\\/blog\\\/jest-test-for-lwc\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/appycrown.com\\\/blog\\\/jest-test-for-lwc\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/appycrown.com\\\/blog\\\/#\\\/schema\\\/person\\\/ac4c18e66881c31831f663d33f6445fe\"},\"headline\":\"JEST TEST For LWC\",\"datePublished\":\"2024-02-13T12:24:29+00:00\",\"dateModified\":\"2024-08-28T05:57:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/appycrown.com\\\/blog\\\/jest-test-for-lwc\\\/\"},\"wordCount\":646,\"publisher\":{\"@id\":\"https:\\\/\\\/appycrown.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/appycrown.com\\\/blog\\\/jest-test-for-lwc\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/appycrown.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/Jest-Test-for-LWC.png\",\"keywords\":[\"JEST\",\"JEST Test\",\"LWC\"],\"articleSection\":[\"Salesforce\"],\"inLanguage\":\"en\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/appycrown.com\\\/blog\\\/jest-test-for-lwc\\\/\",\"url\":\"https:\\\/\\\/appycrown.com\\\/blog\\\/jest-test-for-lwc\\\/\",\"name\":\"JEST TEST For LWC - AppyCrown Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/appycrown.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/appycrown.com\\\/blog\\\/jest-test-for-lwc\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/appycrown.com\\\/blog\\\/jest-test-for-lwc\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/appycrown.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/Jest-Test-for-LWC.png\",\"datePublished\":\"2024-02-13T12:24:29+00:00\",\"dateModified\":\"2024-08-28T05:57:41+00:00\",\"description\":\"Why do you need to write a JEST test and How? Let's find your answer here and explore the steps to write error-free JEST code.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/appycrown.com\\\/blog\\\/jest-test-for-lwc\\\/#breadcrumb\"},\"inLanguage\":\"en\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/appycrown.com\\\/blog\\\/jest-test-for-lwc\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\\\/\\\/appycrown.com\\\/blog\\\/jest-test-for-lwc\\\/#primaryimage\",\"url\":\"https:\\\/\\\/appycrown.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/Jest-Test-for-LWC.png\",\"contentUrl\":\"https:\\\/\\\/appycrown.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/Jest-Test-for-LWC.png\",\"width\":2240,\"height\":1260,\"caption\":\"Jest Test for LWC\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/appycrown.com\\\/blog\\\/jest-test-for-lwc\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/appycrown.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"JEST TEST For LWC\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/appycrown.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/appycrown.com\\\/blog\\\/\",\"name\":\"AppyCrown\",\"description\":\"Imagination meets Innovation\",\"publisher\":{\"@id\":\"https:\\\/\\\/appycrown.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/appycrown.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/appycrown.com\\\/blog\\\/#organization\",\"name\":\"AppyCrown\",\"url\":\"https:\\\/\\\/appycrown.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\\\/\\\/appycrown.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/appycrown.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/AppyCrown-logowhite.png\",\"contentUrl\":\"https:\\\/\\\/appycrown.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/AppyCrown-logowhite.png\",\"width\":2665,\"height\":1788,\"caption\":\"AppyCrown\"},\"image\":{\"@id\":\"https:\\\/\\\/appycrown.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/AppyCrown\\\/\",\"https:\\\/\\\/x.com\\\/AppyCrown\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/appycrown-private-limited\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/appycrown.com\\\/blog\\\/#\\\/schema\\\/person\\\/ac4c18e66881c31831f663d33f6445fe\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/728d36d733dc59b0ebf5917f77e8cdd4571a885288cc04580310a3961760469b?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/728d36d733dc59b0ebf5917f77e8cdd4571a885288cc04580310a3961760469b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/728d36d733dc59b0ebf5917f77e8cdd4571a885288cc04580310a3961760469b?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\\\/\\\/appycrown.com\\\/blog\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"JEST TEST For LWC - AppyCrown Blog","description":"Why do you need to write a JEST test and How? Let's find your answer here and explore the steps to write error-free JEST code.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/appycrown.com\/blog\/jest-test-for-lwc\/","og_locale":"en_US","og_type":"article","og_title":"JEST TEST For LWC - AppyCrown Blog","og_description":"Why do you need to write a JEST test and How? Let's find your answer here and explore the steps to write error-free JEST code.","og_url":"https:\/\/appycrown.com\/blog\/jest-test-for-lwc\/","og_site_name":"AppyCrown Blog","article_publisher":"https:\/\/www.facebook.com\/AppyCrown\/","article_published_time":"2024-02-13T12:24:29+00:00","article_modified_time":"2024-08-28T05:57:41+00:00","og_image":[{"width":2240,"height":1260,"url":"https:\/\/appycrown.com\/blog\/wp-content\/uploads\/2024\/02\/Jest-Test-for-LWC.png","type":"image\/png"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@AppyCrown","twitter_site":"@AppyCrown","twitter_misc":{"Written by":"admin","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/appycrown.com\/blog\/jest-test-for-lwc\/#article","isPartOf":{"@id":"https:\/\/appycrown.com\/blog\/jest-test-for-lwc\/"},"author":{"name":"admin","@id":"https:\/\/appycrown.com\/blog\/#\/schema\/person\/ac4c18e66881c31831f663d33f6445fe"},"headline":"JEST TEST For LWC","datePublished":"2024-02-13T12:24:29+00:00","dateModified":"2024-08-28T05:57:41+00:00","mainEntityOfPage":{"@id":"https:\/\/appycrown.com\/blog\/jest-test-for-lwc\/"},"wordCount":646,"publisher":{"@id":"https:\/\/appycrown.com\/blog\/#organization"},"image":{"@id":"https:\/\/appycrown.com\/blog\/jest-test-for-lwc\/#primaryimage"},"thumbnailUrl":"https:\/\/appycrown.com\/blog\/wp-content\/uploads\/2024\/02\/Jest-Test-for-LWC.png","keywords":["JEST","JEST Test","LWC"],"articleSection":["Salesforce"],"inLanguage":"en"},{"@type":"WebPage","@id":"https:\/\/appycrown.com\/blog\/jest-test-for-lwc\/","url":"https:\/\/appycrown.com\/blog\/jest-test-for-lwc\/","name":"JEST TEST For LWC - AppyCrown Blog","isPartOf":{"@id":"https:\/\/appycrown.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/appycrown.com\/blog\/jest-test-for-lwc\/#primaryimage"},"image":{"@id":"https:\/\/appycrown.com\/blog\/jest-test-for-lwc\/#primaryimage"},"thumbnailUrl":"https:\/\/appycrown.com\/blog\/wp-content\/uploads\/2024\/02\/Jest-Test-for-LWC.png","datePublished":"2024-02-13T12:24:29+00:00","dateModified":"2024-08-28T05:57:41+00:00","description":"Why do you need to write a JEST test and How? Let's find your answer here and explore the steps to write error-free JEST code.","breadcrumb":{"@id":"https:\/\/appycrown.com\/blog\/jest-test-for-lwc\/#breadcrumb"},"inLanguage":"en","potentialAction":[{"@type":"ReadAction","target":["https:\/\/appycrown.com\/blog\/jest-test-for-lwc\/"]}]},{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/appycrown.com\/blog\/jest-test-for-lwc\/#primaryimage","url":"https:\/\/appycrown.com\/blog\/wp-content\/uploads\/2024\/02\/Jest-Test-for-LWC.png","contentUrl":"https:\/\/appycrown.com\/blog\/wp-content\/uploads\/2024\/02\/Jest-Test-for-LWC.png","width":2240,"height":1260,"caption":"Jest Test for LWC"},{"@type":"BreadcrumbList","@id":"https:\/\/appycrown.com\/blog\/jest-test-for-lwc\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/appycrown.com\/blog\/"},{"@type":"ListItem","position":2,"name":"JEST TEST For LWC"}]},{"@type":"WebSite","@id":"https:\/\/appycrown.com\/blog\/#website","url":"https:\/\/appycrown.com\/blog\/","name":"AppyCrown","description":"Imagination meets Innovation","publisher":{"@id":"https:\/\/appycrown.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/appycrown.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en"},{"@type":"Organization","@id":"https:\/\/appycrown.com\/blog\/#organization","name":"AppyCrown","url":"https:\/\/appycrown.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/appycrown.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/appycrown.com\/blog\/wp-content\/uploads\/2024\/02\/AppyCrown-logowhite.png","contentUrl":"https:\/\/appycrown.com\/blog\/wp-content\/uploads\/2024\/02\/AppyCrown-logowhite.png","width":2665,"height":1788,"caption":"AppyCrown"},"image":{"@id":"https:\/\/appycrown.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/AppyCrown\/","https:\/\/x.com\/AppyCrown","https:\/\/www.linkedin.com\/company\/appycrown-private-limited\/"]},{"@type":"Person","@id":"https:\/\/appycrown.com\/blog\/#\/schema\/person\/ac4c18e66881c31831f663d33f6445fe","name":"admin","image":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/secure.gravatar.com\/avatar\/728d36d733dc59b0ebf5917f77e8cdd4571a885288cc04580310a3961760469b?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/728d36d733dc59b0ebf5917f77e8cdd4571a885288cc04580310a3961760469b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/728d36d733dc59b0ebf5917f77e8cdd4571a885288cc04580310a3961760469b?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/appycrown.com\/blog"]}]}},"_links":{"self":[{"href":"https:\/\/appycrown.com\/blog\/wp-json\/wp\/v2\/posts\/127","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/appycrown.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/appycrown.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/appycrown.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/appycrown.com\/blog\/wp-json\/wp\/v2\/comments?post=127"}],"version-history":[{"count":19,"href":"https:\/\/appycrown.com\/blog\/wp-json\/wp\/v2\/posts\/127\/revisions"}],"predecessor-version":[{"id":592,"href":"https:\/\/appycrown.com\/blog\/wp-json\/wp\/v2\/posts\/127\/revisions\/592"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/appycrown.com\/blog\/wp-json\/wp\/v2\/media\/497"}],"wp:attachment":[{"href":"https:\/\/appycrown.com\/blog\/wp-json\/wp\/v2\/media?parent=127"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/appycrown.com\/blog\/wp-json\/wp\/v2\/categories?post=127"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/appycrown.com\/blog\/wp-json\/wp\/v2\/tags?post=127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}