8 Commits

Author SHA1 Message Date
shivansh-gupta4
56981f5da4 Corrected test cases using mocking techniques 2025-07-14 06:48:19 +05:30
shivansh-gupta4
8355adc750 Moved required_frontend to a new function and imported that in server.py 2025-07-13 23:51:06 +05:30
shivansh-gupta4
b3eed4fa35 Refactored the function to return currently installed frontend pacakage version 2025-07-12 23:41:25 +05:30
shivansh-gupta4
e7040c37e3 Created a function get_required_frontend_version and wrote tests for it 2025-07-12 14:56:53 +05:30
Chenlei Hu
65ea778a5e nit 2025-03-10 15:19:59 -04:00
Chenlei Hu
db9f2a34fc Fix unit test 2025-03-10 15:19:52 -04:00
Chenlei Hu
ca4b8f30e0
Cleanup empty dir if frontend zip download failed (#4574) 2024-08-27 02:07:25 -04:00
Chenlei Hu
99458e8aca
Add FrontendManager to manage non-default front-end impl (#3897)
* Add frontend manager

* Add tests

* nit

* Add unit test to github CI

* Fix path

* nit

* ignore

* Add logging

* Install test deps

* Remove 'stable' keyword support

* Update test

* Add web-root arg

* Rename web-root to front-end-root

* Add test on non-exist version number

* Use repo owner/name to replace hard coded provider list

* Inline cmd args

* nit

* Fix unit test
2024-07-16 11:26:11 -04:00