René's URL Explorer Experiment


Title: test(ui): Add Vitest with in-source testing by dstaley · Pull Request #4012 · clerk/javascript · GitHub

Open Graph Title: test(ui): Add Vitest with in-source testing by dstaley · Pull Request #4012 · clerk/javascript

X Title: test(ui): Add Vitest with in-source testing by dstaley · Pull Request #4012 · clerk/javascript

Description: Official JavaScript repository for Clerk authentication - test(ui): Add Vitest with in-source testing by dstaley · Pull Request #4012 · clerk/javascript

Open Graph Description: Description This PR adds initial Vitest support to packages/ui. It does not (yet) support component testing, but is sufficient for testing utility functions. Several changes were necessary to tscon...

X Description: Description This PR adds initial Vitest support to packages/ui. It does not (yet) support component testing, but is sufficient for testing utility functions. Several changes were necessary to tscon...

Opengraph URL: https://github.com/clerk/javascript/pull/4012

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:e855f219-b3a5-c7f0-a452-15df448b2196
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8DE8:39F7DB:131FE1:1BDE17:6AFAD75B
html-safe-noncec36cfeac8fa489559362c7f950c123efbdabde95423636576bd5cbfc94649fb2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4REU4OjM5RjdEQjoxMzFGRTE6MUJERTE3OjZBRkFENzVCIiwidmlzaXRvcl9pZCI6IjYwMDIzMjIzMDM4MjY0NTAyNjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac4719d6240e01adc2969b664c38185b5578e87b9337946a8c75a39513f4ec69bf
hovercard-subject-tagpull_request:2034729383
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/clerk/javascript/4012/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/007649f726632c1b2987e03b23f2dc839f12a480cfcff4091b1910727966cb54/clerk/javascript/pull/4012
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/007649f726632c1b2987e03b23f2dc839f12a480cfcff4091b1910727966cb54/clerk/javascript/pull/4012
og:image:altDescription This PR adds initial Vitest support to packages/ui. It does not (yet) support component testing, but is sufficient for testing utility functions. Several changes were necessary to tscon...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedstaley
hostnamegithub.com
expected-hostnamegithub.com
None02f4c00e74911c7cd779fc232c3130cee49eb39fd0ed4bfe3eea3b82c7c18084
turbo-cache-controlno-cache
go-importgithub.com/clerk/javascript git https://github.com/clerk/javascript.git
octolytics-dimension-user_id49538330
octolytics-dimension-user_loginclerk
octolytics-dimension-repository_id438331492
octolytics-dimension-repository_nwoclerk/javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id438331492
octolytics-dimension-repository_network_root_nwoclerk/javascript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release33c41e9d150e44415272934d676dc63c57d89c3b
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/clerk/javascript/pull/4012#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F4012
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%2Fclerk%2Fjavascript%2Fpull%2F4012
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=clerk%2Fjavascript
Reloadhttps://github.com/clerk/javascript/pull/4012
Reloadhttps://github.com/clerk/javascript/pull/4012
Reloadhttps://github.com/clerk/javascript/pull/4012
clerkhttps://github.com/clerk
javascripthttps://github.com/clerk/javascript
Codehttps://github.com/clerk/javascript
Issues44 (44)https://github.com/clerk/javascript/issues
Pull requests113 (113)https://github.com/clerk/javascript/pulls
Discussionshttps://github.com/clerk/javascript/discussions
Actionshttps://github.com/clerk/javascript/actions
Security and quality6 (6)https://github.com/clerk/javascript/security
Insightshttps://github.com/clerk/javascript/pulse
https://github.com/clerk/javascript
dstaleyhttps://github.com/dstaley
ds.feat/ui-appearance-descriptor-mergehttps://github.com/clerk/javascript/tree/ds.feat/ui-appearance-descriptor-merge
ds.feat/ui-vitesthttps://github.com/clerk/javascript/tree/ds.feat/ui-vitest
Conversationhttps://github.com/clerk/javascript/pull/4012
Commits2 (2)https://github.com/clerk/javascript/pull/4012/commits
Checkshttps://github.com/clerk/javascript/pull/4012/checks
Files changedhttps://github.com/clerk/javascript/pull/4012/files
test(ui): Add Vitest with in-source testinghttps://github.com/clerk/javascript/pull/4012#top
dstaleyhttps://github.com/dstaley
ds.feat/ui-appearance-descriptor-mergehttps://github.com/clerk/javascript/tree/ds.feat/ui-appearance-descriptor-merge
ds.feat/ui-vitesthttps://github.com/clerk/javascript/tree/ds.feat/ui-vitest
https://github.com/dstaley
dstaleyhttps://github.com/dstaley
Aug 23, 2024https://github.com/clerk/javascript/pull/4012#issue-2483742026
JSDoc commentshttps://jsdoc.app/about-getting-started.html
Documentationhttps://github.com/clerk/clerk-docs
Please reload this pagehttps://github.com/clerk/javascript/pull/4012
https://github.com/dstaley
test(ui): Add Vitest with in-source testinghttps://github.com/clerk/javascript/pull/4012/commits/2cb0ad539e49cc523d96f3722c67e5b11e302cfc
2cb0ad5https://github.com/clerk/javascript/pull/4012/commits/2cb0ad539e49cc523d96f3722c67e5b11e302cfc
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
Aug 23, 2024https://github.com/clerk/javascript/pull/4012#issuecomment-2307678259
Please reload this pagehttps://github.com/clerk/javascript/pull/4012
7a6a382https://github.com/clerk/javascript/commit/7a6a3820d11da8efca41f95b234e2faee4679ef5
Click here to learn what changesets are, and how to add onehttps://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md
Click here if you're a maintainer who wants to add a changeset to this PRhttps://github.com/clerk/javascript/new/ds.feat/ui-vitest?filename=.changeset/rude-roses-ring.md&value=---%0A%22%40clerk%2Fui%22%3A%20patch%0A---%0A%0Atest(ui)%3A%20Add%20Vitest%20with%20in-source%20testing%0A
Please reload this pagehttps://github.com/clerk/javascript/pull/4012
https://github.com/dstaley
dstaleyhttps://github.com/dstaley
Aug 23, 2024 https://github.com/clerk/javascript/pull/4012#pullrequestreview-2257956769
View reviewed changes https://github.com/clerk/javascript/pull/4012/files/2cb0ad539e49cc523d96f3722c67e5b11e302cfc
packages/ui/tsconfig.build.jsonhttps://github.com/clerk/javascript/pull/4012/files/2cb0ad539e49cc523d96f3722c67e5b11e302cfc#diff-f0b626a1ed0fdc7552af5f1a2a25fd055e8528c377fe6f7e17e89907477345ef
dstaleyhttps://github.com/dstaley
Aug 23, 2024https://github.com/clerk/javascript/pull/4012#discussion_r1729420357
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/4012
https://github.com/dstaley
dstaleyhttps://github.com/dstaley
Aug 23, 2024 https://github.com/clerk/javascript/pull/4012#pullrequestreview-2257957844
View reviewed changes https://github.com/clerk/javascript/pull/4012/files/2cb0ad539e49cc523d96f3722c67e5b11e302cfc
packages/ui/tsconfig.jsonhttps://github.com/clerk/javascript/pull/4012/files/2cb0ad539e49cc523d96f3722c67e5b11e302cfc#diff-23d1c00ada88e4f7db71f0cd8959db1ec2a1442b48e818ec83f33d6d8f221845
dstaleyhttps://github.com/dstaley
Aug 23, 2024https://github.com/clerk/javascript/pull/4012#discussion_r1729420941
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/4012
https://github.com/dstaley
dstaleyhttps://github.com/dstaley
Aug 23, 2024 https://github.com/clerk/javascript/pull/4012#pullrequestreview-2257960296
View reviewed changes https://github.com/clerk/javascript/pull/4012/files/2cb0ad539e49cc523d96f3722c67e5b11e302cfc
packages/ui/tsconfig.jsonhttps://github.com/clerk/javascript/pull/4012/files/2cb0ad539e49cc523d96f3722c67e5b11e302cfc#diff-23d1c00ada88e4f7db71f0cd8959db1ec2a1442b48e818ec83f33d6d8f221845
dstaleyhttps://github.com/dstaley
Aug 23, 2024https://github.com/clerk/javascript/pull/4012#discussion_r1729422309
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/4012
https://github.com/dstaley
dstaleyhttps://github.com/dstaley
Aug 23, 2024 https://github.com/clerk/javascript/pull/4012#pullrequestreview-2257961621
View reviewed changes https://github.com/clerk/javascript/pull/4012/files/2cb0ad539e49cc523d96f3722c67e5b11e302cfc
packages/ui/tsconfig.jsonhttps://github.com/clerk/javascript/pull/4012/files/2cb0ad539e49cc523d96f3722c67e5b11e302cfc#diff-23d1c00ada88e4f7db71f0cd8959db1ec2a1442b48e818ec83f33d6d8f221845
Please reload this pagehttps://github.com/clerk/javascript/pull/4012
https://github.com/dstaley
dstaleyhttps://github.com/dstaley
Aug 23, 2024 https://github.com/clerk/javascript/pull/4012#pullrequestreview-2257961987
View reviewed changes https://github.com/clerk/javascript/pull/4012/files/2cb0ad539e49cc523d96f3722c67e5b11e302cfc
packages/ui/tsconfig.jsonhttps://github.com/clerk/javascript/pull/4012/files/2cb0ad539e49cc523d96f3722c67e5b11e302cfc#diff-23d1c00ada88e4f7db71f0cd8959db1ec2a1442b48e818ec83f33d6d8f221845
dstaleyhttps://github.com/dstaley
Aug 23, 2024https://github.com/clerk/javascript/pull/4012#discussion_r1729423379
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/4012
https://github.com/dstaley
dstaleyhttps://github.com/dstaley
Aug 23, 2024 https://github.com/clerk/javascript/pull/4012#pullrequestreview-2257962612
View reviewed changes https://github.com/clerk/javascript/pull/4012/files/2cb0ad539e49cc523d96f3722c67e5b11e302cfc
packages/ui/tsup.config.tshttps://github.com/clerk/javascript/pull/4012/files/2cb0ad539e49cc523d96f3722c67e5b11e302cfc#diff-e34da211eb35502435ed132ffe51b784f768a3b3e380f718678c981761b14d65
dstaleyhttps://github.com/dstaley
Aug 23, 2024https://github.com/clerk/javascript/pull/4012#discussion_r1729423784
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/4012
https://github.com/dstaley
dstaleyhttps://github.com/dstaley
Aug 23, 2024 https://github.com/clerk/javascript/pull/4012#pullrequestreview-2257963181
View reviewed changes https://github.com/clerk/javascript/pull/4012/files/2cb0ad539e49cc523d96f3722c67e5b11e302cfc
packages/ui/tsup.config.tshttps://github.com/clerk/javascript/pull/4012/files/2cb0ad539e49cc523d96f3722c67e5b11e302cfc#diff-e34da211eb35502435ed132ffe51b784f768a3b3e380f718678c981761b14d65
dstaleyhttps://github.com/dstaley
Aug 23, 2024https://github.com/clerk/javascript/pull/4012#discussion_r1729424176
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/4012
https://github.com/brkalow
brkalowhttps://github.com/brkalow
Aug 23, 2024 https://github.com/clerk/javascript/pull/4012#pullrequestreview-2258049374
View reviewed changes https://github.com/clerk/javascript/pull/4012/files/2cb0ad539e49cc523d96f3722c67e5b11e302cfc
packages/ui/src/contexts/AppearanceContext.tsxhttps://github.com/clerk/javascript/pull/4012/files/2cb0ad539e49cc523d96f3722c67e5b11e302cfc#diff-352562e85a0821801f72125c6184c8362d4c562cc4a4af0dfb202f9515d82f65
brkalowhttps://github.com/brkalow
Aug 23, 2024https://github.com/clerk/javascript/pull/4012#discussion_r1729481097
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/4012
https://github.com/dstaley
cleanup(ui): Remove typeRootshttps://github.com/clerk/javascript/pull/4012/commits/7a6a3820d11da8efca41f95b234e2faee4679ef5
7a6a382https://github.com/clerk/javascript/pull/4012/commits/7a6a3820d11da8efca41f95b234e2faee4679ef5
https://github.com/brkalow
brkalowhttps://github.com/brkalow
Aug 23, 2024 https://github.com/clerk/javascript/pull/4012#pullrequestreview-2258086805
View reviewed changes https://github.com/clerk/javascript/pull/4012/files/7a6a3820d11da8efca41f95b234e2faee4679ef5
https://github.com/dstaley
dstaleyhttps://github.com/dstaley
68b6382https://github.com/clerk/javascript/commit/68b63829127f6ee52491586dcd7b71f210e656e7
Aug 23, 2024https://github.com/clerk/javascript/pull/4012#event-13997829322
https://github.com/dstaley
dstaleyhttps://github.com/dstaley
August 23, 2024 20:54https://github.com/clerk/javascript/pull/4012#event-13997829514
feat(ui): Add support for element descriptors #3999 https://github.com/clerk/javascript/pull/3999
feat(ui): Initial support for elements appearance prop #3988 https://github.com/clerk/javascript/pull/3988
feat(ui): Initial AppearanceProvider support #3976 https://github.com/clerk/javascript/pull/3976
https://github.co/hiddenchars
https://github.com/clerk/javascript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F4012
https://github.com/brkalow
brkalow https://github.com/brkalow
https://github.com/clerk/javascript/pull/4012/files/7a6a3820d11da8efca41f95b234e2faee4679ef5
Please reload this pagehttps://github.com/clerk/javascript/pull/4012
Please reload this pagehttps://github.com/clerk/javascript/pull/4012
https://github.com/dstaley
https://github.com/brkalow
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.