update-db icon indicating copy to clipboard operation
update-db copied to clipboard

Speed up `update-db` tests

Open ialarmedalien opened this issue 4 years ago • 3 comments

The update-db tests use repos with quite a few dependencies (autoprefixer, postcss-*...). The tests could run more quickly if some less dependency-heavy repos were used -- e.g. caniuse-on-user-agent, caniuse-support, caniuse-api, browserslist-ga. Alternatively, if you want to keep everything "in house", create some npm packages with a bare minimum of content and dependencies (including caniuse-lite) and use those.

ialarmedalien avatar Dec 01 '20 02:12 ialarmedalien

I agree. It is a good idea. You can add it to your PR (Sorry, I will not be able to review your PR today).

ai avatar Dec 01 '20 02:12 ai

No problem on not reviewing the PR today. Do you have a preference for which strategy is used -- existing repos vs create testing use only npm modules?

ialarmedalien avatar Dec 01 '20 14:12 ialarmedalien

I think it will be better to use real dependencies

ai avatar Dec 01 '20 15:12 ai