snsin/project-lvl3-s394

View on GitHub
__tests__/__fixtures__/localized.html

Summary

Maintainability
Test Coverage
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title>Jest &#xB7; &#x1F0CF; Delightful JavaScript Testing</title><meta name="viewport" content="width=device-width"><meta name="generator" content="Docusaurus"><meta name="description" content="&#x1F0CF; Delightful JavaScript Testing"><meta name="docsearch:language" content="en"><meta property="og:title" content="Jest &#xB7; &#x1F0CF; Delightful JavaScript Testing"><meta property="og:type" content="website"><meta property="og:url" content="https://jestjs.io/index.html"><meta property="og:description" content="&#x1F0CF; Delightful JavaScript Testing"><meta property="og:image" content="https://jestjs.io/img/opengraph.png"><meta name="twitter:card" content="summary"><meta name="twitter:image" content="https://jestjs.io/img/jest.png"><link rel="shortcut icon" href="jestjs-io-en-help_files/img-favicon-favicon.ico"><link rel="stylesheet" href="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.css"><link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/default.min.css"><link rel="alternate" type="application/atom+xml" href="https://jestjs.io/blog/atom.xml" title="Jest Blog ATOM Feed"><link rel="alternate" type="application/rss+xml" href="https://jestjs.io/blog/feed.xml" title="Jest Blog RSS Feed"><script>
              (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
              (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
              m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
              })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

              ga('create', 'UA-44373548-17', 'auto');
              ga('send', 'pageview');
            </script><script type="text/javascript" src="https://buttons.github.io/buttons.js"></script><link rel="stylesheet" href="jestjs-io-en-help_files/css-main.css"><script src="https://jestjs.io/js/codetabs.js"></script></head><body><div class="fixedHeaderContainer"><div class="headerWrapper wrapper"><header><a href="/en"><img class="logo" src="https://jestjs.io/img/jest.svg" alt="Jest"><h2 class="headerTitleWithLogo">Jest</h2></a><a href="/en/versions"><h3>24.0</h3></a><div class="navigationWrapper navigationSlider"><nav class="slidingNav"><ul class="nav-site nav-site-internal"><li class=""><a href="/docs/en/getting-started" target="_self">Docs</a></li><li class=""><a href="/docs/en/api" target="_self">API</a></li><li class="siteNavItemActive"><a href="/en/help" target="_self">Help</a></li><li class=""><a href="/blog/" target="_self">Blog</a></li><span><li><a id="languages-menu" href="#"><img class="languages-icon" src="https://jestjs.io/img/language.svg" alt="Languages icon">English</a><div id="languages-dropdown" class="hide"><ul id="languages-dropdown-items"><li><a href="/ja/help">&#x65E5;&#x672C;&#x8A9E;</a></li><li><a href="/es-ES/help">Espa&#xF1;ol</a></li><li><a href="/pt-BR/help">Portugu&#xEA;s (Brasil)</a></li><li><a href="/ro/help">Rom&#xE2;n&#x103;</a></li><li><a href="/ru/help">&#x420;&#x443;&#x441;&#x441;&#x43A;&#x438;&#x439;</a></li><li><a href="/uk/help">&#x423;&#x43A;&#x440;&#x430;&#x457;&#x43D;&#x441;&#x44C;&#x43A;&#x430;</a></li><li><a href="/zh-Hans/help">&#x7B80;&#x4F53;&#x4E2D;&#x6587;</a></li></ul></div></li><script>
        const languagesMenuItem = document.getElementById("languages-menu");
        const languagesDropDown = document.getElementById("languages-dropdown");
        languagesMenuItem.addEventListener("click", function(event) {
          event.preventDefault();

          if (languagesDropDown.className == "hide") {
            languagesDropDown.className = "visible";
          } else {
            languagesDropDown.className = "hide";
          }
        });
      </script></span><li class="navSearchWrapper reactNavSearchWrapper"><input type="text" id="search_input_react" placeholder="Search" title="Search"></li><li class=""><a href="https://github.com/facebook/jest" target="_self">GitHub</a></li></ul></nav></div></header></div></div><div class="navPusher"><div class="docMainWrapper wrapper"><div class="container mainContainer documentContainer postContainer"><div class="wrapper"><div class="post"><header class="postHeader"><h2>Need help?</h2></header><p>Jest is worked on full-time by Facebook&apos;s JavaScript Foundation team. Team members are often around and available for questions.</p><div class="gridBlock"><div class="blockElement threeByGridBlock"><div class="blockContent"><h2><div><span><p>Browse the docs</p>
