nonzzz / vite-plugin-compression

vite plugin. compress your bundle file.
MIT License
171 stars 10 forks source link

Chore(e2e): add e2e test for compression plugiin #29

Closed nonzzz closed 1 year ago

nonzzz commented 1 year ago

Background

We should provide the e2e test for simulate the real scene.Becasue in past we using unit test. But i find when user uing the dynamic resouce. the last bundle info may be error. It's hard to positioning problem. So we add the e2e test to help resolve.

nonzzz commented 1 year ago

Why not test node14? Because the minimum requirement of vite3 is 16

codecov[bot] commented 1 year ago

Codecov Report

Merging #29 (3af58aa) into master (ad12b68) will not change coverage. The diff coverage is n/a.

Additional details and impacted files [![Impacted file tree graph](https://codecov.io/gh/nonzzz/vite-compression-plugin/pull/29/graphs/tree.svg?width=650&height=150&src=pr&token=NG4475OP6B&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kanno)](https://codecov.io/gh/nonzzz/vite-compression-plugin/pull/29?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kanno) ```diff @@ Coverage Diff @@ ## master #29 +/- ## ======================================= Coverage 88.74% 88.74% ======================================= Files 3 3 Lines 311 311 Branches 55 55 ======================================= Hits 276 276 Misses 34 34 Partials 1 1 ```