`uvu` is not browser compatible
See original GitHub issueNot sure if this is intentional and there’s just a note missing in the README, but uvu/assert
relies on kleur
, which assumes process
exists.
I’d love if I could just bundle my test suite and run it in the browser.
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (9 by maintainers)
Top Results From Across the Web
Respondus Lockdown Browser | Desktop Support
LockDown Browser is a locked browser for taking tests in Canvas. It prevents students from printing, copying, visiting another URL, or accessing other ......
Read more >Web Standards, Guidelines and Policies - Utah Valley University
Web Guidelines and Recommendations. The public web at UVU is a centralized system governed by standards to maintain our brand, our image, and...
Read more >Canvas Support for Students | Office of Teaching and Learning
Canvas Support Tips & Tricks. Google Chrome and Firefox are the recommended browsers. Check the syllabus to know the preferred way to contact...
Read more >Web Standards, Guidelines and Policies - Utah Valley University
Standards and guides for UVU websites and systems.
Read more >Remote Support | Desktop Support - Utah Valley University
Depending on availability, area technicians will respond as soon as possible. Telephone. Call the campus extension for your area technician. If they are...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Oh gotcha.
uvu will always just be the core test runner & “write the tests”-collection of utilities. It will remain agnostic to its environment, but always work as a Nodejs test runner by default.
umu will be the opinionated browser orchestration tool. Like uvu, it will have its own CLI but could also be used programmatically. It’s basically a wrapper around playwright (might make this flexible) and take care of the 90% use case of what people want from a frontend-testing setup. It will also have a programmatic interface so that you could pull it into existing tests or control tabs/page-reloads/etc if desired. The idea here is that you don’t like or want the done-for-you solution (umu), you can always build on top of uvu, since it should be flexible & light enough to do what you want to do.
TBH I’m not working on any frontend codebases right now, which means I’m not working on umu right now either, haha.
Until then, you could import puppeteer/playwright directly into your uvu tests & do what you need to do – including collecting coverage. There are examples of this in the repo already & there are a number of projects that are using this approach w/ uvu too.
So ya, uvu itself is nearly done, but its roadmap is:
describe
-style api (easy)This is the first I heard about an
umu
package. I found it on the npm registry (https://www.npmjs.com/package/umu), but it’s link to github is dead. Was the project cancelled or did it just get moved somewhere else, getting a new name or something like that?