</span></div></h2><div><span><p>Find what you&apos;re looking for in our detailed documentation and guides.</p>
<ul>
<li>Learn how to <a href="/docs/en/getting-started.html">get started</a> with Jest.</li>
<li><a href="/docs/en/troubleshooting.html">Troubleshoot</a> problems with Jest.</li>
<li>Learn how to <a href="/docs/en/configuration.html">configure Jest</a>.</li>
<li>Look at the full <a href="/docs/en/api.html">API Reference</a>.</li>
</ul>
</span></div></div></div><div class="blockElement threeByGridBlock"><div class="blockContent"><h2><div><span><p>Join the community</p>
</span></div></h2><div><span><p>Ask questions and find answers from other Jest users like you.</p>
<ul>
<li>Join the <a href="https://discord.gg/MWRhKCj">#jest</a> channel on <a href="http://www.reactiflux.com/">Reactiflux</a>, a Discord community.</li>
<li>Many members of the community use Stack Overflow. Read through the <a href="https://stackoverflow.com/questions/tagged/jestjs">existing questions</a> tagged with <strong>jestjs</strong> or <a href="https://stackoverflow.com/questions/ask">ask your own</a>!</li>
</ul>
</span></div></div></div><div class="blockElement threeByGridBlock"><div class="blockContent"><h2><div><span><p>Stay up to date</p>
</span></div></h2><div><span><p>Find out what&apos;s new with Jest.</p>
<ul>
<li>Follow <a href="https://twitter.com/fbjest">Jest</a> on Twitter.</li>
<li>Subscribe to the <a href="/blog/">Jest blog</a>.</li>
<li>Look at the <a href="https://github.com/facebook/jest/blob/master/CHANGELOG.md">changelog</a>.</li>
</ul>
</span></div></div></div></div></div></div></div></div><footer class="nav-footer" id="footer"><section class="sitemap"><a href="/" class="nav-home"><img src="https://jestjs.io/img/jest-outline.svg" alt="Jest" width="66" height="58"></a><div><h5>Docs</h5><a href="/docs/en/getting-started.html">Getting Started</a><a href="/docs/en/snapshot-testing.html">Guides</a><a href="/docs/en/api.html">API Reference</a></div><div><h5>Community</h5><a href="https://stackoverflow.com/questions/tagged/jestjs" target="_blank">Stack Overflow</a><a href="https://discord.gg/MWRhKCj">Jest Chat</a><a href="https://twitter.com/fbjest" target="_blank">Twitter</a></div><div><h5>More</h5><a href="/blog">Blog</a><a href="https://github.com/facebook/jest">GitHub</a><a class="github-button" href="https://github.com/facebook/jest" data-icon="octicon-star" data-count-href="/facebook/jest/stargazers" data-show-count="true" data-count-aria-label="# stargazers on GitHub" aria-label="Star facebook/jest on GitHub">Star</a></div></section><a href="https://code.facebook.com/projects/" target="_blank" class="fbOpenSource"><img src="https://jestjs.io/img/oss_logo.png" alt="Facebook Open Source" width="170" height="45"></a><section class="copyright">Copyright &#xA9; 2019 Facebook Inc.</section></footer></div><script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.js"></script><script>window.twttr=(function(d,s, id){var js,fjs=d.getElementsByTagName(s)[0],t=window.twttr||{};if(d.getElementById(id))return t;js=d.createElement(s);js.id=id;js.src='https://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js, fjs);t._e = [];t.ready = function(f) {t._e.push(f);};return t;}(document, 'script', 'twitter-wjs'));</script><script>
                document.addEventListener('keyup', function(e) {
                  if (e.target !== document.body) {
                    return;
                  }
                  // keyCode for '/' (slash)
                  if (e.keyCode === 191) {
                    const search = document.getElementById('search_input_react');
                    search && search.focus();
                  }
                });
              </script><script>
              var search = docsearch({
                
                apiKey: '833906d7486e4059359fa58823c4ef56',
                indexName: 'jest',
                inputSelector: '#search_input_react',
                algoliaOptions: {"facetFilters":["language:en","version:24.0"]}
              });
            </script>
</body></html>