René's URL Explorer Experiment


Title: Automated testing with Mocha by ockley · Pull Request #223 · javascript-tutorial/da.javascript.info · GitHub

Open Graph Title: Automated testing with Mocha by ockley · Pull Request #223 · javascript-tutorial/da.javascript.info

Description: Modern JavaScript Tutorial in Danish. Contribute to javascript-tutorial/da.javascript.info development by creating an account on GitHub.

Opengraph URL: https://github.com/javascript-tutorial/da.javascript.info/pull/223

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:2bc9d537-f953-742f-afd7-02696499c27c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id98FA:2ADB95:89B3F6:C5AC19:6AFD86A8
html-safe-noncea876d745cfb4a2951b881067c9804345478c590ac29f4fb7445624dedf02f1e0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OEZBOjJBREI5NTo4OUIzRjY6QzVBQzE5OjZBRkQ4NkE4IiwidmlzaXRvcl9pZCI6IjY4NzcxMzczNzAyNzgxMDI2OTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac9ed0caa7f78ae4872f50fcae51967730920c16582db8d22c45cf35fd5dc5fda7
hovercard-subject-tagpull_request:3264049935
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/javascript-tutorial/da.javascript.info/pull/223/files
og:imagehttps://avatars.githubusercontent.com/u/419019?s=400&v=4
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonebc86424ef34a73b386237872800e922d149d65ba907f63d6f150a2dcb8433bea
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/javascript-tutorial/da.javascript.info git https://github.com/javascript-tutorial/da.javascript.info.git
octolytics-dimension-user_id49552305
octolytics-dimension-user_loginjavascript-tutorial
octolytics-dimension-repository_id298352761
octolytics-dimension-repository_nwojavascript-tutorial/da.javascript.info
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id298352761
octolytics-dimension-repository_network_root_nwojavascript-tutorial/da.javascript.info
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release927a6c5ab1c32b38830f1b9d3050c0b9e9aa92e1
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/javascript-tutorial/da.javascript.info/pull/223/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fjavascript-tutorial%2Fda.javascript.info%2Fpull%2F223%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fjavascript-tutorial%2Fda.javascript.info%2Fpull%2F223%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=javascript-tutorial%2Fda.javascript.info
Reloadhttps://github.com/javascript-tutorial/da.javascript.info/pull/223/files
Reloadhttps://github.com/javascript-tutorial/da.javascript.info/pull/223/files
Reloadhttps://github.com/javascript-tutorial/da.javascript.info/pull/223/files
javascript-tutorialhttps://github.com/javascript-tutorial
da.javascript.infohttps://github.com/javascript-tutorial/da.javascript.info
Codehttps://github.com/javascript-tutorial/da.javascript.info
Issues1 (1)https://github.com/javascript-tutorial/da.javascript.info/issues
Pull requestshttps://github.com/javascript-tutorial/da.javascript.info/pulls
Actionshttps://github.com/javascript-tutorial/da.javascript.info/actions
Security and qualityhttps://github.com/javascript-tutorial/da.javascript.info/security
Insightshttps://github.com/javascript-tutorial/da.javascript.info/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fjavascript-tutorial%2Fda.javascript.info%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fjavascript-tutorial%2Fda.javascript.info%2Fissues%2Fnew%2Fchoose
ockleyhttps://github.com/ockley
javascript-tutorial:masterhttps://github.com/javascript-tutorial/da.javascript.info/tree/master
ockley:masterhttps://github.com/ockley/da.javascript.info/tree/master
Conversation 0 https://github.com/javascript-tutorial/da.javascript.info/pull/223
Commits 1 https://github.com/javascript-tutorial/da.javascript.info/pull/223/commits
Checks 0 https://github.com/javascript-tutorial/da.javascript.info/pull/223/checks
Files changed https://github.com/javascript-tutorial/da.javascript.info/pull/223/files
Please reload this pagehttps://github.com/javascript-tutorial/da.javascript.info/pull/223/files
Automated testing with Mocha https://github.com/javascript-tutorial/da.javascript.info/pull/223/files#top
Show all changes 1 commit https://github.com/javascript-tutorial/da.javascript.info/pull/223/files
7116552 Oversat til dansk ockley Feb 9, 2026 https://github.com/javascript-tutorial/da.javascript.info/pull/223/commits/7116552485eeaf6cff1331f4799cff3f15cce7f6
Clear filters https://github.com/javascript-tutorial/da.javascript.info/pull/223/files
Please reload this pagehttps://github.com/javascript-tutorial/da.javascript.info/pull/223/files
Please reload this pagehttps://github.com/javascript-tutorial/da.javascript.info/pull/223/files
article.md https://github.com/javascript-tutorial/da.javascript.info/pull/223/files#diff-62528a2541e6afa76a6818d3699003941ff3864607c792efac84ff82453d2b9b
index.html https://github.com/javascript-tutorial/da.javascript.info/pull/223/files#diff-5c1d7218d834179f20ebb89e40e016192ac5ce2e2c77a4b034858a0fd369d7dc
test.js https://github.com/javascript-tutorial/da.javascript.info/pull/223/files#diff-0c77528d3cb86f1bac500ed60640b7ffe4aff953c29e078e72c31cf45b53da89
index.html https://github.com/javascript-tutorial/da.javascript.info/pull/223/files#diff-3902823dca62d9738bcbcf03bea70ace6e08b12784a8793618ea67fad7c0c1ea
index.html https://github.com/javascript-tutorial/da.javascript.info/pull/223/files#diff-09c5fa03f7df80693cfcb98d8de96f22333a2de621a32c763a1435e3bae55852
test.js https://github.com/javascript-tutorial/da.javascript.info/pull/223/files#diff-b90f3fef564075553936344be7a3d014b75a3b3e060bca9bf7c4a430318e8c26
index.html https://github.com/javascript-tutorial/da.javascript.info/pull/223/files#diff-f81a5a153afebe74b965fb4010f1e47d5f3727d7840fb349dde227c90e98e3a7
test.js https://github.com/javascript-tutorial/da.javascript.info/pull/223/files#diff-5a9d53ad0997b19b9805beb46571c0ade37320423b6a073d321208e702127d32
index.html https://github.com/javascript-tutorial/da.javascript.info/pull/223/files#diff-bc605a43bd6e00810e3090a30c3ff3fd348afe77adc6903f3e10e53fed03825c
test.js https://github.com/javascript-tutorial/da.javascript.info/pull/223/files#diff-0595f9efd660b10b1290b5d47517515f370d5d91ff46eb66c7f10f6d09f8fd5f
index.html https://github.com/javascript-tutorial/da.javascript.info/pull/223/files#diff-159cdf82839d93cb8cc4e4f19ba16ed03f2c15090ae15734e077ef5b5a1b5ab6
test.js https://github.com/javascript-tutorial/da.javascript.info/pull/223/files#diff-3865a66e85be4d725df76cfb43f55fce98ae0864988ef7889a98e849fb51e7d9
index.html https://github.com/javascript-tutorial/da.javascript.info/pull/223/files#diff-11bbbd27d326e25b55f3806e48c192ae4233aef1015336e247a65600125b4bab
test.js https://github.com/javascript-tutorial/da.javascript.info/pull/223/files#diff-a4757af8bbf33e3c6e8fffcf3defd911fb9729cb73c7e81424da0ed9618e6b0a
index.html https://github.com/javascript-tutorial/da.javascript.info/pull/223/files#diff-e28c1ee5f0537cc6ad1a749441e3e114c70739d0920f0d692ed088a574e6269a
test.js https://github.com/javascript-tutorial/da.javascript.info/pull/223/files#diff-057324a925966f08cc10dc22cb0ef22d65a513cd7bc2407d5717be572c1f0999
index.html https://github.com/javascript-tutorial/da.javascript.info/pull/223/files#diff-3e0a82e182d368e21de6f2c212b11a69b6bb8fa02fd181aa1cac76f52c044ef8
test.js https://github.com/javascript-tutorial/da.javascript.info/pull/223/files#diff-0ab0e0ac9fa344651fe7f5da1b354d327d71e92633776b77484ca8a8ffadc3fa
1-js/03-code-quality/05-testing-mocha/article.mdhttps://github.com/javascript-tutorial/da.javascript.info/pull/223/files#diff-62528a2541e6afa76a6818d3699003941ff3864607c792efac84ff82453d2b9b
View file https://github.com/ockley/da.javascript.info/blob/7116552485eeaf6cff1331f4799cff3f15cce7f6/1-js/03-code-quality/05-testing-mocha/article.md
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/javascript-tutorial/da.javascript.info/pull/223/files
1-js/03-code-quality/05-testing-mocha/beforeafter.view/index.htmlhttps://github.com/javascript-tutorial/da.javascript.info/pull/223/files#diff-5c1d7218d834179f20ebb89e40e016192ac5ce2e2c77a4b034858a0fd369d7dc
View file https://github.com/ockley/da.javascript.info/blob/7116552485eeaf6cff1331f4799cff3f15cce7f6/1-js/03-code-quality/05-testing-mocha/beforeafter.view/index.html
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/javascript-tutorial/da.javascript.info/pull/223/{{ revealButtonHref }}
https://github.com/javascript-tutorial/da.javascript.info/pull/223/files#diff-5c1d7218d834179f20ebb89e40e016192ac5ce2e2c77a4b034858a0fd369d7dc
1-js/03-code-quality/05-testing-mocha/beforeafter.view/test.jshttps://github.com/javascript-tutorial/da.javascript.info/pull/223/files#diff-0c77528d3cb86f1bac500ed60640b7ffe4aff953c29e078e72c31cf45b53da89
View file https://github.com/ockley/da.javascript.info/blob/7116552485eeaf6cff1331f4799cff3f15cce7f6/1-js/03-code-quality/05-testing-mocha/beforeafter.view/test.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/javascript-tutorial/da.javascript.info/pull/223/{{ revealButtonHref }}
https://github.com/javascript-tutorial/da.javascript.info/pull/223/files#diff-0c77528d3cb86f1bac500ed60640b7ffe4aff953c29e078e72c31cf45b53da89
1-js/03-code-quality/05-testing-mocha/index.htmlhttps://github.com/javascript-tutorial/da.javascript.info/pull/223/files#diff-3902823dca62d9738bcbcf03bea70ace6e08b12784a8793618ea67fad7c0c1ea
View file https://github.com/ockley/da.javascript.info/blob/7116552485eeaf6cff1331f4799cff3f15cce7f6/1-js/03-code-quality/05-testing-mocha/index.html
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/javascript-tutorial/da.javascript.info/pull/223/{{ revealButtonHref }}
https://github.com/javascript-tutorial/da.javascript.info/pull/223/files#diff-3902823dca62d9738bcbcf03bea70ace6e08b12784a8793618ea67fad7c0c1ea
https://github.com/javascript-tutorial/da.javascript.info/pull/223/files#diff-3902823dca62d9738bcbcf03bea70ace6e08b12784a8793618ea67fad7c0c1ea
1-js/03-code-quality/05-testing-mocha/pow-1.view/index.htmlhttps://github.com/javascript-tutorial/da.javascript.info/pull/223/files#diff-09c5fa03f7df80693cfcb98d8de96f22333a2de621a32c763a1435e3bae55852
View file https://github.com/ockley/da.javascript.info/blob/7116552485eeaf6cff1331f4799cff3f15cce7f6/1-js/03-code-quality/05-testing-mocha/pow-1.view/index.html
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/javascript-tutorial/da.javascript.info/pull/223/{{ revealButtonHref }}
1-js/03-code-quality/05-testing-mocha/pow-1.view/test.jshttps://github.com/javascript-tutorial/da.javascript.info/pull/223/files#diff-b90f3fef564075553936344be7a3d014b75a3b3e060bca9bf7c4a430318e8c26
View file https://github.com/ockley/da.javascript.info/blob/7116552485eeaf6cff1331f4799cff3f15cce7f6/1-js/03-code-quality/05-testing-mocha/pow-1.view/test.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/javascript-tutorial/da.javascript.info/pull/223/{{ revealButtonHref }}
https://github.com/javascript-tutorial/da.javascript.info/pull/223/files#diff-b90f3fef564075553936344be7a3d014b75a3b3e060bca9bf7c4a430318e8c26
1-js/03-code-quality/05-testing-mocha/pow-2.view/index.htmlhttps://github.com/javascript-tutorial/da.javascript.info/pull/223/files#diff-f81a5a153afebe74b965fb4010f1e47d5f3727d7840fb349dde227c90e98e3a7
View file https://github.com/ockley/da.javascript.info/blob/7116552485eeaf6cff1331f4799cff3f15cce7f6/1-js/03-code-quality/05-testing-mocha/pow-2.view/index.html
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/javascript-tutorial/da.javascript.info/pull/223/{{ revealButtonHref }}
1-js/03-code-quality/05-testing-mocha/pow-2.view/test.jshttps://github.com/javascript-tutorial/da.javascript.info/pull/223/files#diff-5a9d53ad0997b19b9805beb46571c0ade37320423b6a073d321208e702127d32
View file https://github.com/ockley/da.javascript.info/blob/7116552485eeaf6cff1331f4799cff3f15cce7f6/1-js/03-code-quality/05-testing-mocha/pow-2.view/test.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/javascript-tutorial/da.javascript.info/pull/223/{{ revealButtonHref }}
https://github.com/javascript-tutorial/da.javascript.info/pull/223/files#diff-5a9d53ad0997b19b9805beb46571c0ade37320423b6a073d321208e702127d32
1-js/03-code-quality/05-testing-mocha/pow-3.view/index.htmlhttps://github.com/javascript-tutorial/da.javascript.info/pull/223/files#diff-bc605a43bd6e00810e3090a30c3ff3fd348afe77adc6903f3e10e53fed03825c
View file https://github.com/ockley/da.javascript.info/blob/7116552485eeaf6cff1331f4799cff3f15cce7f6/1-js/03-code-quality/05-testing-mocha/pow-3.view/index.html
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/javascript-tutorial/da.javascript.info/pull/223/{{ revealButtonHref }}
1-js/03-code-quality/05-testing-mocha/pow-3.view/test.jshttps://github.com/javascript-tutorial/da.javascript.info/pull/223/files#diff-0595f9efd660b10b1290b5d47517515f370d5d91ff46eb66c7f10f6d09f8fd5f
View file https://github.com/ockley/da.javascript.info/blob/7116552485eeaf6cff1331f4799cff3f15cce7f6/1-js/03-code-quality/05-testing-mocha/pow-3.view/test.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/javascript-tutorial/da.javascript.info/pull/223/{{ revealButtonHref }}
https://github.com/javascript-tutorial/da.javascript.info/pull/223/files#diff-0595f9efd660b10b1290b5d47517515f370d5d91ff46eb66c7f10f6d09f8fd5f
Please reload this pagehttps://github.com/javascript-tutorial/da.javascript.info/pull/223/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.