aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests (follow)
Commit message (Collapse)AuthorAgeLines
* Remove unused testsGravatar Joe Banks2025-08-08-7/+0
|
* Unit tests for Navigation componentGravatar Joe Banks2024-07-10-0/+48
|
* Add new test suite for testing authorization splashGravatar Joe Banks2024-07-10-0/+62
|
* Update App test to render with Redux storeGravatar Joe Banks2024-07-10-2/+3
|
* Add new testing utility for rendering with Redux storesGravatar Joe Banks2024-07-10-0/+36
|
* Update tests to work with new Jest versionGravatar Joe Banks2024-07-10-2/+0
|
* Update test to reflect new greenGravatar Joe Banks2024-07-03-1/+1
|
* Update tests with new OAuth2 message parametersGravatar Joe Banks2024-07-03-1/+2
|
* Simplify Navigation ComponentGravatar Hassan Abouelela2022-07-19-2/+2
| | | | | | | Extract the styles from the navigation component to common styles, and convert it to a function component. Signed-off-by: Hassan Abouelela <[email protected]>
* Fix Failing jest.spyOnGravatar Hassan Abouelela2022-07-14-1/+5
| | | | | | | | | | | Version 1.2.206 of swc introduces a breaking change which makes jest.spyOn not work with our configuration. The response from the swc maintainer seems like a complete mess, so I won't touch it, and just use something else. See issue 5059 on https://github.com/swc-project/swc/issues Signed-off-by: Hassan Abouelela <[email protected]>
* Wrap Tests In ActGravatar Hassan Abouelela2022-07-14-31/+32
| | | | | | Wrap the tests that were raising warnings in act statements. Signed-off-by: Hassan Abouelela <[email protected]>
* Restructure FormPageGravatar Hassan Abouelela2022-07-01-1/+1
| | | | | | | | | | | | | The main FormPage component had gotten very out of hand, with many moving parts that were hard to parse, understand, or modify. This refactors breaks things up into separate files with better defined goals. Most changes are just straight copies without much change, however some structural changes have been introduced as a foundation for improving the app. Signed-off-by: Hassan Abouelela <[email protected]>
* Bump React To 18.2.0Gravatar Hassan Abouelela2022-06-18-28/+21
| | | | | | | | | | | | Bump react to v18, and handle all the breaking changes. This includes bumping a lot of other dependencies to versions which support react 18, and handling the breaking changes for those. Refer to the following documents for migration guides: React: https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html Router: https://reactrouter.com/docs/en/v6/upgrading/v5 Signed-off-by: Hassan Abouelela <[email protected]>
* Remove Jest SVG TransformerGravatar Hassan Abouelela2022-06-18-0/+4
| | | | | | | | | The current SVG transformer has not had an update in 4 years, and breaks with the latest jest version. The behavior can be very easily replicated by hand, as is documented by SVGR, the library we are already using in webpack. Signed-off-by: Hassan Abouelela <[email protected]>
* Skip one of the FormPage tests that throws errorsGravatar Joe Banks2021-12-24-1/+2
|
* Merge branch 'main' into discord-oauthGravatar Hassan Abouelela2021-02-20-3/+6
|\ | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]> # Conflicts: # package.json # src/commonStyles.tsx # src/pages/FormPage.tsx
| * Adds Missing Fields To Test ModelsGravatar Hassan Abouelela2021-02-19-3/+6
| | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
* | Cleans Up OAuth ButtonGravatar Hassan Abouelela2021-02-13-1/+1
| | | | | | | | | | | | | | Removes OAuth button from home page, and redesigns it. Uses new authorization functionality in auth. Signed-off-by: Hassan Abouelela <[email protected]>
* | Adds Basic Auth FunctionalityGravatar Hassan Abouelela2021-02-13-8/+7
|/ | | | | | | | Moves all authorization functionality to a new file, and adds a helper to send discord OAuth code to the backend, and set JWT. Adds a library to read and set cookies. Signed-off-by: Hassan Abouelela <[email protected]>
* Cleans Up Some WarningsGravatar Hassan Abouelela2021-01-26-4/+12
| | | | | | Makes slight modifications to handle some minor warnings. Signed-off-by: Hassan Abouelela <[email protected]>
* Breaks Up CSS Into ComponentsGravatar Hassan Abouelela2021-01-06-1/+1
| | | | | | | | Moves the styles from the CSS file, into emotion CSS in each component's file to make navigation easier, and keep CSS and JSX together.Drops raw-loader dependency. Signed-off-by: Hassan Abouelela <[email protected]>
* Updates HeaderBarGravatar Hassan Abouelela2021-01-04-2/+21
| | | | | | | | Changes header bar component to accept a description, and render it properly on different screens. Additionally adds a button to return to the home page. Updates tests. Signed-off-by: Hassan Abouelela <[email protected]>
* Updates ModelsGravatar Hassan Abouelela2021-01-04-6/+12
| | | | | | Changes the models to match the backend. Signed-off-by: Hassan Abouelela <[email protected]>
* Fixes Preexisting Linting IssuesGravatar Hassan Abouelela2021-01-03-59/+59
| | | | | | | Fixes all errors, and most warnings generated by eslint. Most were fixed by eslint automatically such as indentation and quotes. Signed-off-by: Hassan Abouelela <[email protected]>
* Update tests to match with changes in discoveryGravatar ks1292020-12-14-12/+46
|
* Add many new testsGravatar Joe Banks2020-10-12-2/+93
|
* Fix testsGravatar Joe Banks2020-10-12-0/+4
|
* Update header test to include custom titlesGravatar Joe Banks2020-10-05-0/+7
|
* Update form listing tests with new typesGravatar Joe Banks2020-10-05-3/+5
|
* Update tests with new FormListing propsGravatar Joe Banks2020-09-30-4/+17
|
* Update tests to match new form listing componentGravatar Joe Banks2020-09-29-6/+8
|
* Add initial testsGravatar Joe Banks2020-09-28-0/+83