Promote and enable the most advanced cutting edge technologies and workflows while supporting legacy projects
How do you TDD?
write test -> build -> test -> check console -> modify production code -> build -> test -> check console -> ...
write test -> check console -> modify production code -> check console
This is suboptimal
http://localhost:3000
http://localhost:3200
1. Bundle the JS & CSS
2. Serve the statics (CDN)
3. Serve the html (App server)
npx yoshi buildnpx yoshi testBundle the client for production
and save it to the file system
Serve the bundle from the file system
and run the tests using the production bundle
npx yoshi startnpx jest --watchBundle the client for development and also serve it
Run the tests on watch mode using the development bundle
--no-test