Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speed up update-db tests #23

Open
ialarmedalien opened this issue Dec 1, 2020 · 3 comments
Open

Speed up update-db tests #23

ialarmedalien opened this issue Dec 1, 2020 · 3 comments

Comments

@ialarmedalien
Copy link

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.

@ai
Copy link
Member

ai commented Dec 1, 2020

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).

@ialarmedalien
Copy link
Author

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?

@ai
Copy link
Member

ai commented Dec 1, 2020

I think it will be better to use real dependencies

@ai ai transferred this issue from browserslist/browserslist Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants