Page MenuHomePhabricator

[web] Add webMentionTypeaheadRegex tests
ClosedPublic

Authored by patryk on Aug 31 2023, 2:49 PM.
Tags
None
Referenced Files
F5111454: D9057.diff
Wed, Apr 2, 4:11 AM
Unknown Object (File)
Mon, Mar 17, 3:22 AM
Unknown Object (File)
Mon, Mar 17, 3:21 AM
Unknown Object (File)
Sat, Mar 15, 8:35 PM
Unknown Object (File)
Fri, Mar 7, 5:08 PM
Unknown Object (File)
Feb 25 2025, 3:32 PM
Unknown Object (File)
Feb 25 2025, 7:30 AM
Unknown Object (File)
Feb 25 2025, 7:30 AM
Subscribers

Details

Summary

This diff adds webMentionTypeaheadRegex regex unit tests to typeahead-utils.test.js.

Depends on D9056.

Test Plan

Run yarn test in web folder and check if all tests pass.

Diff Detail

Repository
rCOMM Comm
Branch
patryk/chat-mentioning-2
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

patryk held this revision as a draft.
patryk edited the test plan for this revision. (Show Details)
patryk added reviewers: tomek, inka, rohan.
This revision is now accepted and ready to land.Sep 22 2023, 6:45 AM

You could remove the text field and just do textPrefix + mentionText