Front End Testing

Issue #168 new
Throw Away created an issue

Hi I have been looking into front end testing and would like to know how atlasboard front end can be unit tested. As the widget files cannot be exported for testing etc (whereas job files can).

I would like to know what front end testing frameworks can be used here to test the widget .js file and .html file, as so far I have been unsuccessful.

Comments (2)

  1. matt333

    Hi i have been trying to use jest to do this, and have also been unsuccessful in front end unit testing. Any help/advice would be appreciated,

    Thanks

  2. James W. Lane

    I have some minor success testing widgets with jest.

    It was a mostly a hack, I been able to set up the dom globally and fs read and parse the file and then test the dom after. I am working on improving the testing process by building a utility to allow for better testing with Jest.

  3. Log in to comment