twentyhq / twenty

Building a modern alternative to Salesforce, powered by the community.
https://twenty.com
GNU Affero General Public License v3.0
14.99k stars 1.47k forks source link

Write tests for Chrome Extension #4045

Open FelixMalfait opened 4 months ago

FelixMalfait commented 4 months ago

Followup of https://github.com/twentyhq/twenty/pull/3430

As of now we didn't write any test. Would be nice to have some basic coverage

teyim commented 4 months ago

hi @FelixMalfait , would like to take this up. whats the scope of the test we are looking at?

FelixMalfait commented 4 months ago

Hey @teyim thanks a lot! I think we can start with very basic coverage. Maybe save a LinkedIn profile and a LinkedIn company page as html files in a test folder. And write one or two basic test for each to check the parsing works correctly? We use Jest for testing in twenty-front, we should also use it in the chrome extension.

Feel free to create what you feel would be useful!