masakudamatsu / line-height-picker

A front-end web app that helps web designers/developers pick the best line-height value for their websites
https://line-height-picker.vercel.app
MIT License
2 stars 1 forks source link

Use the same function for generating CSS values in the E2E tests #182

Open masakudamatsu opened 4 years ago

masakudamatsu commented 4 years ago

Currently, the e2e tests use their own functions in cypress/support/utils.js to obtain the CSS values from user input values.

This is not efficient. When we need to change a function, we need to change both. We should import those functions from src/helper/CSSgenerators.js.