2 ms·
I don’t know if it is that GUIs hate tests or that tests hate UIs but either way it means UI code is hard to test. The trouble is that a UI element usually cal
by PaulHoule 3y ago
I don’t know if it is that GUIs hate tests or that tests hate UIs but either way it means UI code is hard to test.
The trouble is that a UI element usually calls the framework and gets called by the framework so you wind up needing mocks and such. Or you have something like React which is just batshit crazy (e.g. do I wait until the component renders 7321 times or 7322 times before I can check that it is in the state it is supposed to be in?)
- cyanydeez 3y agoI've found arrivejs to be magic for all things html async. it triggers on any selector.