You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How do I write unit test for the validate() function ? As per the official Polymer documentation, web component tester is the way to write tests. Now, I have some other Polymer components as well in my project folder which are written in the Polymer 2.x syntax, and we have written unit tests for them using mocha and chai and web test runner. Will it be wise to combine web component tester with web-test-runner ? Is web component tester still being used today ?
I have tried importing the html file inside the test file, and also tried to access the dom-module by id, but none of these worked.
The text was updated successfully, but these errors were encountered:
Hi ,
I have a polymer 1.x component written in a .html file,
How do I write unit test for the validate() function ? As per the official Polymer documentation, web component tester is the way to write tests. Now, I have some other Polymer components as well in my project folder which are written in the Polymer 2.x syntax, and we have written unit tests for them using mocha and chai and web test runner. Will it be wise to combine web component tester with web-test-runner ? Is web component tester still being used today ?
I have tried importing the html file inside the test file, and also tried to access the dom-module by id, but none of these worked.
The text was updated successfully, but these errors were encountered: