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
tests.js became quite huge over time and gets bigger with every new specification added.
To make it easier to find the tests for a spec., add new ones, and avoid conflicts between edits, the test.js file should be split up into individual files. Each spec. should be placed in its own file and be included in index.html.
Sebastian
The text was updated successfully, but these errors were encountered:
I agree splitting the tests into several files, possibly ES modules, would be useful to make maintainance easier.
This would also heavily increase the number of requests made to load all the tests, but also to incrementally load them by importing them dynamically without waiting for the whole testbase to be fetched and parsed.
So the impact on performance have to be considered.
I was also thinking about converting the tests to one or multiple JSON files, so i opened #224 for discussing that, but a current limitation is that they could not be imported statically.
tests.js became quite huge over time and gets bigger with every new specification added.
To make it easier to find the tests for a spec., add new ones, and avoid conflicts between edits, the test.js file should be split up into individual files. Each spec. should be placed in its own file and be included in index.html.
Sebastian
The text was updated successfully, but these errors were encountered: