summaryrefslogtreecommitdiffstats
path: root/webapp/tests/formatting_hashtags.test.jsx
Commit message (Collapse)AuthorAgeFilesLines
* PLT-5755: Infrastructure for Component Testing. (#5814)George Goldberg2017-03-231-202/+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.
* PLT-5913: Remove id from heading markdown compilation (#5782)VeraLyu2017-03-231-1/+1
| | | | | Id for heading markdown is unnecessary as we didn't attach any style/effect on that id, and it also introduce duplicate id. So remove it from heading markdown generatiing.
* Added unit tests for mentions inside of hashtags (#5577)Harrison Healey2017-03-021-0/+45
|
* PLT-2077 Support CJK hashtags (#4555)Hyeseong Kim2016-11-241-6/+0
| | | | | | | | | | | | | | | | | | * Add Korean character ranges to exist CJK pattern * Add constant for CJK hashtags Becuase most of keywords in CJK are two characters * Add CJK ranges to hashtag pattern to handle it. * Fixes hashtag pattern to apply numbers at last * Remove a wrong test case `test_` shouldn't be a hashtag * Fix hashtag regex to support standard unicodes * Remove wrong escapes from regex
* PLT-4096 Fixed highlighting of hashtags in search (#4043)Harrison Healey2016-09-201-0/+163
* PLT-4096 Fixed highlighting of hashtags in search * Added unit tests for hashtag rendering on the client