-
Notifications
You must be signed in to change notification settings - Fork 0
React testing capabilities #20
base: develop
Are you sure you want to change the base?
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
React testing now works for both user UI and admin UI. Any proper tests hasn't been written yet but the functionality is now there. |
Has some compiling issues now when running the website, seems to be babel related but unsure of a fix yet. The site technically seems to work still with the issue but would be better if there wasn't a compiling issue in the first place. EDIT: NPM install isn't having a good time either, so definitely do not merge. |
Some of the modules that are installed in this repo are probably too up-to-date, which is causing issues when doing a fresh npm install or running the website generally, tried downgrading but had no luck personally but if find appropriate versions or a workaround generally then Jest generally seems to be working fine and Unit tests can be then written for the React sites. Alternatively, E2E testing can be implemented, which typically is easier to get run on older software as not dependent on React for example being x version and can test the user flow better. |
No description provided.