I have a chrome extension which have several .js files added as "content_scripts". All content_script file communicate with each other and have functions which modify the content of the page on which it is used.
I would like to know how to write tests for the functions defined in the content_script files. Do you have any example setup showing similar scenario?
I have a chrome extension which have several .js files added as "content_scripts". All content_script file communicate with each other and have functions which modify the content of the page on which it is used.
I would like to know how to write tests for the functions defined in the content_script files. Do you have any example setup showing similar scenario?