{"fileId":"4e1482b7335e8bd61012cf7590535099dded5f3af30ef263a4d09c0e379828ef","type":"Contented","path":"/jest/pipelines/jest-markdown-js","modifiedDate":1696943516077,"sections":["Pipelines"],"fields":{"title":"Jest Markdown Pipeline (JS)","description":"JavaScript version of the Jest Markdown Pipeline. The file extension will be used to determine the language of the codeblocks."},"headings":[{"depth":1,"headingId":"jest-markdown-pipeline-js","title":"Jest Markdown Pipeline (JS)","children":[]}],"html":"<nav class=\"toc\"><ol class=\"toc-level toc-level-1\"><li class=\"toc-item toc-item-h1\"><a class=\"toc-link toc-link-h1\" href=\"#jest-markdown-pipeline-js\">Jest Markdown Pipeline (JS)</a></li></ol></nav><h1 id=\"jest-markdown-pipeline-js\"><a aria-hidden=\"true\" tabindex=\"-1\" href=\"#jest-markdown-pipeline-js\"><span class=\"icon icon-link\"></span></a>Jest Markdown Pipeline (JS)</h1>\n<p>JavaScript version of the Jest Markdown Pipeline.\nThe file extension will be used to determine the language of the codeblocks.</p>\n<p>For example:</p>\n<ul>\n<li><code>*.js</code> will be parsed as <code>```js</code></li>\n<li><code>*.ts</code> will be parsed as <code>```ts</code></li>\n<li><code>*.tsx</code> will be parsed as <code>```tsx</code></li>\n</ul>\n<div class=\"codeblock-header\" data-language=\"JavaScript\"><header><span class=\"codeblock-filename\">Expect.js</span><span class=\"codeblock-language\">JavaScript</span></header><div class=\"rehype-shiki\"><pre class=\"shiki css-variable\" style=\"background-color: var(--shiki-color-background)\"><code><span class=\"line\"><span style=\"color: var(--shiki-token-function)\">expect</span><span style=\"color: var(--shiki-color-text)\">(</span><span style=\"color: var(--shiki-token-constant)\">true</span><span style=\"color: var(--shiki-color-text)\">)</span><span style=\"color: var(--shiki-token-function)\">.toStrictEqual</span><span style=\"color: var(--shiki-color-text)\">(</span><span style=\"color: var(--shiki-token-constant)\">true</span><span style=\"color: var(--shiki-color-text)\">);</span></span></code></pre></div></div>"}