summaryrefslogtreecommitdiffstats
path: root/webapp/tests/formatting_links.test.jsx
Commit message (Collapse)AuthorAgeFilesLines
* PLT-5755: Infrastructure for Component Testing. (#5814)George Goldberg2017-03-231-518/+0
| | | | | | | | | | This migrates the existing webapp tests to using Jest and Enzyme. The infrastructure is put in place for React component testing, and a few simple example component tests are implemented. This also adds snapshot testing of components, coverage checking for the webapp (although that is not yet integrated to Coveralls), and the ability to run npm run test:watch to automatically re-run affected tests when working on the webapp codebase.
* Fix URL parsing when URL has been encoded with escape() (fixes #4322) (#4338)Pierre Rudloff2016-10-261-0/+14
|
* PLT-1752/PLT-3567/PLT-3998 Highlighting links in search, unit tests for ↵Harrison Healey2016-08-291-0/+504
autolinking (#3865) * Added highlighting to links when their URL includes the search term * Decoupling UserStore from react-router to allow for unit tests involving it * PLT-3998 Added SiteURL as an option to be passed into the text formatting code * Removed reference to PreferenceStore and window from TextFormatting * Refactored TextFormatting to remove remaining browser-only code * Updated ChannelHeader and MessageWrapper to match the changes to TextFormatting * Increased max listeners for Preference and Emoji stores * PLT-3832 Added automated unit tests for autolinking * PLT-3567 Rerender posts when mention keywords change * Updated RHS and search to match the changes to TextFormatting * Broke TextFormatting's dependency on the UserStore