- 
                Notifications
    You must be signed in to change notification settings 
- Fork 74
Description
When you paste some JSON in the importer, the isValid function is evaluated on the input to see if we can detect the parser for the pasted data. The amount of parsers is slowly growing and it is annoying to have collisions in detection of the parser. Furthermore, manual testing becomes quite tedious since we do not have all the test inputs somewhere documented.
I think it is best to create a few unit tests to have an easy and documented way of testing the parsers and their isValid method. Here we can make sure that there won't be any collision in inferring the parser and that all parsers work correctly.
Probably we can add Jest to the frontend and introduce some unit tests in there? Quasar also has support for Jest: https://testing.quasar.dev/packages/unit-jest/
Through a Github Action we can test these parsers by default on every PR.